Interface UpdatedMcpServerAdditionalData.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UpdatedMcpServerAdditionalData.Builder,,UpdatedMcpServerAdditionalData> SdkBuilder<UpdatedMcpServerAdditionalData.Builder,,UpdatedMcpServerAdditionalData> SdkPojo
- Enclosing class:
UpdatedMcpServerAdditionalData
@Mutable
@NotThreadSafe
public static interface UpdatedMcpServerAdditionalData.Builder
extends SdkPojo, CopyableBuilder<UpdatedMcpServerAdditionalData.Builder,UpdatedMcpServerAdditionalData>
-
Method Summary
Modifier and TypeMethodDescriptionoptionalValue(Consumer<UpdatedMcpServerAdditionalDataFields.Builder> optionalValue) The value to set for this field.optionalValue(UpdatedMcpServerAdditionalDataFields 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
UpdatedMcpServerAdditionalData.Builder optionalValue(UpdatedMcpServerAdditionalDataFields 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 UpdatedMcpServerAdditionalData.Builder optionalValue(Consumer<UpdatedMcpServerAdditionalDataFields.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 theUpdatedMcpServerAdditionalDataFields.Builderavoiding the need to create one manually viaUpdatedMcpServerAdditionalDataFields.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooptionalValue(UpdatedMcpServerAdditionalDataFields).- Parameters:
optionalValue- a consumer that will call methods onUpdatedMcpServerAdditionalDataFields.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-