Package com.datadog.api.client.v2.model
Class SnowflakeIntegrationAccountPrivateKeyAuthRequest
java.lang.Object
com.datadog.api.client.v2.model.SnowflakeIntegrationAccountPrivateKeyAuthRequest
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SnowflakeIntegrationAccountPrivateKeyAuthRequest
extends Object
RSA key pair authentication, the only method Snowflake integration accounts support. Generate an
RSA key pair and assign the public key to the Snowflake user named in
settings.username
.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSnowflakeIntegrationAccountPrivateKeyAuthRequest(SnowflakeIntegrationAccountPrivateKeyAuthType authType, String privateKey, String privateKeyName) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this SnowflakeIntegrationAccountPrivateKeyAuthRequest object is equal to o.The authentication method type.The private key, in PEM format.Name that distinguishes this private key from other keys in Datadog.Passphrase that decrypts the private key.inthashCode()privateKey(String privateKey) privateKeyName(String privateKeyName) privateKeyPassphrase(String privateKeyPassphrase) voidvoidsetPrivateKey(String privateKey) voidsetPrivateKeyName(String privateKeyName) voidsetPrivateKeyPassphrase(String privateKeyPassphrase) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AUTH_TYPE
- See Also:
-
JSON_PROPERTY_PRIVATE_KEY
- See Also:
-
JSON_PROPERTY_PRIVATE_KEY_NAME
- See Also:
-
JSON_PROPERTY_PRIVATE_KEY_PASSPHRASE
- See Also:
-
-
Constructor Details
-
SnowflakeIntegrationAccountPrivateKeyAuthRequest
public SnowflakeIntegrationAccountPrivateKeyAuthRequest() -
SnowflakeIntegrationAccountPrivateKeyAuthRequest
public SnowflakeIntegrationAccountPrivateKeyAuthRequest(SnowflakeIntegrationAccountPrivateKeyAuthType authType, String privateKey, String privateKeyName)
-
-
Method Details
-
authType
public SnowflakeIntegrationAccountPrivateKeyAuthRequest authType(SnowflakeIntegrationAccountPrivateKeyAuthType authType) -
getAuthType
The authentication method type.- Returns:
- authType
-
setAuthType
-
privateKey
-
getPrivateKey
The private key, in PEM format.- Returns:
- privateKey
-
setPrivateKey
-
privateKeyName
-
getPrivateKeyName
Name that distinguishes this private key from other keys in Datadog.- Returns:
- privateKeyName
-
setPrivateKeyName
-
privateKeyPassphrase
public SnowflakeIntegrationAccountPrivateKeyAuthRequest privateKeyPassphrase(String privateKeyPassphrase) -
getPrivateKeyPassphrase
Passphrase that decrypts the private key. Provide it only when the key is encrypted.- Returns:
- privateKeyPassphrase
-
setPrivateKeyPassphrase
-
equals
Return true if this SnowflakeIntegrationAccountPrivateKeyAuthRequest object is equal to o. -
hashCode
public int hashCode() -
toString
-