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
Modifier and TypeMethodDescriptionattachmentPolicyRuleNumber
(Integer attachmentPolicyRuleNumber) The rule number in the policy document that applies to this change.segmentName
(String segmentName) The name of the segment to change.tags
(Collection<Tag> tags) The list of key-value tags that changed for the segment.tags
(Consumer<Tag.Builder>... tags) The list of key-value tags that changed for the segment.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 Details
-
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
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
The list of key-value tags that changed for the segment.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- 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:
-
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
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.
-