Interface CreateOperation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CreateOperation.Builder,,CreateOperation> SdkBuilder<CreateOperation.Builder,,CreateOperation> SdkPojo
- Enclosing class:
CreateOperation
@Mutable
@NotThreadSafe
public static interface CreateOperation.Builder
extends SdkPojo, CopyableBuilder<CreateOperation.Builder,CreateOperation>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateOperation.Builderconfiguration(Consumer<OperationConfigurationUnion.Builder> configuration) The initial construct-type-specific behavioral configuration for the new construct.configuration(OperationConfigurationUnion configuration) The initial construct-type-specific behavioral configuration for the new construct.Whether the new construct is excluded from the migration.The name for the new construct.properties(Map<String, Document> properties) The properties of the new construct, using their native value types.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
-
name
The name for the new construct.
- Parameters:
name- The name for the new construct.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excluded
Whether the new construct is excluded from the migration.
- Parameters:
excluded- Whether the new construct is excluded from the migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
properties
The properties of the new construct, using their native value types.
- Parameters:
properties- The properties of the new construct, using their native value types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
The initial construct-type-specific behavioral configuration for the new construct.
- Parameters:
configuration- The initial construct-type-specific behavioral configuration for the new construct.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default CreateOperation.Builder configuration(Consumer<OperationConfigurationUnion.Builder> configuration) The initial construct-type-specific behavioral configuration for the new construct.
This is a convenience method that creates an instance of theOperationConfigurationUnion.Builderavoiding the need to create one manually viaOperationConfigurationUnion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(OperationConfigurationUnion).- Parameters:
configuration- a consumer that will call methods onOperationConfigurationUnion.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-