Interface ProposedSegmentChange.Builder

    • 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 the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.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.