@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Attachment extends Object implements Serializable, Cloneable, StructuredPojo
Describes a core network attachment.
Constructor and Description |
---|
Attachment() |
Modifier and Type | Method and Description |
---|---|
Attachment |
clone() |
boolean |
equals(Object obj) |
String |
getAttachmentId()
The ID of the attachment.
|
Integer |
getAttachmentPolicyRuleNumber()
The policy rule number associated with the attachment.
|
String |
getAttachmentType()
The type of attachment.
|
String |
getCoreNetworkArn()
The ARN of a core network.
|
String |
getCoreNetworkId()
The ID of a core network.
|
Date |
getCreatedAt()
The timestamp when the attachment was created.
|
String |
getEdgeLocation()
The Region where the edge is located.
|
List<AttachmentError> |
getLastModificationErrors()
Describes the error associated with the attachment request.
|
String |
getNetworkFunctionGroupName()
The name of the network function group.
|
String |
getOwnerAccountId()
The ID of the attachment account owner.
|
ProposedNetworkFunctionGroupChange |
getProposedNetworkFunctionGroupChange()
Describes a proposed change to a network function group associated with the attachment.
|
ProposedSegmentChange |
getProposedSegmentChange()
The attachment to move from one segment to another.
|
String |
getResourceArn()
The attachment resource ARN.
|
String |
getSegmentName()
The name of the segment attachment.
|
String |
getState()
The state of the attachment.
|
List<Tag> |
getTags()
The tags associated with the attachment.
|
Date |
getUpdatedAt()
The timestamp when the attachment was last updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttachmentId(String attachmentId)
The ID of the attachment.
|
void |
setAttachmentPolicyRuleNumber(Integer attachmentPolicyRuleNumber)
The policy rule number associated with the attachment.
|
void |
setAttachmentType(String attachmentType)
The type of attachment.
|
void |
setCoreNetworkArn(String coreNetworkArn)
The ARN of a core network.
|
void |
setCoreNetworkId(String coreNetworkId)
The ID of a core network.
|
void |
setCreatedAt(Date createdAt)
The timestamp when the attachment was created.
|
void |
setEdgeLocation(String edgeLocation)
The Region where the edge is located.
|
void |
setLastModificationErrors(Collection<AttachmentError> lastModificationErrors)
Describes the error associated with the attachment request.
|
void |
setNetworkFunctionGroupName(String networkFunctionGroupName)
The name of the network function group.
|
void |
setOwnerAccountId(String ownerAccountId)
The ID of the attachment account owner.
|
void |
setProposedNetworkFunctionGroupChange(ProposedNetworkFunctionGroupChange proposedNetworkFunctionGroupChange)
Describes a proposed change to a network function group associated with the attachment.
|
void |
setProposedSegmentChange(ProposedSegmentChange proposedSegmentChange)
The attachment to move from one segment to another.
|
void |
setResourceArn(String resourceArn)
The attachment resource ARN.
|
void |
setSegmentName(String segmentName)
The name of the segment attachment.
|
void |
setState(String state)
The state of the attachment.
|
void |
setTags(Collection<Tag> tags)
The tags associated with the attachment.
|
void |
setUpdatedAt(Date updatedAt)
The timestamp when the attachment was last updated.
|
String |
toString()
Returns a string representation of this object.
|
Attachment |
withAttachmentId(String attachmentId)
The ID of the attachment.
|
Attachment |
withAttachmentPolicyRuleNumber(Integer attachmentPolicyRuleNumber)
The policy rule number associated with the attachment.
|
Attachment |
withAttachmentType(AttachmentType attachmentType)
The type of attachment.
|
Attachment |
withAttachmentType(String attachmentType)
The type of attachment.
|
Attachment |
withCoreNetworkArn(String coreNetworkArn)
The ARN of a core network.
|
Attachment |
withCoreNetworkId(String coreNetworkId)
The ID of a core network.
|
Attachment |
withCreatedAt(Date createdAt)
The timestamp when the attachment was created.
|
Attachment |
withEdgeLocation(String edgeLocation)
The Region where the edge is located.
|
Attachment |
withLastModificationErrors(AttachmentError... lastModificationErrors)
Describes the error associated with the attachment request.
|
Attachment |
withLastModificationErrors(Collection<AttachmentError> lastModificationErrors)
Describes the error associated with the attachment request.
|
Attachment |
withNetworkFunctionGroupName(String networkFunctionGroupName)
The name of the network function group.
|
Attachment |
withOwnerAccountId(String ownerAccountId)
The ID of the attachment account owner.
|
Attachment |
withProposedNetworkFunctionGroupChange(ProposedNetworkFunctionGroupChange proposedNetworkFunctionGroupChange)
Describes a proposed change to a network function group associated with the attachment.
|
Attachment |
withProposedSegmentChange(ProposedSegmentChange proposedSegmentChange)
The attachment to move from one segment to another.
|
Attachment |
withResourceArn(String resourceArn)
The attachment resource ARN.
|
Attachment |
withSegmentName(String segmentName)
The name of the segment attachment.
|
Attachment |
withState(AttachmentState state)
The state of the attachment.
|
Attachment |
withState(String state)
The state of the attachment.
|
Attachment |
withTags(Collection<Tag> tags)
The tags associated with the attachment.
|
Attachment |
withTags(Tag... tags)
The tags associated with the attachment.
|
Attachment |
withUpdatedAt(Date updatedAt)
The timestamp when the attachment was last updated.
|
public void setCoreNetworkId(String coreNetworkId)
The ID of a core network.
coreNetworkId
- The ID of a core network.public String getCoreNetworkId()
The ID of a core network.
public Attachment withCoreNetworkId(String coreNetworkId)
The ID of a core network.
coreNetworkId
- The ID of a core network.public void setCoreNetworkArn(String coreNetworkArn)
The ARN of a core network.
coreNetworkArn
- The ARN of a core network.public String getCoreNetworkArn()
The ARN of a core network.
public Attachment withCoreNetworkArn(String coreNetworkArn)
The ARN of a core network.
coreNetworkArn
- The ARN of a core network.public void setAttachmentId(String attachmentId)
The ID of the attachment.
attachmentId
- The ID of the attachment.public String getAttachmentId()
The ID of the attachment.
public Attachment withAttachmentId(String attachmentId)
The ID of the attachment.
attachmentId
- The ID of the attachment.public void setOwnerAccountId(String ownerAccountId)
The ID of the attachment account owner.
ownerAccountId
- The ID of the attachment account owner.public String getOwnerAccountId()
The ID of the attachment account owner.
public Attachment withOwnerAccountId(String ownerAccountId)
The ID of the attachment account owner.
ownerAccountId
- The ID of the attachment account owner.public void setAttachmentType(String attachmentType)
The type of attachment.
attachmentType
- The type of attachment.AttachmentType
public String getAttachmentType()
The type of attachment.
AttachmentType
public Attachment withAttachmentType(String attachmentType)
The type of attachment.
attachmentType
- The type of attachment.AttachmentType
public Attachment withAttachmentType(AttachmentType attachmentType)
The type of attachment.
attachmentType
- The type of attachment.AttachmentType
public void setState(String state)
The state of the attachment.
state
- The state of the attachment.AttachmentState
public String getState()
The state of the attachment.
AttachmentState
public Attachment withState(String state)
The state of the attachment.
state
- The state of the attachment.AttachmentState
public Attachment withState(AttachmentState state)
The state of the attachment.
state
- The state of the attachment.AttachmentState
public void setEdgeLocation(String edgeLocation)
The Region where the edge is located.
edgeLocation
- The Region where the edge is located.public String getEdgeLocation()
The Region where the edge is located.
public Attachment withEdgeLocation(String edgeLocation)
The Region where the edge is located.
edgeLocation
- The Region where the edge is located.public void setResourceArn(String resourceArn)
The attachment resource ARN.
resourceArn
- The attachment resource ARN.public String getResourceArn()
The attachment resource ARN.
public Attachment withResourceArn(String resourceArn)
The attachment resource ARN.
resourceArn
- The attachment resource ARN.public void setAttachmentPolicyRuleNumber(Integer attachmentPolicyRuleNumber)
The policy rule number associated with the attachment.
attachmentPolicyRuleNumber
- The policy rule number associated with the attachment.public Integer getAttachmentPolicyRuleNumber()
The policy rule number associated with the attachment.
public Attachment withAttachmentPolicyRuleNumber(Integer attachmentPolicyRuleNumber)
The policy rule number associated with the attachment.
attachmentPolicyRuleNumber
- The policy rule number associated with the attachment.public void setSegmentName(String segmentName)
The name of the segment attachment.
segmentName
- The name of the segment attachment.public String getSegmentName()
The name of the segment attachment.
public Attachment withSegmentName(String segmentName)
The name of the segment attachment.
segmentName
- The name of the segment attachment.public void setNetworkFunctionGroupName(String networkFunctionGroupName)
The name of the network function group.
networkFunctionGroupName
- The name of the network function group.public String getNetworkFunctionGroupName()
The name of the network function group.
public Attachment withNetworkFunctionGroupName(String networkFunctionGroupName)
The name of the network function group.
networkFunctionGroupName
- The name of the network function group.public List<Tag> getTags()
The tags associated with the attachment.
public void setTags(Collection<Tag> tags)
The tags associated with the attachment.
tags
- The tags associated with the attachment.public Attachment withTags(Tag... tags)
The tags associated with the attachment.
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 tags associated with the attachment.public Attachment withTags(Collection<Tag> tags)
The tags associated with the attachment.
tags
- The tags associated with the attachment.public void setProposedSegmentChange(ProposedSegmentChange proposedSegmentChange)
The attachment to move from one segment to another.
proposedSegmentChange
- The attachment to move from one segment to another.public ProposedSegmentChange getProposedSegmentChange()
The attachment to move from one segment to another.
public Attachment withProposedSegmentChange(ProposedSegmentChange proposedSegmentChange)
The attachment to move from one segment to another.
proposedSegmentChange
- The attachment to move from one segment to another.public void setProposedNetworkFunctionGroupChange(ProposedNetworkFunctionGroupChange proposedNetworkFunctionGroupChange)
Describes a proposed change to a network function group associated with the attachment.
proposedNetworkFunctionGroupChange
- Describes a proposed change to a network function group associated with the attachment.public ProposedNetworkFunctionGroupChange getProposedNetworkFunctionGroupChange()
Describes a proposed change to a network function group associated with the attachment.
public Attachment withProposedNetworkFunctionGroupChange(ProposedNetworkFunctionGroupChange proposedNetworkFunctionGroupChange)
Describes a proposed change to a network function group associated with the attachment.
proposedNetworkFunctionGroupChange
- Describes a proposed change to a network function group associated with the attachment.public void setCreatedAt(Date createdAt)
The timestamp when the attachment was created.
createdAt
- The timestamp when the attachment was created.public Date getCreatedAt()
The timestamp when the attachment was created.
public Attachment withCreatedAt(Date createdAt)
The timestamp when the attachment was created.
createdAt
- The timestamp when the attachment was created.public void setUpdatedAt(Date updatedAt)
The timestamp when the attachment was last updated.
updatedAt
- The timestamp when the attachment was last updated.public Date getUpdatedAt()
The timestamp when the attachment was last updated.
public Attachment withUpdatedAt(Date updatedAt)
The timestamp when the attachment was last updated.
updatedAt
- The timestamp when the attachment was last updated.public List<AttachmentError> getLastModificationErrors()
Describes the error associated with the attachment request.
public void setLastModificationErrors(Collection<AttachmentError> lastModificationErrors)
Describes the error associated with the attachment request.
lastModificationErrors
- Describes the error associated with the attachment request.public Attachment withLastModificationErrors(AttachmentError... lastModificationErrors)
Describes the error associated with the attachment request.
NOTE: This method appends the values to the existing list (if any). Use
setLastModificationErrors(java.util.Collection)
or
withLastModificationErrors(java.util.Collection)
if you want to override the existing values.
lastModificationErrors
- Describes the error associated with the attachment request.public Attachment withLastModificationErrors(Collection<AttachmentError> lastModificationErrors)
Describes the error associated with the attachment request.
lastModificationErrors
- Describes the error associated with the attachment request.public String toString()
toString
in class Object
Object.toString()
public Attachment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.