Interface AwsEc2SecurityGroupUserIdGroupPair.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsEc2SecurityGroupUserIdGroupPair.Builder,
,AwsEc2SecurityGroupUserIdGroupPair> SdkBuilder<AwsEc2SecurityGroupUserIdGroupPair.Builder,
,AwsEc2SecurityGroupUserIdGroupPair> SdkPojo
- Enclosing class:
AwsEc2SecurityGroupUserIdGroupPair
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the security group.The name of the security group.peeringStatus
(String peeringStatus) The status of a VPC peering connection, if applicable.The ID of an Amazon Web Services account.The ID of the VPC for the referenced security group, if applicable.vpcPeeringConnectionId
(String vpcPeeringConnectionId) The ID of the VPC peering connection, if applicable.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
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
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.
-