Interface AwsEc2SecurityGroupUserIdGroupPair.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AwsEc2SecurityGroupUserIdGroupPair.Builder,AwsEc2SecurityGroupUserIdGroupPair>, SdkBuilder<AwsEc2SecurityGroupUserIdGroupPair.Builder,AwsEc2SecurityGroupUserIdGroupPair>, SdkPojo
Enclosing class:
AwsEc2SecurityGroupUserIdGroupPair

public static interface AwsEc2SecurityGroupUserIdGroupPair.Builder extends SdkPojo, CopyableBuilder<AwsEc2SecurityGroupUserIdGroupPair.Builder,AwsEc2SecurityGroupUserIdGroupPair>
  • Method Details

    • 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

      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

      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

      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.