Class AWSCredentials
java.lang.Object
org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.AWSCredentials
Credentials for accessing storage on AWS. Maps to AwsCredentials.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the access key ID that identifies the temporary credentials.Return the secret access key that can be used to sign AWS API requests.Return the token that users must pass to AWS API to use the temporary credentials.int
hashCode()
Return hash code based on properties.void
setAccess_key_id
(String access_key_id) Set up the access key ID that identifies the temporary credentials.void
setSecret_access_key
(String secret_access_key) Set up the secret access key that can be used to sign AWS API requests.void
setSession_token
(String session_token) Set up the token that users must pass to AWS API to use the temporary credentials.toString()
Standard toString method.
-
Constructor Details
-
AWSCredentials
public AWSCredentials()Constructor
-
-
Method Details
-
getAccess_key_id
Return the access key ID that identifies the temporary credentials.- Returns:
- string
-
setAccess_key_id
Set up the access key ID that identifies the temporary credentials.- Parameters:
access_key_id
- string
-
getSecret_access_key
Return the secret access key that can be used to sign AWS API requests.- Returns:
- string
-
setSecret_access_key
Set up the secret access key that can be used to sign AWS API requests.- Parameters:
secret_access_key
- string
-
getSession_token
Return the token that users must pass to AWS API to use the temporary credentials.- Returns:
- string p
-
setSession_token
Set up the token that users must pass to AWS API to use the temporary credentials.- Parameters:
session_token
- string
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-