Interface GeneralAuthorizationUpdate.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GeneralAuthorizationUpdate.Builder,,GeneralAuthorizationUpdate> SdkBuilder<GeneralAuthorizationUpdate.Builder,,GeneralAuthorizationUpdate> SdkPojo
- Enclosing class:
GeneralAuthorizationUpdate
@Mutable
@NotThreadSafe
public static interface GeneralAuthorizationUpdate.Builder
extends SdkPojo, CopyableBuilder<GeneralAuthorizationUpdate.Builder,GeneralAuthorizationUpdate>
-
Method Summary
Modifier and TypeMethodDescriptionauthMaterialsToAdd(Collection<AuthMaterial> authMaterialsToAdd) The authorization materials to add.authMaterialsToAdd(Consumer<AuthMaterial.Builder>... authMaterialsToAdd) The authorization materials to add.authMaterialsToAdd(AuthMaterial... authMaterialsToAdd) The authorization materials to add.authMaterialsToUpdate(Collection<AuthMaterial> authMaterialsToUpdate) The authorization materials to update.authMaterialsToUpdate(Consumer<AuthMaterial.Builder>... authMaterialsToUpdate) The authorization materials to update.authMaterialsToUpdate(AuthMaterial... authMaterialsToUpdate) The authorization materials to update.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
-
authMaterialsToAdd
The authorization materials to add.
- Parameters:
authMaterialsToAdd- The authorization materials to add.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authMaterialsToAdd
The authorization materials to add.
- Parameters:
authMaterialsToAdd- The authorization materials to add.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authMaterialsToAdd
GeneralAuthorizationUpdate.Builder authMaterialsToAdd(Consumer<AuthMaterial.Builder>... authMaterialsToAdd) The authorization materials to add.
This is a convenience method that creates an instance of theAuthMaterial.Builderavoiding the need to create one manually viaAuthMaterial.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauthMaterialsToAdd(List<AuthMaterial>).- Parameters:
authMaterialsToAdd- a consumer that will call methods onAuthMaterial.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authMaterialsToUpdate
GeneralAuthorizationUpdate.Builder authMaterialsToUpdate(Collection<AuthMaterial> authMaterialsToUpdate) The authorization materials to update.
- Parameters:
authMaterialsToUpdate- The authorization materials to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authMaterialsToUpdate
The authorization materials to update.
- Parameters:
authMaterialsToUpdate- The authorization materials to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authMaterialsToUpdate
GeneralAuthorizationUpdate.Builder authMaterialsToUpdate(Consumer<AuthMaterial.Builder>... authMaterialsToUpdate) The authorization materials to update.
This is a convenience method that creates an instance of theAuthMaterial.Builderavoiding the need to create one manually viaAuthMaterial.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauthMaterialsToUpdate(List<AuthMaterial>).- Parameters:
authMaterialsToUpdate- a consumer that will call methods onAuthMaterial.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-