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 theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
Copyright © 2022. All rights reserved.