Class AwsCredsAuthenticationDetailsProperties

java.lang.Object
com.azure.resourcemanager.security.models.AuthenticationDetailsProperties
com.azure.resourcemanager.security.models.AwsCredsAuthenticationDetailsProperties

public final class AwsCredsAuthenticationDetailsProperties extends AuthenticationDetailsProperties
AWS cloud account connector based credentials, the credentials is composed of access key ID and secret key, for more details, refer to <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_users_create.html">Creating an IAM User in Your AWS Account (write only)</a>.
  • Constructor Details

    • AwsCredsAuthenticationDetailsProperties

      public AwsCredsAuthenticationDetailsProperties()
  • Method Details

    • accountId

      public String accountId()
      Get the accountId property: The ID of the cloud account.
      Returns:
      the accountId value.
    • awsAccessKeyId

      public String awsAccessKeyId()
      Get the awsAccessKeyId property: Public key element of the AWS credential object (write only).
      Returns:
      the awsAccessKeyId value.
    • withAwsAccessKeyId

      public AwsCredsAuthenticationDetailsProperties withAwsAccessKeyId(String awsAccessKeyId)
      Set the awsAccessKeyId property: Public key element of the AWS credential object (write only).
      Parameters:
      awsAccessKeyId - the awsAccessKeyId value to set.
      Returns:
      the AwsCredsAuthenticationDetailsProperties object itself.
    • awsSecretAccessKey

      public String awsSecretAccessKey()
      Get the awsSecretAccessKey property: Secret key element of the AWS credential object (write only).
      Returns:
      the awsSecretAccessKey value.
    • withAwsSecretAccessKey

      public AwsCredsAuthenticationDetailsProperties withAwsSecretAccessKey(String awsSecretAccessKey)
      Set the awsSecretAccessKey property: Secret key element of the AWS credential object (write only).
      Parameters:
      awsSecretAccessKey - the awsSecretAccessKey value to set.
      Returns:
      the AwsCredsAuthenticationDetailsProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class AuthenticationDetailsProperties
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.