public static interface CreateSecurityGroupResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateSecurityGroupResponse.Builder,CreateSecurityGroupResponse>
Modifier and Type | Method and Description |
---|---|
CreateSecurityGroupResponse.Builder |
groupId(String groupId)
The ID of the security group.
|
CreateSecurityGroupResponse.Builder |
tags(Collection<Tag> tags)
The tags assigned to the security group.
|
CreateSecurityGroupResponse.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags assigned to the security group.
|
CreateSecurityGroupResponse.Builder |
tags(Tag... tags)
The tags assigned to the security group.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateSecurityGroupResponse.Builder groupId(String groupId)
The ID of the security group.
groupId
- The ID of the security group.CreateSecurityGroupResponse.Builder tags(Collection<Tag> tags)
The tags assigned to the security group.
tags
- The tags assigned to the security group.CreateSecurityGroupResponse.Builder tags(Tag... tags)
The tags assigned to the security group.
tags
- The tags assigned to the security group.CreateSecurityGroupResponse.Builder tags(Consumer<Tag.Builder>... tags)
The tags assigned to the security group.
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
.
tags
- a consumer that will call methods on Tag.Builder
#tags(java.util.Collection)
Copyright © 2023. All rights reserved.