@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConnectPeerSummary extends Object implements Serializable, Cloneable, StructuredPojo
Summary description of a Connect peer.
Constructor and Description |
---|
ConnectPeerSummary() |
Modifier and Type | Method and Description |
---|---|
ConnectPeerSummary |
clone() |
boolean |
equals(Object obj) |
String |
getConnectAttachmentId()
The ID of a Connect peer attachment.
|
String |
getConnectPeerId()
The ID of a Connect peer.
|
String |
getConnectPeerState()
The state of a Connect peer.
|
String |
getCoreNetworkId()
The ID of a core network.
|
Date |
getCreatedAt()
The timestamp when a Connect peer was created.
|
String |
getEdgeLocation()
The Region where the edge is located.
|
String |
getSubnetArn()
The subnet ARN for the Connect peer summary.
|
List<Tag> |
getTags()
The list of key-value tags associated with the Connect peer summary.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConnectAttachmentId(String connectAttachmentId)
The ID of a Connect peer attachment.
|
void |
setConnectPeerId(String connectPeerId)
The ID of a Connect peer.
|
void |
setConnectPeerState(String connectPeerState)
The state of a Connect peer.
|
void |
setCoreNetworkId(String coreNetworkId)
The ID of a core network.
|
void |
setCreatedAt(Date createdAt)
The timestamp when a Connect peer was created.
|
void |
setEdgeLocation(String edgeLocation)
The Region where the edge is located.
|
void |
setSubnetArn(String subnetArn)
The subnet ARN for the Connect peer summary.
|
void |
setTags(Collection<Tag> tags)
The list of key-value tags associated with the Connect peer summary.
|
String |
toString()
Returns a string representation of this object.
|
ConnectPeerSummary |
withConnectAttachmentId(String connectAttachmentId)
The ID of a Connect peer attachment.
|
ConnectPeerSummary |
withConnectPeerId(String connectPeerId)
The ID of a Connect peer.
|
ConnectPeerSummary |
withConnectPeerState(ConnectPeerState connectPeerState)
The state of a Connect peer.
|
ConnectPeerSummary |
withConnectPeerState(String connectPeerState)
The state of a Connect peer.
|
ConnectPeerSummary |
withCoreNetworkId(String coreNetworkId)
The ID of a core network.
|
ConnectPeerSummary |
withCreatedAt(Date createdAt)
The timestamp when a Connect peer was created.
|
ConnectPeerSummary |
withEdgeLocation(String edgeLocation)
The Region where the edge is located.
|
ConnectPeerSummary |
withSubnetArn(String subnetArn)
The subnet ARN for the Connect peer summary.
|
ConnectPeerSummary |
withTags(Collection<Tag> tags)
The list of key-value tags associated with the Connect peer summary.
|
ConnectPeerSummary |
withTags(Tag... tags)
The list of key-value tags associated with the Connect peer summary.
|
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 ConnectPeerSummary withCoreNetworkId(String coreNetworkId)
The ID of a core network.
coreNetworkId
- The ID of a core network.public void setConnectAttachmentId(String connectAttachmentId)
The ID of a Connect peer attachment.
connectAttachmentId
- The ID of a Connect peer attachment.public String getConnectAttachmentId()
The ID of a Connect peer attachment.
public ConnectPeerSummary withConnectAttachmentId(String connectAttachmentId)
The ID of a Connect peer attachment.
connectAttachmentId
- The ID of a Connect peer attachment.public void setConnectPeerId(String connectPeerId)
The ID of a Connect peer.
connectPeerId
- The ID of a Connect peer.public String getConnectPeerId()
The ID of a Connect peer.
public ConnectPeerSummary withConnectPeerId(String connectPeerId)
The ID of a Connect peer.
connectPeerId
- The ID of a Connect peer.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 ConnectPeerSummary withEdgeLocation(String edgeLocation)
The Region where the edge is located.
edgeLocation
- The Region where the edge is located.public void setConnectPeerState(String connectPeerState)
The state of a Connect peer.
connectPeerState
- The state of a Connect peer.ConnectPeerState
public String getConnectPeerState()
The state of a Connect peer.
ConnectPeerState
public ConnectPeerSummary withConnectPeerState(String connectPeerState)
The state of a Connect peer.
connectPeerState
- The state of a Connect peer.ConnectPeerState
public ConnectPeerSummary withConnectPeerState(ConnectPeerState connectPeerState)
The state of a Connect peer.
connectPeerState
- The state of a Connect peer.ConnectPeerState
public void setCreatedAt(Date createdAt)
The timestamp when a Connect peer was created.
createdAt
- The timestamp when a Connect peer was created.public Date getCreatedAt()
The timestamp when a Connect peer was created.
public ConnectPeerSummary withCreatedAt(Date createdAt)
The timestamp when a Connect peer was created.
createdAt
- The timestamp when a Connect peer was created.public List<Tag> getTags()
The list of key-value tags associated with the Connect peer summary.
public void setTags(Collection<Tag> tags)
The list of key-value tags associated with the Connect peer summary.
tags
- The list of key-value tags associated with the Connect peer summary.public ConnectPeerSummary withTags(Tag... tags)
The list of key-value tags associated with the Connect peer summary.
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 list of key-value tags associated with the Connect peer summary.public ConnectPeerSummary withTags(Collection<Tag> tags)
The list of key-value tags associated with the Connect peer summary.
tags
- The list of key-value tags associated with the Connect peer summary.public void setSubnetArn(String subnetArn)
The subnet ARN for the Connect peer summary.
subnetArn
- The subnet ARN for the Connect peer summary.public String getSubnetArn()
The subnet ARN for the Connect peer summary.
public ConnectPeerSummary withSubnetArn(String subnetArn)
The subnet ARN for the Connect peer summary.
subnetArn
- The subnet ARN for the Connect peer summary.public String toString()
toString
in class Object
Object.toString()
public ConnectPeerSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.