@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcAttachment extends Object implements Serializable, Cloneable, StructuredPojo
Describes a VPC attachment.
Constructor and Description |
---|
VpcAttachment() |
Modifier and Type | Method and Description |
---|---|
VpcAttachment |
clone() |
boolean |
equals(Object obj) |
Attachment |
getAttachment()
Provides details about the VPC attachment.
|
VpcOptions |
getOptions()
Provides details about the VPC attachment.
|
List<String> |
getSubnetArns()
The subnet ARNs.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttachment(Attachment attachment)
Provides details about the VPC attachment.
|
void |
setOptions(VpcOptions options)
Provides details about the VPC attachment.
|
void |
setSubnetArns(Collection<String> subnetArns)
The subnet ARNs.
|
String |
toString()
Returns a string representation of this object.
|
VpcAttachment |
withAttachment(Attachment attachment)
Provides details about the VPC attachment.
|
VpcAttachment |
withOptions(VpcOptions options)
Provides details about the VPC attachment.
|
VpcAttachment |
withSubnetArns(Collection<String> subnetArns)
The subnet ARNs.
|
VpcAttachment |
withSubnetArns(String... subnetArns)
The subnet ARNs.
|
public void setAttachment(Attachment attachment)
Provides details about the VPC attachment.
attachment
- Provides details about the VPC attachment.public Attachment getAttachment()
Provides details about the VPC attachment.
public VpcAttachment withAttachment(Attachment attachment)
Provides details about the VPC attachment.
attachment
- Provides details about the VPC attachment.public void setSubnetArns(Collection<String> subnetArns)
The subnet ARNs.
subnetArns
- The subnet ARNs.public VpcAttachment withSubnetArns(String... subnetArns)
The subnet ARNs.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetArns(java.util.Collection)
or withSubnetArns(java.util.Collection)
if you want to
override the existing values.
subnetArns
- The subnet ARNs.public VpcAttachment withSubnetArns(Collection<String> subnetArns)
The subnet ARNs.
subnetArns
- The subnet ARNs.public void setOptions(VpcOptions options)
Provides details about the VPC attachment.
options
- Provides details about the VPC attachment.public VpcOptions getOptions()
Provides details about the VPC attachment.
public VpcAttachment withOptions(VpcOptions options)
Provides details about the VPC attachment.
options
- Provides details about the VPC attachment.public String toString()
toString
in class Object
Object.toString()
public VpcAttachment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.