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, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateSecurityGroupResponse.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 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 © 2021. All rights reserved.