Interface UpdateSecurityGroupRuleDescriptionsEgressRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateSecurityGroupRuleDescriptionsEgressRequest.Builder,UpdateSecurityGroupRuleDescriptionsEgressRequest>
,Ec2Request.Builder
,SdkBuilder<UpdateSecurityGroupRuleDescriptionsEgressRequest.Builder,UpdateSecurityGroupRuleDescriptionsEgressRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- UpdateSecurityGroupRuleDescriptionsEgressRequest
public static interface UpdateSecurityGroupRuleDescriptionsEgressRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<UpdateSecurityGroupRuleDescriptionsEgressRequest.Builder,UpdateSecurityGroupRuleDescriptionsEgressRequest>
-
-
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
UpdateSecurityGroupRuleDescriptionsEgressRequest.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
UpdateSecurityGroupRuleDescriptionsEgressRequest.Builder groupId(String groupId)
The ID of the security group. You must specify either the security group ID or the security group name in the request. For security groups in a nondefault VPC, you must specify the security group ID.
- Parameters:
groupId
- The ID of the security group. You must specify either the security group ID or the security group name in the request. For security groups in a nondefault VPC, you must specify the security group ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupName
UpdateSecurityGroupRuleDescriptionsEgressRequest.Builder groupName(String groupName)
[Default VPC] The name of the security group. You must specify either the security group ID or the security group name.
- Parameters:
groupName
- [Default VPC] The name of the security group. You must specify either the security group ID or the security group name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipPermissions
UpdateSecurityGroupRuleDescriptionsEgressRequest.Builder ipPermissions(Collection<IpPermission> ipPermissions)
The IP permissions for the security group rule. You must specify either the IP permissions or the description.
- Parameters:
ipPermissions
- The IP permissions for the security group rule. You must specify either the IP permissions or the description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipPermissions
UpdateSecurityGroupRuleDescriptionsEgressRequest.Builder ipPermissions(IpPermission... ipPermissions)
The IP permissions for the security group rule. You must specify either the IP permissions or the description.
- Parameters:
ipPermissions
- The IP permissions for the security group rule. You must specify either the IP permissions or the description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipPermissions
UpdateSecurityGroupRuleDescriptionsEgressRequest.Builder ipPermissions(Consumer<IpPermission.Builder>... ipPermissions)
The IP permissions for the security group rule. You must specify either the IP permissions or the description.
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
)
-
securityGroupRuleDescriptions
UpdateSecurityGroupRuleDescriptionsEgressRequest.Builder securityGroupRuleDescriptions(Collection<SecurityGroupRuleDescription> securityGroupRuleDescriptions)
The description for the egress security group rules. You must specify either the description or the IP permissions.
- Parameters:
securityGroupRuleDescriptions
- The description for the egress security group rules. You must specify either the description or the IP permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupRuleDescriptions
UpdateSecurityGroupRuleDescriptionsEgressRequest.Builder securityGroupRuleDescriptions(SecurityGroupRuleDescription... securityGroupRuleDescriptions)
The description for the egress security group rules. You must specify either the description or the IP permissions.
- Parameters:
securityGroupRuleDescriptions
- The description for the egress security group rules. You must specify either the description or the IP permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupRuleDescriptions
UpdateSecurityGroupRuleDescriptionsEgressRequest.Builder securityGroupRuleDescriptions(Consumer<SecurityGroupRuleDescription.Builder>... securityGroupRuleDescriptions)
The description for the egress security group rules. You must specify either the description or the IP permissions.
This is a convenience method that creates an instance of theSecurityGroupRuleDescription.Builder
avoiding the need to create one manually viaSecurityGroupRuleDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#securityGroupRuleDescriptions(List
.) - Parameters:
securityGroupRuleDescriptions
- a consumer that will call methods onSecurityGroupRuleDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#securityGroupRuleDescriptions(java.util.Collection
)
-
overrideConfiguration
UpdateSecurityGroupRuleDescriptionsEgressRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateSecurityGroupRuleDescriptionsEgressRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-