Interface ProposedSegmentChange.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ProposedSegmentChange.Builder,ProposedSegmentChange>,SdkBuilder<ProposedSegmentChange.Builder,ProposedSegmentChange>,SdkPojo
- Enclosing class:
- ProposedSegmentChange
public static interface ProposedSegmentChange.Builder extends SdkPojo, CopyableBuilder<ProposedSegmentChange.Builder,ProposedSegmentChange>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProposedSegmentChange.BuilderattachmentPolicyRuleNumber(Integer attachmentPolicyRuleNumber)The rule number in the policy document that applies to this change.ProposedSegmentChange.BuildersegmentName(String segmentName)The name of the segment to change.ProposedSegmentChange.Buildertags(Collection<Tag> tags)The list of key-value tags that changed for the segment.ProposedSegmentChange.Buildertags(Consumer<Tag.Builder>... tags)The list of key-value tags that changed for the segment.ProposedSegmentChange.Buildertags(Tag... tags)The list of key-value tags that changed for the segment.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
tags
ProposedSegmentChange.Builder tags(Collection<Tag> tags)
The list of key-value tags that changed for the segment.
- Parameters:
tags- The list of key-value tags that changed for the segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ProposedSegmentChange.Builder tags(Tag... tags)
The list of key-value tags that changed for the segment.
- Parameters:
tags- The list of key-value tags that changed for the segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ProposedSegmentChange.Builder tags(Consumer<Tag.Builder>... tags)
The list of key-value tags that changed for the segment.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
attachmentPolicyRuleNumber
ProposedSegmentChange.Builder attachmentPolicyRuleNumber(Integer attachmentPolicyRuleNumber)
The rule number in the policy document that applies to this change.
- Parameters:
attachmentPolicyRuleNumber- The rule number in the policy document that applies to this change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentName
ProposedSegmentChange.Builder segmentName(String segmentName)
The name of the segment to change.
- Parameters:
segmentName- The name of the segment to change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-