AwsCredsAuthenticationDetailsProperties Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. AuthenticationDetailsProperties - com.
azure. resourcemanager. security. models. AwsCredsAuthenticationDetailsProperties
- com.
- com.
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 Creating an IAM User in Your AWS Account (write only).
Constructor Summary
Constructor | Description |
---|---|
AwsCredsAuthenticationDetailsProperties() |
Creates an instance of Aws |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
accountId()
Get the account |
String |
awsAccessKeyId()
Get the aws |
String |
awsSecretAccessKey()
Get the aws |
void |
validate()
Validates the instance. |
Aws |
withAwsAccessKeyId(String awsAccessKeyId)
Set the aws |
Aws |
withAwsSecretAccessKey(String awsSecretAccessKey)
Set the aws |
Methods inherited from AuthenticationDetailsProperties
Methods inherited from java.lang.Object
Constructor Details
AwsCredsAuthenticationDetailsProperties
public AwsCredsAuthenticationDetailsProperties()
Creates an instance of AwsCredsAuthenticationDetailsProperties class.
Method Details
accountId
public String accountId()
Get the accountId property: The ID of the cloud account.
Returns:
awsAccessKeyId
public String awsAccessKeyId()
Get the awsAccessKeyId property: Public key element of the AWS credential object (write only).
Returns:
awsSecretAccessKey
public String awsSecretAccessKey()
Get the awsSecretAccessKey property: Secret key element of the AWS credential object (write only).
Returns:
validate
public void validate()
Validates the instance.
Overrides:
AwsCredsAuthenticationDetailsProperties.validate()withAwsAccessKeyId
public AwsCredsAuthenticationDetailsProperties withAwsAccessKeyId(String awsAccessKeyId)
Set the awsAccessKeyId property: Public key element of the AWS credential object (write only).
Parameters:
Returns:
withAwsSecretAccessKey
public AwsCredsAuthenticationDetailsProperties withAwsSecretAccessKey(String awsSecretAccessKey)
Set the awsSecretAccessKey property: Secret key element of the AWS credential object (write only).
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for