Class SecurityGroupReference

    • Constructor Detail

      • SecurityGroupReference

        public SecurityGroupReference()
    • Method Detail

      • setGroupId

        public void setGroupId​(String groupId)

        The ID of your security group.

        Parameters:
        groupId - The ID of your security group.
      • getGroupId

        public String getGroupId()

        The ID of your security group.

        Returns:
        The ID of your security group.
      • withGroupId

        public SecurityGroupReference withGroupId​(String groupId)

        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

        public void setReferencingVpcId​(String referencingVpcId)

        The ID of the VPC with the referencing security group.

        Parameters:
        referencingVpcId - The ID of the VPC with the referencing security group.
      • getReferencingVpcId

        public String getReferencingVpcId()

        The ID of the VPC with the referencing security group.

        Returns:
        The ID of the VPC with the referencing security group.
      • withReferencingVpcId

        public SecurityGroupReference withReferencingVpcId​(String referencingVpcId)

        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

        public void setVpcPeeringConnectionId​(String vpcPeeringConnectionId)

        The ID of the VPC peering connection.

        Parameters:
        vpcPeeringConnectionId - The ID of the VPC peering connection.
      • getVpcPeeringConnectionId

        public String getVpcPeeringConnectionId()

        The ID of the VPC peering connection.

        Returns:
        The ID of the VPC peering connection.
      • withVpcPeeringConnectionId

        public SecurityGroupReference withVpcPeeringConnectionId​(String vpcPeeringConnectionId)

        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

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object