Interface AccountConstraint.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AccountConstraint.Builder,,AccountConstraint> SdkBuilder<AccountConstraint.Builder,,AccountConstraint> SdkPojo
- Enclosing class:
AccountConstraint
@Mutable
@NotThreadSafe
public static interface AccountConstraint.Builder
extends SdkPojo, CopyableBuilder<AccountConstraint.Builder,AccountConstraint>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AccountConstraint.BuilderdelegatedAdmin(Consumer<DelegatedAdminConstraint.Builder> delegatedAdmin) Sets the value of the DelegatedAdmin property for this object.delegatedAdmin(DelegatedAdminConstraint delegatedAdmin) Sets the value of the DelegatedAdmin property for this object.default AccountConstraint.BuildermanagementAccount(Consumer<ManagementAccountConstraint.Builder> managementAccount) Sets the value of the ManagementAccount property for this object.managementAccount(ManagementAccountConstraint managementAccount) Sets the value of the ManagementAccount property for this object.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
-
managementAccount
Sets the value of the ManagementAccount property for this object.- Parameters:
managementAccount- The new value for the ManagementAccount property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managementAccount
default AccountConstraint.Builder managementAccount(Consumer<ManagementAccountConstraint.Builder> managementAccount) Sets the value of the ManagementAccount property for this object. This is a convenience method that creates an instance of theManagementAccountConstraint.Builderavoiding the need to create one manually viaManagementAccountConstraint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomanagementAccount(ManagementAccountConstraint).- Parameters:
managementAccount- a consumer that will call methods onManagementAccountConstraint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
delegatedAdmin
Sets the value of the DelegatedAdmin property for this object.- Parameters:
delegatedAdmin- The new value for the DelegatedAdmin property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
delegatedAdmin
default AccountConstraint.Builder delegatedAdmin(Consumer<DelegatedAdminConstraint.Builder> delegatedAdmin) Sets the value of the DelegatedAdmin property for this object. This is a convenience method that creates an instance of theDelegatedAdminConstraint.Builderavoiding the need to create one manually viaDelegatedAdminConstraint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todelegatedAdmin(DelegatedAdminConstraint).- Parameters:
delegatedAdmin- a consumer that will call methods onDelegatedAdminConstraint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-