Package com.amazonaws.services.ec2.model
Class SecurityGroupReference
java.lang.Object
com.amazonaws.services.ec2.model.SecurityGroupReference
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a VPC with a security group that references your security group.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The ID of your security group.The ID of the VPC with the referencing security group.The ID of the VPC peering connection.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
setVpcPeeringConnectionId
(String vpcPeeringConnectionId) The ID of the VPC peering connection.toString()
Returns a string representation of this object; useful for testing and debugging.withGroupId
(String groupId) The ID of your security group.withReferencingVpcId
(String referencingVpcId) The ID of the VPC with the referencing security group.withVpcPeeringConnectionId
(String vpcPeeringConnectionId) The ID of the VPC peering connection.
-
Constructor Details
-
SecurityGroupReference
public SecurityGroupReference()
-
-
Method Details
-
setGroupId
The ID of your security group.
- Parameters:
groupId
- The ID of your security group.
-
getGroupId
The ID of your security group.
- Returns:
- The ID of your security group.
-
withGroupId
The ID of your security group.
- Parameters:
groupId
- The ID of your security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setReferencingVpcId
The ID of the VPC with the referencing security group.
- Parameters:
referencingVpcId
- The ID of the VPC with the referencing security group.
-
getReferencingVpcId
The ID of the VPC with the referencing security group.
- Returns:
- The ID of the VPC with the referencing security group.
-
withReferencingVpcId
The ID of the VPC with the referencing security group.
- Parameters:
referencingVpcId
- The ID of the VPC with the referencing security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVpcPeeringConnectionId
The ID of the VPC peering connection.
- Parameters:
vpcPeeringConnectionId
- The ID of the VPC peering connection.
-
getVpcPeeringConnectionId
The ID of the VPC peering connection.
- Returns:
- The ID of the VPC peering connection.
-
withVpcPeeringConnectionId
The ID of the VPC peering connection.
- Parameters:
vpcPeeringConnectionId
- The ID of the VPC peering connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-