Class CfnLocationObjectStorage.ObjectStorageFederatedIdentityConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.datasync.CfnLocationObjectStorage.ObjectStorageFederatedIdentityConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocationObjectStorage.ObjectStorageFederatedIdentityConfigProperty>
- Enclosing interface:
CfnLocationObjectStorage.ObjectStorageFederatedIdentityConfigProperty
@Stability(Stable)
public static final class CfnLocationObjectStorage.ObjectStorageFederatedIdentityConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLocationObjectStorage.ObjectStorageFederatedIdentityConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsIamRole(String awsIamRole) build()Builds the configured instance.externalIdentity(IResolvable externalIdentity)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsIamRole
@Stability(Stable) public CfnLocationObjectStorage.ObjectStorageFederatedIdentityConfigProperty.Builder awsIamRole(String awsIamRole) Sets the value ofCfnLocationObjectStorage.ObjectStorageFederatedIdentityConfigProperty.getAwsIamRole()- Parameters:
awsIamRole- Specifies the ARN of the AWS Identity and Access Management (IAM) role that DataSync assumes to mint the OIDC token used to authenticate with the identity provider.- Returns:
this
-
externalIdentity
@Stability(Stable) public CfnLocationObjectStorage.ObjectStorageFederatedIdentityConfigProperty.Builder externalIdentity(IResolvable externalIdentity) Sets the value ofCfnLocationObjectStorage.ObjectStorageFederatedIdentityConfigProperty.getExternalIdentity()- Parameters:
externalIdentity- Specifies the external (non-AWS) identity provider that DataSync federates with to access your object storage location.- Returns:
this
-
externalIdentity
@Stability(Stable) public CfnLocationObjectStorage.ObjectStorageFederatedIdentityConfigProperty.Builder externalIdentity(CfnLocationObjectStorage.ObjectStorageExternalIdentityConfigProperty externalIdentity) Sets the value ofCfnLocationObjectStorage.ObjectStorageFederatedIdentityConfigProperty.getExternalIdentity()- Parameters:
externalIdentity- Specifies the external (non-AWS) identity provider that DataSync federates with to access your object storage location.- Returns:
this
-
build
@Stability(Stable) public CfnLocationObjectStorage.ObjectStorageFederatedIdentityConfigProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLocationObjectStorage.ObjectStorageFederatedIdentityConfigProperty>- Returns:
- a new instance of
CfnLocationObjectStorage.ObjectStorageFederatedIdentityConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-