Interface RevokeCacheSecurityGroupIngressResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<RevokeCacheSecurityGroupIngressResponse.Builder,
,RevokeCacheSecurityGroupIngressResponse> ElastiCacheResponse.Builder
,SdkBuilder<RevokeCacheSecurityGroupIngressResponse.Builder,
,RevokeCacheSecurityGroupIngressResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
RevokeCacheSecurityGroupIngressResponse
public static interface RevokeCacheSecurityGroupIngressResponse.Builder
extends ElastiCacheResponse.Builder, SdkPojo, CopyableBuilder<RevokeCacheSecurityGroupIngressResponse.Builder,RevokeCacheSecurityGroupIngressResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncacheSecurityGroup
(Consumer<CacheSecurityGroup.Builder> cacheSecurityGroup) Sets the value of the CacheSecurityGroup property for this object.cacheSecurityGroup
(CacheSecurityGroup cacheSecurityGroup) Sets the value of the CacheSecurityGroup property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.elasticache.model.ElastiCacheResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
cacheSecurityGroup
RevokeCacheSecurityGroupIngressResponse.Builder cacheSecurityGroup(CacheSecurityGroup cacheSecurityGroup) Sets the value of the CacheSecurityGroup property for this object.- Parameters:
cacheSecurityGroup
- The new value for the CacheSecurityGroup property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheSecurityGroup
default RevokeCacheSecurityGroupIngressResponse.Builder cacheSecurityGroup(Consumer<CacheSecurityGroup.Builder> cacheSecurityGroup) Sets the value of the CacheSecurityGroup property for this object. This is a convenience method that creates an instance of theCacheSecurityGroup.Builder
avoiding the need to create one manually viaCacheSecurityGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocacheSecurityGroup(CacheSecurityGroup)
.- Parameters:
cacheSecurityGroup
- a consumer that will call methods onCacheSecurityGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-