public static interface CreateSecurityGroupRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateSecurityGroupRequest.Builder,CreateSecurityGroupRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateSecurityGroupRequest.Builder description(String description)
A description for the security group.
Constraints: Up to 255 characters in length
Valid characters: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*
description - A description for the security group.
Constraints: Up to 255 characters in length
Valid characters: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*
CreateSecurityGroupRequest.Builder groupName(String groupName)
The name of the security group.
Constraints: Up to 255 characters in length. Cannot start with sg-.
Valid characters: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*
groupName - The name of the security group.
Constraints: Up to 255 characters in length. Cannot start with sg-.
Valid characters: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*
CreateSecurityGroupRequest.Builder vpcId(String vpcId)
The ID of the VPC. Required for a nondefault VPC.
vpcId - The ID of the VPC. Required for a nondefault VPC.CreateSecurityGroupRequest.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to assign to the security group.
tagSpecifications - The tags to assign to the security group.CreateSecurityGroupRequest.Builder tagSpecifications(TagSpecification... tagSpecifications)
The tags to assign to the security group.
tagSpecifications - The tags to assign to the security group.CreateSecurityGroupRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to assign to the security group.
This is a convenience method that creates an instance of theTagSpecification.Builder avoiding the need to create one
manually via TagSpecification.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #tagSpecifications(List.
tagSpecifications - a consumer that will call methods on
TagSpecification.Builder#tagSpecifications(java.util.Collection) CreateSecurityGroupRequest.Builder dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and
provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it is UnauthorizedOperation.
dryRun - Checks whether you have the required permissions for the action, without actually making the request,
and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it is UnauthorizedOperation.CreateSecurityGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateSecurityGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.