Interface AuthMaterial.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AuthMaterial.Builder,,AuthMaterial> SdkBuilder<AuthMaterial.Builder,,AuthMaterial> SdkPojo
- Enclosing class:
AuthMaterial
@Mutable
@NotThreadSafe
public static interface AuthMaterial.Builder
extends SdkPojo, CopyableBuilder<AuthMaterial.Builder,AuthMaterial>
-
Method Summary
Modifier and TypeMethodDescriptionauthMaterialName(String authMaterialName) The name of the authorization material.default AuthMaterial.BuildersecretsManager(Consumer<SecretsManager.Builder> secretsManager) Sets the value of the SecretsManager property for this object.secretsManager(SecretsManager secretsManager) Sets the value of the SecretsManager 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
-
secretsManager
Sets the value of the SecretsManager property for this object.- Parameters:
secretsManager- The new value for the SecretsManager property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretsManager
Sets the value of the SecretsManager property for this object. This is a convenience method that creates an instance of theSecretsManager.Builderavoiding the need to create one manually viaSecretsManager.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosecretsManager(SecretsManager).- Parameters:
secretsManager- a consumer that will call methods onSecretsManager.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authMaterialName
The name of the authorization material.
- Parameters:
authMaterialName- The name of the authorization material.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-