Interface AuthorizeSecurityGroupEgressRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AuthorizeSecurityGroupEgressRequest.Builder,AuthorizeSecurityGroupEgressRequest>
,Ec2Request.Builder
,SdkBuilder<AuthorizeSecurityGroupEgressRequest.Builder,AuthorizeSecurityGroupEgressRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- AuthorizeSecurityGroupEgressRequest
public static interface AuthorizeSecurityGroupEgressRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<AuthorizeSecurityGroupEgressRequest.Builder,AuthorizeSecurityGroupEgressRequest>
-
-
Method Summary
-
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 Detail
-
dryRun
AuthorizeSecurityGroupEgressRequest.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 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
AuthorizeSecurityGroupEgressRequest.Builder groupId(String 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
AuthorizeSecurityGroupEgressRequest.Builder ipPermissions(Collection<IpPermission> 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
AuthorizeSecurityGroupEgressRequest.Builder ipPermissions(IpPermission... 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
AuthorizeSecurityGroupEgressRequest.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 to#ipPermissions(List
.) - 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:
#ipPermissions(java.util.Collection
)
-
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 to#tagSpecifications(List
.) - 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:
#tagSpecifications(java.util.Collection
)
-
cidrIp
AuthorizeSecurityGroupEgressRequest.Builder cidrIp(String 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
AuthorizeSecurityGroupEgressRequest.Builder fromPort(Integer 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
AuthorizeSecurityGroupEgressRequest.Builder ipProtocol(String 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
AuthorizeSecurityGroupEgressRequest.Builder toPort(Integer 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
AuthorizeSecurityGroupEgressRequest.Builder sourceSecurityGroupName(String 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
AuthorizeSecurityGroupEgressRequest.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
AuthorizeSecurityGroupEgressRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
AuthorizeSecurityGroupEgressRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-