@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSiteToSiteVpnAttachmentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateSiteToSiteVpnAttachmentRequest() |
Modifier and Type | Method and Description |
---|---|
CreateSiteToSiteVpnAttachmentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
The client token associated with the request.
|
String |
getCoreNetworkId()
The ID of a core network where you're creating a site-to-site VPN attachment.
|
List<Tag> |
getTags()
The tags associated with the request.
|
String |
getVpnConnectionArn()
The ARN identifying the VPN attachment.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
The client token associated with the request.
|
void |
setCoreNetworkId(String coreNetworkId)
The ID of a core network where you're creating a site-to-site VPN attachment.
|
void |
setTags(Collection<Tag> tags)
The tags associated with the request.
|
void |
setVpnConnectionArn(String vpnConnectionArn)
The ARN identifying the VPN attachment.
|
String |
toString()
Returns a string representation of this object.
|
CreateSiteToSiteVpnAttachmentRequest |
withClientToken(String clientToken)
The client token associated with the request.
|
CreateSiteToSiteVpnAttachmentRequest |
withCoreNetworkId(String coreNetworkId)
The ID of a core network where you're creating a site-to-site VPN attachment.
|
CreateSiteToSiteVpnAttachmentRequest |
withTags(Collection<Tag> tags)
The tags associated with the request.
|
CreateSiteToSiteVpnAttachmentRequest |
withTags(Tag... tags)
The tags associated with the request.
|
CreateSiteToSiteVpnAttachmentRequest |
withVpnConnectionArn(String vpnConnectionArn)
The ARN identifying the VPN attachment.
|
addHandlerContext, 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, withSdkRequestTimeout
public CreateSiteToSiteVpnAttachmentRequest()
public void setCoreNetworkId(String coreNetworkId)
The ID of a core network where you're creating a site-to-site VPN attachment.
coreNetworkId
- The ID of a core network where you're creating a site-to-site VPN attachment.public String getCoreNetworkId()
The ID of a core network where you're creating a site-to-site VPN attachment.
public CreateSiteToSiteVpnAttachmentRequest withCoreNetworkId(String coreNetworkId)
The ID of a core network where you're creating a site-to-site VPN attachment.
coreNetworkId
- The ID of a core network where you're creating a site-to-site VPN attachment.public void setVpnConnectionArn(String vpnConnectionArn)
The ARN identifying the VPN attachment.
vpnConnectionArn
- The ARN identifying the VPN attachment.public String getVpnConnectionArn()
The ARN identifying the VPN attachment.
public CreateSiteToSiteVpnAttachmentRequest withVpnConnectionArn(String vpnConnectionArn)
The ARN identifying the VPN attachment.
vpnConnectionArn
- The ARN identifying the VPN attachment.public List<Tag> getTags()
The tags associated with the request.
public void setTags(Collection<Tag> tags)
The tags associated with the request.
tags
- The tags associated with the request.public CreateSiteToSiteVpnAttachmentRequest withTags(Tag... tags)
The tags associated with the 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 request.public CreateSiteToSiteVpnAttachmentRequest withTags(Collection<Tag> tags)
The tags associated with the request.
tags
- The tags associated with the 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 CreateSiteToSiteVpnAttachmentRequest withClientToken(String clientToken)
The client token associated with the request.
clientToken
- The client token associated with the request.public String toString()
toString
in class Object
Object.toString()
public CreateSiteToSiteVpnAttachmentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()