@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SiteToSiteVpnAttachment extends Object implements Serializable, Cloneable, StructuredPojo
Creates a site-to-site VPN attachment.
Constructor and Description |
---|
SiteToSiteVpnAttachment() |
Modifier and Type | Method and Description |
---|---|
SiteToSiteVpnAttachment |
clone() |
boolean |
equals(Object obj) |
Attachment |
getAttachment()
Provides details about a site-to-site VPN attachment.
|
String |
getVpnConnectionArn()
The ARN of the site-to-site VPN attachment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttachment(Attachment attachment)
Provides details about a site-to-site VPN attachment.
|
void |
setVpnConnectionArn(String vpnConnectionArn)
The ARN of the site-to-site VPN attachment.
|
String |
toString()
Returns a string representation of this object.
|
SiteToSiteVpnAttachment |
withAttachment(Attachment attachment)
Provides details about a site-to-site VPN attachment.
|
SiteToSiteVpnAttachment |
withVpnConnectionArn(String vpnConnectionArn)
The ARN of the site-to-site VPN attachment.
|
public void setAttachment(Attachment attachment)
Provides details about a site-to-site VPN attachment.
attachment
- Provides details about a site-to-site VPN attachment.public Attachment getAttachment()
Provides details about a site-to-site VPN attachment.
public SiteToSiteVpnAttachment withAttachment(Attachment attachment)
Provides details about a site-to-site VPN attachment.
attachment
- Provides details about a site-to-site VPN attachment.public void setVpnConnectionArn(String vpnConnectionArn)
The ARN of the site-to-site VPN attachment.
vpnConnectionArn
- The ARN of the site-to-site VPN attachment.public String getVpnConnectionArn()
The ARN of the site-to-site VPN attachment.
public SiteToSiteVpnAttachment withVpnConnectionArn(String vpnConnectionArn)
The ARN of the site-to-site VPN attachment.
vpnConnectionArn
- The ARN of the site-to-site VPN attachment.public String toString()
toString
in class Object
Object.toString()
public SiteToSiteVpnAttachment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.