Interface AuthorizeCacheSecurityGroupIngressRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AuthorizeCacheSecurityGroupIngressRequest.Builder,
,AuthorizeCacheSecurityGroupIngressRequest> ElastiCacheRequest.Builder
,SdkBuilder<AuthorizeCacheSecurityGroupIngressRequest.Builder,
,AuthorizeCacheSecurityGroupIngressRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AuthorizeCacheSecurityGroupIngressRequest
public static interface AuthorizeCacheSecurityGroupIngressRequest.Builder
extends ElastiCacheRequest.Builder, SdkPojo, CopyableBuilder<AuthorizeCacheSecurityGroupIngressRequest.Builder,AuthorizeCacheSecurityGroupIngressRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncacheSecurityGroupName
(String cacheSecurityGroupName) The cache security group that allows network ingress.ec2SecurityGroupName
(String ec2SecurityGroupName) The Amazon EC2 security group to be authorized for ingress to the cache security group.ec2SecurityGroupOwnerId
(String ec2SecurityGroupOwnerId) The Amazon account number of the Amazon EC2 security group owner.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.elasticache.model.ElastiCacheRequest.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
-
cacheSecurityGroupName
AuthorizeCacheSecurityGroupIngressRequest.Builder cacheSecurityGroupName(String cacheSecurityGroupName) The cache security group that allows network ingress.
- Parameters:
cacheSecurityGroupName
- The cache security group that allows network ingress.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2SecurityGroupName
The Amazon EC2 security group to be authorized for ingress to the cache security group.
- Parameters:
ec2SecurityGroupName
- The Amazon EC2 security group to be authorized for ingress to the cache security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2SecurityGroupOwnerId
AuthorizeCacheSecurityGroupIngressRequest.Builder ec2SecurityGroupOwnerId(String ec2SecurityGroupOwnerId) The Amazon account number of the Amazon EC2 security group owner. Note that this is not the same thing as an Amazon access key ID - you must provide a valid Amazon account number for this parameter.
- Parameters:
ec2SecurityGroupOwnerId
- The Amazon account number of the Amazon EC2 security group owner. Note that this is not the same thing as an Amazon access key ID - you must provide a valid Amazon account number for this parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AuthorizeCacheSecurityGroupIngressRequest.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
AuthorizeCacheSecurityGroupIngressRequest.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.
-