java.lang.Object
org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.AWSCredentials

public class AWSCredentials extends Object
Credentials for accessing storage on AWS. Maps to AwsCredentials.
  • Constructor Details

    • AWSCredentials

      public AWSCredentials()
      Constructor
  • Method Details

    • getAccess_key_id

      public String getAccess_key_id()
      Return the access key ID that identifies the temporary credentials.
      Returns:
      string
    • setAccess_key_id

      public void setAccess_key_id(String access_key_id)
      Set up the access key ID that identifies the temporary credentials.
      Parameters:
      access_key_id - string
    • getSecret_access_key

      public String getSecret_access_key()
      Return the secret access key that can be used to sign AWS API requests.
      Returns:
      string
    • setSecret_access_key

      public void setSecret_access_key(String secret_access_key)
      Set up the secret access key that can be used to sign AWS API requests.
      Parameters:
      secret_access_key - string
    • getSession_token

      public String getSession_token()
      Return the token that users must pass to AWS API to use the temporary credentials.
      Returns:
      string p
    • setSession_token

      public void setSession_token(String session_token)
      Set up the token that users must pass to AWS API to use the temporary credentials.
      Parameters:
      session_token - string
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Object
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class Object
      Returns:
      int