Interface UserIdGroupPair.Builder

    • Method Detail

      • description

        UserIdGroupPair.Builder description​(String description)

        A description for the security group rule that references this user ID group pair.

        Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$*

        Parameters:
        description - A description for the security group rule that references this user ID group pair.

        Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$*

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

        UserIdGroupPair.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

        UserIdGroupPair.Builder groupName​(String groupName)

        [Default VPC] The name of the security group. For a security group in a nondefault VPC, use the security group ID.

        For a referenced security group in another VPC, this value is not returned if the referenced security group is deleted.

        Parameters:
        groupName - [Default VPC] The name of the security group. For a security group in a nondefault VPC, use the security group ID.

        For a referenced security group in another VPC, this value is not returned if the referenced security group is deleted.

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

        UserIdGroupPair.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

        UserIdGroupPair.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.

        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.

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

        UserIdGroupPair.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

        UserIdGroupPair.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.