Interface AuthorizeCacheSecurityGroupIngressResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AuthorizeCacheSecurityGroupIngressResponse.Builder,,AuthorizeCacheSecurityGroupIngressResponse> ElastiCacheResponse.Builder,SdkBuilder<AuthorizeCacheSecurityGroupIngressResponse.Builder,,AuthorizeCacheSecurityGroupIngressResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
AuthorizeCacheSecurityGroupIngressResponse
public static interface AuthorizeCacheSecurityGroupIngressResponse.Builder
extends ElastiCacheResponse.Builder, SdkPojo, CopyableBuilder<AuthorizeCacheSecurityGroupIngressResponse.Builder,AuthorizeCacheSecurityGroupIngressResponse>
-
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
copyMethods inherited from interface software.amazon.awssdk.services.elasticache.model.ElastiCacheResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
cacheSecurityGroup
AuthorizeCacheSecurityGroupIngressResponse.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 AuthorizeCacheSecurityGroupIngressResponse.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.Builderavoiding the need to create one manually viaCacheSecurityGroup.builder().When the
Consumercompletes,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:
-