Interface ObjectStorageFederatedIdentityConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ObjectStorageFederatedIdentityConfig.Builder,,ObjectStorageFederatedIdentityConfig> SdkBuilder<ObjectStorageFederatedIdentityConfig.Builder,,ObjectStorageFederatedIdentityConfig> SdkPojo
- Enclosing class:
ObjectStorageFederatedIdentityConfig
@Mutable
@NotThreadSafe
public static interface ObjectStorageFederatedIdentityConfig.Builder
extends SdkPojo, CopyableBuilder<ObjectStorageFederatedIdentityConfig.Builder,ObjectStorageFederatedIdentityConfig>
-
Method Summary
Modifier and TypeMethodDescriptionawsIamRole(String awsIamRole) Specifies the ARN for an Amazon Web Services role that allows DataSync to invoke STS GetWebIdentityToken API on behalf of the customer account and to obtain Amazon Web Services STS JWT (web token).externalIdentity(Consumer<ObjectStorageExternalIdentityConfig.Builder> externalIdentity) Specifies cloud-provider-specific external identity parameters used when exchanging the Amazon Web Services web token for an OpenID Connect token at the object storage provider.externalIdentity(ObjectStorageExternalIdentityConfig externalIdentity) Specifies cloud-provider-specific external identity parameters used when exchanging the Amazon Web Services web token for an OpenID Connect token at the object storage provider.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
awsIamRole
Specifies the ARN for an Amazon Web Services role that allows DataSync to invoke STS GetWebIdentityToken API on behalf of the customer account and to obtain Amazon Web Services STS JWT (web token).
- Parameters:
awsIamRole- Specifies the ARN for an Amazon Web Services role that allows DataSync to invoke STS GetWebIdentityToken API on behalf of the customer account and to obtain Amazon Web Services STS JWT (web token).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalIdentity
ObjectStorageFederatedIdentityConfig.Builder externalIdentity(ObjectStorageExternalIdentityConfig externalIdentity) Specifies cloud-provider-specific external identity parameters used when exchanging the Amazon Web Services web token for an OpenID Connect token at the object storage provider.
- Parameters:
externalIdentity- Specifies cloud-provider-specific external identity parameters used when exchanging the Amazon Web Services web token for an OpenID Connect token at the object storage provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalIdentity
default ObjectStorageFederatedIdentityConfig.Builder externalIdentity(Consumer<ObjectStorageExternalIdentityConfig.Builder> externalIdentity) Specifies cloud-provider-specific external identity parameters used when exchanging the Amazon Web Services web token for an OpenID Connect token at the object storage provider.
This is a convenience method that creates an instance of theObjectStorageExternalIdentityConfig.Builderavoiding the need to create one manually viaObjectStorageExternalIdentityConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexternalIdentity(ObjectStorageExternalIdentityConfig).- Parameters:
externalIdentity- a consumer that will call methods onObjectStorageExternalIdentityConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-