@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SecurityGroupReference extends Object implements Serializable, Cloneable
Describes a VPC with a security group that references your security group.
Constructor and Description |
---|
SecurityGroupReference() |
Modifier and Type | Method and Description |
---|---|
SecurityGroupReference |
clone() |
boolean |
equals(Object obj) |
String |
getGroupId()
The ID of your security group.
|
String |
getReferencingVpcId()
The ID of the VPC with the referencing security group.
|
String |
getTransitGatewayId()
|
String |
getVpcPeeringConnectionId()
The ID of the VPC peering connection (if applicable).
|
int |
hashCode() |
void |
setGroupId(String groupId)
The ID of your security group.
|
void |
setReferencingVpcId(String referencingVpcId)
The ID of the VPC with the referencing security group.
|
void |
setTransitGatewayId(String transitGatewayId)
|
void |
setVpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of the VPC peering connection (if applicable).
|
String |
toString()
Returns a string representation of this object.
|
SecurityGroupReference |
withGroupId(String groupId)
The ID of your security group.
|
SecurityGroupReference |
withReferencingVpcId(String referencingVpcId)
The ID of the VPC with the referencing security group.
|
SecurityGroupReference |
withTransitGatewayId(String transitGatewayId)
|
SecurityGroupReference |
withVpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of the VPC peering connection (if applicable).
|
public void setGroupId(String groupId)
The ID of your security group.
groupId
- The ID of your security group.public String getGroupId()
The ID of your security group.
public SecurityGroupReference withGroupId(String groupId)
The ID of your security group.
groupId
- The ID of your security group.public void setReferencingVpcId(String referencingVpcId)
The ID of the VPC with the referencing security group.
referencingVpcId
- The ID of the VPC with the referencing security group.public String getReferencingVpcId()
The ID of the VPC with the referencing security group.
public SecurityGroupReference withReferencingVpcId(String referencingVpcId)
The ID of the VPC with the referencing security group.
referencingVpcId
- The ID of the VPC with the referencing security group.public void setVpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of the VPC peering connection (if applicable). For more information about security group referencing for peering connections, see Update your security groups to reference peer security groups in the VPC Peering Guide.
vpcPeeringConnectionId
- The ID of the VPC peering connection (if applicable). For more information about security group
referencing for peering connections, see Update your
security groups to reference peer security groups in the VPC Peering Guide.public String getVpcPeeringConnectionId()
The ID of the VPC peering connection (if applicable). For more information about security group referencing for peering connections, see Update your security groups to reference peer security groups in the VPC Peering Guide.
public SecurityGroupReference withVpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of the VPC peering connection (if applicable). For more information about security group referencing for peering connections, see Update your security groups to reference peer security groups in the VPC Peering Guide.
vpcPeeringConnectionId
- The ID of the VPC peering connection (if applicable). For more information about security group
referencing for peering connections, see Update your
security groups to reference peer security groups in the VPC Peering Guide.public void setTransitGatewayId(String transitGatewayId)
This parameter is in preview and may not be available for your account.
The ID of the transit gateway (if applicable).
transitGatewayId
- This parameter is in preview and may not be available for your account.
The ID of the transit gateway (if applicable).
public String getTransitGatewayId()
This parameter is in preview and may not be available for your account.
The ID of the transit gateway (if applicable).
This parameter is in preview and may not be available for your account.
The ID of the transit gateway (if applicable).
public SecurityGroupReference withTransitGatewayId(String transitGatewayId)
This parameter is in preview and may not be available for your account.
The ID of the transit gateway (if applicable).
transitGatewayId
- This parameter is in preview and may not be available for your account.
The ID of the transit gateway (if applicable).
public String toString()
toString
in class Object
Object.toString()
public SecurityGroupReference clone()