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.
Buildable
, CopyableBuilder<SecurityGroupForVpc.Builder,SecurityGroupForVpc>
, SdkBuilder<SecurityGroupForVpc.Builder,SecurityGroupForVpc>
, SdkPojo
SecurityGroupForVpc
description(String description)
primaryVpcId(String primaryVpcId)
tags(Collection<Tag> tags)
tags(Consumer<Tag.Builder>... tags)
copy
applyMutation, build
equalsBySdkFields, sdkFields
The security group's description.
description
- The security group's description.The security group name.
groupName
- The security group name.The security group owner ID.
ownerId
- The security group owner ID.The security group ID.
groupId
- The security group ID.The security group tags.
tags
- The security group tags.The security group tags.
tags
- The security group tags.The security group tags.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually via
Tag.builder()
.
When the Consumer
completes, SdkBuilder.build()
is
called immediately and its result is passed to tags(List<Tag>)
.
tags
- a consumer that will call methods on Tag.Builder
The VPC ID in which the security group was created.
primaryVpcId
- The VPC ID in which the security group was created.