Interface AccessConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AccessConfig.Builder,,AccessConfig> SdkBuilder<AccessConfig.Builder,,AccessConfig> SdkPojo
- Enclosing class:
AccessConfig
@Mutable
@NotThreadSafe
public static interface AccessConfig.Builder
extends SdkPojo, CopyableBuilder<AccessConfig.Builder,AccessConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AccessConfig.BuilderiamRole(Consumer<IamRoleAccess.Builder> iamRole) Assume-role access.iamRole(IamRoleAccess iamRole) Assume-role access.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
-
iamRole
Assume-role access. The service assumes
roleArnto read the connection's data source.- Parameters:
iamRole- Assume-role access. The service assumesroleArnto read the connection's data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamRole
Assume-role access. The service assumes
This is a convenience method that creates an instance of theroleArnto read the connection's data source.IamRoleAccess.Builderavoiding the need to create one manually viaIamRoleAccess.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toiamRole(IamRoleAccess).- Parameters:
iamRole- a consumer that will call methods onIamRoleAccess.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-