AwAssumeRoleAuthenticationDetailsProperties Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. AuthenticationDetailsProperties - com.
azure. resourcemanager. security. models. AwAssumeRoleAuthenticationDetailsProperties
- com.
- com.
public final class AwAssumeRoleAuthenticationDetailsProperties
extends AuthenticationDetailsProperties
AWS cloud account connector based assume role, the role enables delegating access to your AWS resources. The role is composed of role Amazon Resource Name (ARN) and external ID. For more details, refer to Creating a Role to Delegate Permissions to an IAM User (write only).
Constructor Summary
Constructor | Description |
---|---|
AwAssumeRoleAuthenticationDetailsProperties() |
Creates an instance of Aw |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
accountId()
Get the account |
String |
awsAssumeRoleArn()
Get the aws |
String |
awsExternalId()
Get the aws |
void |
validate()
Validates the instance. |
Aw |
withAwsAssumeRoleArn(String awsAssumeRoleArn)
Set the aws |
Aw |
withAwsExternalId(String awsExternalId)
Set the aws |
Methods inherited from AuthenticationDetailsProperties
Methods inherited from java.lang.Object
Constructor Details
AwAssumeRoleAuthenticationDetailsProperties
public AwAssumeRoleAuthenticationDetailsProperties()
Creates an instance of AwAssumeRoleAuthenticationDetailsProperties class.
Method Details
accountId
public String accountId()
Get the accountId property: The ID of the cloud account.
Returns:
awsAssumeRoleArn
public String awsAssumeRoleArn()
Get the awsAssumeRoleArn property: Assumed role ID is an identifier that you can use to create temporary security credentials.
Returns:
awsExternalId
public String awsExternalId()
Get the awsExternalId property: A unique identifier that is required when you assume a role in another account.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
AwAssumeRoleAuthenticationDetailsProperties.validate()withAwsAssumeRoleArn
public AwAssumeRoleAuthenticationDetailsProperties withAwsAssumeRoleArn(String awsAssumeRoleArn)
Set the awsAssumeRoleArn property: Assumed role ID is an identifier that you can use to create temporary security credentials.
Parameters:
Returns:
withAwsExternalId
public AwAssumeRoleAuthenticationDetailsProperties withAwsExternalId(String awsExternalId)
Set the awsExternalId property: A unique identifier that is required when you assume a role in another account.
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