Interface CrossAccountRole.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CrossAccountRole.Builder,,CrossAccountRole> SdkBuilder<CrossAccountRole.Builder,,CrossAccountRole> SdkPojo
- Enclosing class:
CrossAccountRole
@Mutable
@NotThreadSafe
public static interface CrossAccountRole.Builder
extends SdkPojo, CopyableBuilder<CrossAccountRole.Builder,CrossAccountRole>
-
Method Summary
Modifier and TypeMethodDescriptioncrossAccountRoleArn(String crossAccountRoleArn) Sets the value of the CrossAccountRoleArn property for this object.externalId(String externalId) The external ID used for assuming the cross-account role.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
-
crossAccountRoleArn
Sets the value of the CrossAccountRoleArn property for this object.- Parameters:
crossAccountRoleArn- The new value for the CrossAccountRoleArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalId
The external ID used for assuming the cross-account role.
- Parameters:
externalId- The external ID used for assuming the cross-account role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-