Interface AwsEc2SecurityGroupUserIdGroupPair.Builder

    • Method Detail

      • groupId

        AwsEc2SecurityGroupUserIdGroupPair.Builder groupId​(String groupId)

        The ID of the security group.

        Parameters:
        groupId - The ID of the security group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groupName

        AwsEc2SecurityGroupUserIdGroupPair.Builder groupName​(String groupName)

        The name of the security group.

        Parameters:
        groupName - The name of the security group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • peeringStatus

        AwsEc2SecurityGroupUserIdGroupPair.Builder peeringStatus​(String peeringStatus)

        The status of a VPC peering connection, if applicable.

        Parameters:
        peeringStatus - The status of a VPC peering connection, if applicable.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userId

        AwsEc2SecurityGroupUserIdGroupPair.Builder userId​(String userId)

        The ID of an Amazon Web Services account.

        For a referenced security group in another VPC, the account ID of the referenced security group is returned in the response. If the referenced security group is deleted, this value is not returned.

        [EC2-Classic] Required when adding or removing rules that reference a security group in another VPC.

        Parameters:
        userId - The ID of an Amazon Web Services account.

        For a referenced security group in another VPC, the account ID of the referenced security group is returned in the response. If the referenced security group is deleted, this value is not returned.

        [EC2-Classic] Required when adding or removing rules that reference a security group in another VPC.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vpcId

        AwsEc2SecurityGroupUserIdGroupPair.Builder vpcId​(String vpcId)

        The ID of the VPC for the referenced security group, if applicable.

        Parameters:
        vpcId - The ID of the VPC for the referenced security group, if applicable.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vpcPeeringConnectionId

        AwsEc2SecurityGroupUserIdGroupPair.Builder vpcPeeringConnectionId​(String vpcPeeringConnectionId)

        The ID of the VPC peering connection, if applicable.

        Parameters:
        vpcPeeringConnectionId - The ID of the VPC peering connection, if applicable.
        Returns:
        Returns a reference to this object so that method calls can be chained together.