AwsCredsAuthenticationDetailsProperties Class

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 AwsCredsAuthenticationDetailsProperties class.

Method Summary

Modifier and Type Method and Description
String accountId()

Get the accountId property: The ID of the cloud account.

String awsAccessKeyId()

Get the awsAccessKeyId property: Public key element of the AWS credential object (write only).

String awsSecretAccessKey()

Get the awsSecretAccessKey property: Secret key element of the AWS credential object (write only).

void validate()

Validates the instance.

AwsCredsAuthenticationDetailsProperties withAwsAccessKeyId(String awsAccessKeyId)

Set the awsAccessKeyId property: Public key element of the AWS credential object (write only).

AwsCredsAuthenticationDetailsProperties withAwsSecretAccessKey(String awsSecretAccessKey)

Set the awsSecretAccessKey property: Secret key element of the AWS credential object (write only).

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:

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.

awsSecretAccessKey

public String awsSecretAccessKey()

Get the awsSecretAccessKey property: Secret key element of the AWS credential object (write only).

Returns:

the awsSecretAccessKey value.

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:

awsAccessKeyId - the awsAccessKeyId value to set.

Returns:

the AwsCredsAuthenticationDetailsProperties object itself.

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.

Applies to