Interface UserIdGroupPair.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<UserIdGroupPair.Builder,UserIdGroupPair>
,SdkBuilder<UserIdGroupPair.Builder,UserIdGroupPair>
,SdkPojo
- Enclosing class:
- UserIdGroupPair
public static interface UserIdGroupPair.Builder extends SdkPojo, CopyableBuilder<UserIdGroupPair.Builder,UserIdGroupPair>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UserIdGroupPair.Builder
description(String description)
A description for the security group rule that references this user ID group pair.UserIdGroupPair.Builder
groupId(String groupId)
The ID of the security group.UserIdGroupPair.Builder
groupName(String groupName)
[Default VPC] The name of the security group.UserIdGroupPair.Builder
peeringStatus(String peeringStatus)
The status of a VPC peering connection, if applicable.UserIdGroupPair.Builder
userId(String userId)
The ID of an Amazon Web Services account.UserIdGroupPair.Builder
vpcId(String vpcId)
The ID of the VPC for the referenced security group, if applicable.UserIdGroupPair.Builder
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 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.
-
-