@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConnectPeer extends Object implements Serializable, Cloneable, StructuredPojo
Describes a core network Connect peer.
Constructor and Description |
---|
ConnectPeer() |
Modifier and Type | Method and Description |
---|---|
ConnectPeer |
clone() |
boolean |
equals(Object obj) |
ConnectPeerConfiguration |
getConfiguration()
The configuration of the Connect peer.
|
String |
getConnectAttachmentId()
The ID of the attachment to connect.
|
String |
getConnectPeerId()
The ID of the Connect peer.
|
String |
getCoreNetworkId()
The ID of a core network.
|
Date |
getCreatedAt()
The timestamp when the Connect peer was created.
|
String |
getEdgeLocation()
The Connect peer Regions where edges are located.
|
String |
getState()
The state of the Connect peer.
|
List<Tag> |
getTags()
The tags associated with the Connect peer.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConfiguration(ConnectPeerConfiguration configuration)
The configuration of the Connect peer.
|
void |
setConnectAttachmentId(String connectAttachmentId)
The ID of the attachment to connect.
|
void |
setConnectPeerId(String connectPeerId)
The ID of the Connect peer.
|
void |
setCoreNetworkId(String coreNetworkId)
The ID of a core network.
|
void |
setCreatedAt(Date createdAt)
The timestamp when the Connect peer was created.
|
void |
setEdgeLocation(String edgeLocation)
The Connect peer Regions where edges are located.
|
void |
setState(String state)
The state of the Connect peer.
|
void |
setTags(Collection<Tag> tags)
The tags associated with the Connect peer.
|
String |
toString()
Returns a string representation of this object.
|
ConnectPeer |
withConfiguration(ConnectPeerConfiguration configuration)
The configuration of the Connect peer.
|
ConnectPeer |
withConnectAttachmentId(String connectAttachmentId)
The ID of the attachment to connect.
|
ConnectPeer |
withConnectPeerId(String connectPeerId)
The ID of the Connect peer.
|
ConnectPeer |
withCoreNetworkId(String coreNetworkId)
The ID of a core network.
|
ConnectPeer |
withCreatedAt(Date createdAt)
The timestamp when the Connect peer was created.
|
ConnectPeer |
withEdgeLocation(String edgeLocation)
The Connect peer Regions where edges are located.
|
ConnectPeer |
withState(ConnectPeerState state)
The state of the Connect peer.
|
ConnectPeer |
withState(String state)
The state of the Connect peer.
|
ConnectPeer |
withTags(Collection<Tag> tags)
The tags associated with the Connect peer.
|
ConnectPeer |
withTags(Tag... tags)
The tags associated with the Connect peer.
|
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 ConnectPeer withCoreNetworkId(String coreNetworkId)
The ID of a core network.
coreNetworkId
- The ID of a core network.public void setConnectAttachmentId(String connectAttachmentId)
The ID of the attachment to connect.
connectAttachmentId
- The ID of the attachment to connect.public String getConnectAttachmentId()
The ID of the attachment to connect.
public ConnectPeer withConnectAttachmentId(String connectAttachmentId)
The ID of the attachment to connect.
connectAttachmentId
- The ID of the attachment to connect.public void setConnectPeerId(String connectPeerId)
The ID of the Connect peer.
connectPeerId
- The ID of the Connect peer.public String getConnectPeerId()
The ID of the Connect peer.
public ConnectPeer withConnectPeerId(String connectPeerId)
The ID of the Connect peer.
connectPeerId
- The ID of the Connect peer.public void setEdgeLocation(String edgeLocation)
The Connect peer Regions where edges are located.
edgeLocation
- The Connect peer Regions where edges are located.public String getEdgeLocation()
The Connect peer Regions where edges are located.
public ConnectPeer withEdgeLocation(String edgeLocation)
The Connect peer Regions where edges are located.
edgeLocation
- The Connect peer Regions where edges are located.public void setState(String state)
The state of the Connect peer.
state
- The state of the Connect peer.ConnectPeerState
public String getState()
The state of the Connect peer.
ConnectPeerState
public ConnectPeer withState(String state)
The state of the Connect peer.
state
- The state of the Connect peer.ConnectPeerState
public ConnectPeer withState(ConnectPeerState state)
The state of the Connect peer.
state
- The state of the Connect peer.ConnectPeerState
public void setCreatedAt(Date createdAt)
The timestamp when the Connect peer was created.
createdAt
- The timestamp when the Connect peer was created.public Date getCreatedAt()
The timestamp when the Connect peer was created.
public ConnectPeer withCreatedAt(Date createdAt)
The timestamp when the Connect peer was created.
createdAt
- The timestamp when the Connect peer was created.public void setConfiguration(ConnectPeerConfiguration configuration)
The configuration of the Connect peer.
configuration
- The configuration of the Connect peer.public ConnectPeerConfiguration getConfiguration()
The configuration of the Connect peer.
public ConnectPeer withConfiguration(ConnectPeerConfiguration configuration)
The configuration of the Connect peer.
configuration
- The configuration of the Connect peer.public List<Tag> getTags()
The tags associated with the Connect peer.
public void setTags(Collection<Tag> tags)
The tags associated with the Connect peer.
tags
- The tags associated with the Connect peer.public ConnectPeer withTags(Tag... tags)
The tags associated with the Connect peer.
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 Connect peer.public ConnectPeer withTags(Collection<Tag> tags)
The tags associated with the Connect peer.
tags
- The tags associated with the Connect peer.public String toString()
toString
in class Object
Object.toString()
public ConnectPeer clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.