Interface RelatedItemUpdateContent.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RelatedItemUpdateContent.Builder,,RelatedItemUpdateContent> SdkBuilder<RelatedItemUpdateContent.Builder,,RelatedItemUpdateContent> SdkPojo
- Enclosing class:
RelatedItemUpdateContent
@Mutable
@NotThreadSafe
public static interface RelatedItemUpdateContent.Builder
extends SdkPojo, CopyableBuilder<RelatedItemUpdateContent.Builder,RelatedItemUpdateContent>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RelatedItemUpdateContent.Buildercomment(Consumer<CommentUpdateContent.Builder> comment) Sets the value of the Comment property for this object.comment(CommentUpdateContent comment) Sets the value of the Comment property for this object.default RelatedItemUpdateContent.Buildercustom(Consumer<CustomUpdateContent.Builder> custom) Sets the value of the Custom property for this object.custom(CustomUpdateContent custom) Sets the value of the Custom 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
-
comment
Sets the value of the Comment property for this object.- Parameters:
comment- The new value for the Comment property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comment
Sets the value of the Comment property for this object. This is a convenience method that creates an instance of theCommentUpdateContent.Builderavoiding the need to create one manually viaCommentUpdateContent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocomment(CommentUpdateContent).- Parameters:
comment- a consumer that will call methods onCommentUpdateContent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
custom
Sets the value of the Custom property for this object.- Parameters:
custom- The new value for the Custom property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
custom
Sets the value of the Custom property for this object. This is a convenience method that creates an instance of theCustomUpdateContent.Builderavoiding the need to create one manually viaCustomUpdateContent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustom(CustomUpdateContent).- Parameters:
custom- a consumer that will call methods onCustomUpdateContent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-