Interface UpdatedCustomDescriptor.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UpdatedCustomDescriptor.Builder,,UpdatedCustomDescriptor> SdkBuilder<UpdatedCustomDescriptor.Builder,,UpdatedCustomDescriptor> SdkPojo
- Enclosing class:
UpdatedCustomDescriptor
@Mutable
@NotThreadSafe
public static interface UpdatedCustomDescriptor.Builder
extends SdkPojo, CopyableBuilder<UpdatedCustomDescriptor.Builder,UpdatedCustomDescriptor>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdatedCustomDescriptor.BuilderoptionalValue(Consumer<CustomDescriptor.Builder> optionalValue) The updated custom descriptor value.optionalValue(CustomDescriptor optionalValue) The updated custom descriptor value.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
The updated custom descriptor value.
- Parameters:
optionalValue- The updated custom descriptor value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionalValue
default UpdatedCustomDescriptor.Builder optionalValue(Consumer<CustomDescriptor.Builder> optionalValue) The updated custom descriptor value.
This is a convenience method that creates an instance of theCustomDescriptor.Builderavoiding the need to create one manually viaCustomDescriptor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooptionalValue(CustomDescriptor).- Parameters:
optionalValue- a consumer that will call methods onCustomDescriptor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-