@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateConnectPeerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateConnectPeerRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateConnectPeerRequest |
clone() |
boolean |
equals(Object obj) |
BgpOptions |
getBgpOptions()
The Connect peer BGP options.
|
String |
getClientToken()
The client token associated with the request.
|
String |
getConnectAttachmentId()
The ID of the connection attachment.
|
String |
getCoreNetworkAddress()
A Connect peer core network address.
|
List<String> |
getInsideCidrBlocks()
The inside IP addresses used for BGP peering.
|
String |
getPeerAddress()
The Connect peer address.
|
List<Tag> |
getTags()
The tags associated with the peer request.
|
int |
hashCode() |
void |
setBgpOptions(BgpOptions bgpOptions)
The Connect peer BGP options.
|
void |
setClientToken(String clientToken)
The client token associated with the request.
|
void |
setConnectAttachmentId(String connectAttachmentId)
The ID of the connection attachment.
|
void |
setCoreNetworkAddress(String coreNetworkAddress)
A Connect peer core network address.
|
void |
setInsideCidrBlocks(Collection<String> insideCidrBlocks)
The inside IP addresses used for BGP peering.
|
void |
setPeerAddress(String peerAddress)
The Connect peer address.
|
void |
setTags(Collection<Tag> tags)
The tags associated with the peer request.
|
String |
toString()
Returns a string representation of this object.
|
CreateConnectPeerRequest |
withBgpOptions(BgpOptions bgpOptions)
The Connect peer BGP options.
|
CreateConnectPeerRequest |
withClientToken(String clientToken)
The client token associated with the request.
|
CreateConnectPeerRequest |
withConnectAttachmentId(String connectAttachmentId)
The ID of the connection attachment.
|
CreateConnectPeerRequest |
withCoreNetworkAddress(String coreNetworkAddress)
A Connect peer core network address.
|
CreateConnectPeerRequest |
withInsideCidrBlocks(Collection<String> insideCidrBlocks)
The inside IP addresses used for BGP peering.
|
CreateConnectPeerRequest |
withInsideCidrBlocks(String... insideCidrBlocks)
The inside IP addresses used for BGP peering.
|
CreateConnectPeerRequest |
withPeerAddress(String peerAddress)
The Connect peer address.
|
CreateConnectPeerRequest |
withTags(Collection<Tag> tags)
The tags associated with the peer request.
|
CreateConnectPeerRequest |
withTags(Tag... tags)
The tags associated with the peer request.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setConnectAttachmentId(String connectAttachmentId)
The ID of the connection attachment.
connectAttachmentId - The ID of the connection attachment.public String getConnectAttachmentId()
The ID of the connection attachment.
public CreateConnectPeerRequest withConnectAttachmentId(String connectAttachmentId)
The ID of the connection attachment.
connectAttachmentId - The ID of the connection attachment.public void setCoreNetworkAddress(String coreNetworkAddress)
A Connect peer core network address.
coreNetworkAddress - A Connect peer core network address.public String getCoreNetworkAddress()
A Connect peer core network address.
public CreateConnectPeerRequest withCoreNetworkAddress(String coreNetworkAddress)
A Connect peer core network address.
coreNetworkAddress - A Connect peer core network address.public void setPeerAddress(String peerAddress)
The Connect peer address.
peerAddress - The Connect peer address.public String getPeerAddress()
The Connect peer address.
public CreateConnectPeerRequest withPeerAddress(String peerAddress)
The Connect peer address.
peerAddress - The Connect peer address.public void setBgpOptions(BgpOptions bgpOptions)
The Connect peer BGP options.
bgpOptions - The Connect peer BGP options.public BgpOptions getBgpOptions()
The Connect peer BGP options.
public CreateConnectPeerRequest withBgpOptions(BgpOptions bgpOptions)
The Connect peer BGP options.
bgpOptions - The Connect peer BGP options.public List<String> getInsideCidrBlocks()
The inside IP addresses used for BGP peering.
public void setInsideCidrBlocks(Collection<String> insideCidrBlocks)
The inside IP addresses used for BGP peering.
insideCidrBlocks - The inside IP addresses used for BGP peering.public CreateConnectPeerRequest withInsideCidrBlocks(String... insideCidrBlocks)
The inside IP addresses used for BGP peering.
NOTE: This method appends the values to the existing list (if any). Use
setInsideCidrBlocks(java.util.Collection) or withInsideCidrBlocks(java.util.Collection) if you
want to override the existing values.
insideCidrBlocks - The inside IP addresses used for BGP peering.public CreateConnectPeerRequest withInsideCidrBlocks(Collection<String> insideCidrBlocks)
The inside IP addresses used for BGP peering.
insideCidrBlocks - The inside IP addresses used for BGP peering.public List<Tag> getTags()
The tags associated with the peer request.
public void setTags(Collection<Tag> tags)
The tags associated with the peer request.
tags - The tags associated with the peer request.public CreateConnectPeerRequest withTags(Tag... tags)
The tags associated with the peer request.
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 peer request.public CreateConnectPeerRequest withTags(Collection<Tag> tags)
The tags associated with the peer request.
tags - The tags associated with the peer request.public void setClientToken(String clientToken)
The client token associated with the request.
clientToken - The client token associated with the request.public String getClientToken()
The client token associated with the request.
public CreateConnectPeerRequest withClientToken(String clientToken)
The client token associated with the request.
clientToken - The client token associated with the request.public String toString()
toString in class ObjectObject.toString()public CreateConnectPeerRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2023. All rights reserved.