Interface RevokeSecurityGroupEgressRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<RevokeSecurityGroupEgressRequest.Builder,
,RevokeSecurityGroupEgressRequest> Ec2Request.Builder
,SdkBuilder<RevokeSecurityGroupEgressRequest.Builder,
,RevokeSecurityGroupEgressRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
RevokeSecurityGroupEgressRequest
-
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 sets of IP permissions.ipPermissions
(Consumer<IpPermission.Builder>... ipPermissions) The sets of IP permissions.ipPermissions
(IpPermission... ipPermissions) The sets of IP permissions.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.securityGroupRuleIds
(String... securityGroupRuleIds) The IDs of the security group rules.securityGroupRuleIds
(Collection<String> securityGroupRuleIds) The IDs of the security group rules.sourceSecurityGroupName
(String sourceSecurityGroupName) Not supported.sourceSecurityGroupOwnerId
(String sourceSecurityGroupOwnerId) Not supported.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 sets of IP permissions. You can't specify a destination security group and a CIDR IP address range in the same set of permissions.
- Parameters:
ipPermissions
- The sets of IP permissions. You can't specify a destination security group and a CIDR IP address range in the same set of permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipPermissions
The sets of IP permissions. You can't specify a destination security group and a CIDR IP address range in the same set of permissions.
- Parameters:
ipPermissions
- The sets of IP permissions. You can't specify a destination security group and a CIDR IP address range in the same set of permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipPermissions
RevokeSecurityGroupEgressRequest.Builder ipPermissions(Consumer<IpPermission.Builder>... ipPermissions) The sets of IP permissions. You can't specify a destination security group and a CIDR IP address range in the same set of permissions.
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:
-
securityGroupRuleIds
RevokeSecurityGroupEgressRequest.Builder securityGroupRuleIds(Collection<String> securityGroupRuleIds) The IDs of the security group rules.
- Parameters:
securityGroupRuleIds
- The IDs of the security group rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupRuleIds
The IDs of the security group rules.
- Parameters:
securityGroupRuleIds
- The IDs of the security group rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cidrIp
Not supported. Use a set of IP permissions to specify the CIDR.
- Parameters:
cidrIp
- Not supported. Use a set of IP permissions to specify the CIDR.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fromPort
Not supported. Use a set of IP permissions to specify the port.
- Parameters:
fromPort
- Not supported. Use a set of IP permissions to specify the port.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipProtocol
Not supported. Use a set of IP permissions to specify the protocol name or number.
- Parameters:
ipProtocol
- Not supported. Use a set of IP permissions to specify the protocol name or number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toPort
Not supported. Use a set of IP permissions to specify the port.
- Parameters:
toPort
- Not supported. Use a set of IP permissions to specify the port.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceSecurityGroupName
Not supported. Use a set of IP permissions to specify a destination security group.
- Parameters:
sourceSecurityGroupName
- Not supported. Use a set of IP permissions to specify a destination security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceSecurityGroupOwnerId
RevokeSecurityGroupEgressRequest.Builder sourceSecurityGroupOwnerId(String sourceSecurityGroupOwnerId) Not supported. Use a set of IP permissions to specify a destination security group.
- Parameters:
sourceSecurityGroupOwnerId
- Not supported. Use a set of IP permissions to specify a destination security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
RevokeSecurityGroupEgressRequest.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
RevokeSecurityGroupEgressRequest.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.
-