@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PhysicalConnectionRequirements extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the physical requirements for a connection.
Constructor and Description |
---|
PhysicalConnectionRequirements() |
Modifier and Type | Method and Description |
---|---|
PhysicalConnectionRequirements |
clone() |
boolean |
equals(Object obj) |
String |
getAvailabilityZone()
The connection's availability zone.
|
List<String> |
getSecurityGroupIdList()
The security group ID list used by the connection.
|
String |
getSubnetId()
The subnet ID used by the connection.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAvailabilityZone(String availabilityZone)
The connection's availability zone.
|
void |
setSecurityGroupIdList(Collection<String> securityGroupIdList)
The security group ID list used by the connection.
|
void |
setSubnetId(String subnetId)
The subnet ID used by the connection.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PhysicalConnectionRequirements |
withAvailabilityZone(String availabilityZone)
The connection's availability zone.
|
PhysicalConnectionRequirements |
withSecurityGroupIdList(Collection<String> securityGroupIdList)
The security group ID list used by the connection.
|
PhysicalConnectionRequirements |
withSecurityGroupIdList(String... securityGroupIdList)
The security group ID list used by the connection.
|
PhysicalConnectionRequirements |
withSubnetId(String subnetId)
The subnet ID used by the connection.
|
public void setSubnetId(String subnetId)
The subnet ID used by the connection.
subnetId
- The subnet ID used by the connection.public String getSubnetId()
The subnet ID used by the connection.
public PhysicalConnectionRequirements withSubnetId(String subnetId)
The subnet ID used by the connection.
subnetId
- The subnet ID used by the connection.public List<String> getSecurityGroupIdList()
The security group ID list used by the connection.
public void setSecurityGroupIdList(Collection<String> securityGroupIdList)
The security group ID list used by the connection.
securityGroupIdList
- The security group ID list used by the connection.public PhysicalConnectionRequirements withSecurityGroupIdList(String... securityGroupIdList)
The security group ID list used by the connection.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupIdList(java.util.Collection)
or withSecurityGroupIdList(java.util.Collection)
if you want to override the existing values.
securityGroupIdList
- The security group ID list used by the connection.public PhysicalConnectionRequirements withSecurityGroupIdList(Collection<String> securityGroupIdList)
The security group ID list used by the connection.
securityGroupIdList
- The security group ID list used by the connection.public void setAvailabilityZone(String availabilityZone)
The connection's availability zone.
availabilityZone
- The connection's availability zone.public String getAvailabilityZone()
The connection's availability zone.
public PhysicalConnectionRequirements withAvailabilityZone(String availabilityZone)
The connection's availability zone.
availabilityZone
- The connection's availability zone.public String toString()
toString
in class Object
Object.toString()
public PhysicalConnectionRequirements clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.