@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProposedSegmentChange extends Object implements Serializable, Cloneable, StructuredPojo
Describes a proposed segment change. In some cases, the segment change must first be evaluated and accepted.
Constructor and Description |
---|
ProposedSegmentChange() |
Modifier and Type | Method and Description |
---|---|
ProposedSegmentChange |
clone() |
boolean |
equals(Object obj) |
Integer |
getAttachmentPolicyRuleNumber()
The rule number in the policy document that applies to this change.
|
String |
getSegmentName()
The name of the segment to change.
|
List<Tag> |
getTags()
The key-value tags that changed for the segment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttachmentPolicyRuleNumber(Integer attachmentPolicyRuleNumber)
The rule number in the policy document that applies to this change.
|
void |
setSegmentName(String segmentName)
The name of the segment to change.
|
void |
setTags(Collection<Tag> tags)
The key-value tags that changed for the segment.
|
String |
toString()
Returns a string representation of this object.
|
ProposedSegmentChange |
withAttachmentPolicyRuleNumber(Integer attachmentPolicyRuleNumber)
The rule number in the policy document that applies to this change.
|
ProposedSegmentChange |
withSegmentName(String segmentName)
The name of the segment to change.
|
ProposedSegmentChange |
withTags(Collection<Tag> tags)
The key-value tags that changed for the segment.
|
ProposedSegmentChange |
withTags(Tag... tags)
The key-value tags that changed for the segment.
|
public List<Tag> getTags()
The key-value tags that changed for the segment.
public void setTags(Collection<Tag> tags)
The key-value tags that changed for the segment.
tags
- The key-value tags that changed for the segment.public ProposedSegmentChange withTags(Tag... tags)
The key-value tags that changed for the segment.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The key-value tags that changed for the segment.public ProposedSegmentChange withTags(Collection<Tag> tags)
The key-value tags that changed for the segment.
tags
- The key-value tags that changed for the segment.public void setAttachmentPolicyRuleNumber(Integer attachmentPolicyRuleNumber)
The rule number in the policy document that applies to this change.
attachmentPolicyRuleNumber
- The rule number in the policy document that applies to this change.public Integer getAttachmentPolicyRuleNumber()
The rule number in the policy document that applies to this change.
public ProposedSegmentChange withAttachmentPolicyRuleNumber(Integer attachmentPolicyRuleNumber)
The rule number in the policy document that applies to this change.
attachmentPolicyRuleNumber
- The rule number in the policy document that applies to this change.public void setSegmentName(String segmentName)
The name of the segment to change.
segmentName
- The name of the segment to change.public String getSegmentName()
The name of the segment to change.
public ProposedSegmentChange withSegmentName(String segmentName)
The name of the segment to change.
segmentName
- The name of the segment to change.public String toString()
toString
in class Object
Object.toString()
public ProposedSegmentChange clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.