Interface UpdatedCustomMetadataSchemaConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UpdatedCustomMetadataSchemaConfiguration.Builder,,UpdatedCustomMetadataSchemaConfiguration> SdkBuilder<UpdatedCustomMetadataSchemaConfiguration.Builder,,UpdatedCustomMetadataSchemaConfiguration> SdkPojo
- Enclosing class:
UpdatedCustomMetadataSchemaConfiguration
@Mutable
@NotThreadSafe
public static interface UpdatedCustomMetadataSchemaConfiguration.Builder
extends SdkPojo, CopyableBuilder<UpdatedCustomMetadataSchemaConfiguration.Builder,UpdatedCustomMetadataSchemaConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionoptionalValue(Consumer<CustomMetadataSchemaConfiguration.Builder> optionalValue) The value to set for this field.optionalValue(CustomMetadataSchemaConfiguration optionalValue) The value to set for this field.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
-
optionalValue
UpdatedCustomMetadataSchemaConfiguration.Builder optionalValue(CustomMetadataSchemaConfiguration optionalValue) The value to set for this field. Omit the wrapper to leave the field unchanged.
- Parameters:
optionalValue- The value to set for this field. Omit the wrapper to leave the field unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionalValue
default UpdatedCustomMetadataSchemaConfiguration.Builder optionalValue(Consumer<CustomMetadataSchemaConfiguration.Builder> optionalValue) The value to set for this field. Omit the wrapper to leave the field unchanged.
This is a convenience method that creates an instance of theCustomMetadataSchemaConfiguration.Builderavoiding the need to create one manually viaCustomMetadataSchemaConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooptionalValue(CustomMetadataSchemaConfiguration).- Parameters:
optionalValue- a consumer that will call methods onCustomMetadataSchemaConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-