Interface SecurityGroupForVpc.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SecurityGroupForVpc.Builder,SecurityGroupForVpc>,SdkBuilder<SecurityGroupForVpc.Builder,SecurityGroupForVpc>,SdkPojo
- Enclosing class:
- SecurityGroupForVpc
@Mutable @NotThreadSafe public static interface SecurityGroupForVpc.Builder extends SdkPojo, CopyableBuilder<SecurityGroupForVpc.Builder,SecurityGroupForVpc>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SecurityGroupForVpc.Builderdescription(String description)The security group's description.SecurityGroupForVpc.BuildergroupId(String groupId)The security group ID.SecurityGroupForVpc.BuildergroupName(String groupName)The security group name.SecurityGroupForVpc.BuilderownerId(String ownerId)The security group owner ID.SecurityGroupForVpc.BuilderprimaryVpcId(String primaryVpcId)The VPC ID in which the security group was created.SecurityGroupForVpc.Buildertags(Collection<Tag> tags)The security group tags.SecurityGroupForVpc.Buildertags(Consumer<Tag.Builder>... tags)The security group tags.SecurityGroupForVpc.Buildertags(Tag... tags)The security group tags.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
description
SecurityGroupForVpc.Builder description(String description)
The security group's description.
- Parameters:
description- The security group's description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupName
SecurityGroupForVpc.Builder groupName(String groupName)
The security group name.
- Parameters:
groupName- The security group name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerId
SecurityGroupForVpc.Builder ownerId(String ownerId)
The security group owner ID.
- Parameters:
ownerId- The security group owner ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupId
SecurityGroupForVpc.Builder groupId(String groupId)
The security group ID.
- Parameters:
groupId- The security group ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
SecurityGroupForVpc.Builder tags(Collection<Tag> tags)
The security group tags.
- Parameters:
tags- The security group tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
SecurityGroupForVpc.Builder tags(Tag... tags)
The security group tags.
- Parameters:
tags- The security group tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
SecurityGroupForVpc.Builder tags(Consumer<Tag.Builder>... tags)
The security group tags.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
primaryVpcId
SecurityGroupForVpc.Builder primaryVpcId(String primaryVpcId)
The VPC ID in which the security group was created.
- Parameters:
primaryVpcId- The VPC ID in which the security group was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-