Interface AuthorizeSecurityGroupEgressRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AuthorizeSecurityGroupEgressRequest.Builder,
,AuthorizeSecurityGroupEgressRequest> Ec2Request.Builder
,SdkBuilder<AuthorizeSecurityGroupEgressRequest.Builder,
,AuthorizeSecurityGroupEgressRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AuthorizeSecurityGroupEgressRequest
-
Method Summary
Modifier and TypeMethodDescriptionNot supported.Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.Not supported.The ID of the security group.ipPermissions
(Collection<IpPermission> ipPermissions) The permissions for the security group rules.ipPermissions
(Consumer<IpPermission.Builder>... ipPermissions) The permissions for the security group rules.ipPermissions
(IpPermission... ipPermissions) The permissions for the security group rules.ipProtocol
(String ipProtocol) Not supported.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sourceSecurityGroupName
(String sourceSecurityGroupName) Not supported.sourceSecurityGroupOwnerId
(String sourceSecurityGroupOwnerId) Not supported.tagSpecifications
(Collection<TagSpecification> tagSpecifications) The tags applied to the security group rule.tagSpecifications
(Consumer<TagSpecification.Builder>... tagSpecifications) The tags applied to the security group rule.tagSpecifications
(TagSpecification... tagSpecifications) The tags applied to the security group rule.Not supported.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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 isUnauthorizedOperation
.- Parameters:
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 isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupId
The ID of the security group.
- Parameters:
groupId
- The ID of the security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipPermissions
The permissions for the security group rules.
- Parameters:
ipPermissions
- The permissions for the security group rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipPermissions
The permissions for the security group rules.
- Parameters:
ipPermissions
- The permissions for the security group rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipPermissions
AuthorizeSecurityGroupEgressRequest.Builder ipPermissions(Consumer<IpPermission.Builder>... ipPermissions) The permissions for the security group rules.
This is a convenience method that creates an instance of theIpPermission.Builder
avoiding the need to create one manually viaIpPermission.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toipPermissions(List<IpPermission>)
.- Parameters:
ipPermissions
- a consumer that will call methods onIpPermission.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tagSpecifications
AuthorizeSecurityGroupEgressRequest.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications) The tags applied to the security group rule.
- Parameters:
tagSpecifications
- The tags applied to the security group rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
AuthorizeSecurityGroupEgressRequest.Builder tagSpecifications(TagSpecification... tagSpecifications) The tags applied to the security group rule.
- Parameters:
tagSpecifications
- The tags applied to the security group rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
AuthorizeSecurityGroupEgressRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications) The tags applied to the security group rule.
This is a convenience method that creates an instance of theTagSpecification.Builder
avoiding the need to create one manually viaTagSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totagSpecifications(List<TagSpecification>)
.- Parameters:
tagSpecifications
- a consumer that will call methods onTagSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cidrIp
Not supported. Use IP permissions instead.
- Parameters:
cidrIp
- Not supported. Use IP permissions instead.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fromPort
Not supported. Use IP permissions instead.
- Parameters:
fromPort
- Not supported. Use IP permissions instead.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipProtocol
Not supported. Use IP permissions instead.
- Parameters:
ipProtocol
- Not supported. Use IP permissions instead.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toPort
Not supported. Use IP permissions instead.
- Parameters:
toPort
- Not supported. Use IP permissions instead.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceSecurityGroupName
Not supported. Use IP permissions instead.
- Parameters:
sourceSecurityGroupName
- Not supported. Use IP permissions instead.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceSecurityGroupOwnerId
AuthorizeSecurityGroupEgressRequest.Builder sourceSecurityGroupOwnerId(String sourceSecurityGroupOwnerId) Not supported. Use IP permissions instead.
- Parameters:
sourceSecurityGroupOwnerId
- Not supported. Use IP permissions instead.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AuthorizeSecurityGroupEgressRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AuthorizeSecurityGroupEgressRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-