@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) |
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.
|
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. This field is redundant because the specified subnet implies the Availability Zone to be used. Currently the field must be populated, but it will be deprecated in the future.
availabilityZone
- The connection's Availability Zone. This field is redundant because the specified subnet implies the
Availability Zone to be used. Currently the field must be populated, but it will be deprecated in the
future.public String getAvailabilityZone()
The connection's Availability Zone. This field is redundant because the specified subnet implies the Availability Zone to be used. Currently the field must be populated, but it will be deprecated in the future.
public PhysicalConnectionRequirements withAvailabilityZone(String availabilityZone)
The connection's Availability Zone. This field is redundant because the specified subnet implies the Availability Zone to be used. Currently the field must be populated, but it will be deprecated in the future.
availabilityZone
- The connection's Availability Zone. This field is redundant because the specified subnet implies the
Availability Zone to be used. Currently the field must be populated, but it will be deprecated in the
future.public String toString()
toString
in class Object
Object.toString()
public PhysicalConnectionRequirements clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2019. All rights reserved.