Interface CreateCacheSecurityGroupResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateCacheSecurityGroupResponse.Builder,CreateCacheSecurityGroupResponse>,ElastiCacheResponse.Builder,SdkBuilder<CreateCacheSecurityGroupResponse.Builder,CreateCacheSecurityGroupResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateCacheSecurityGroupResponse
@Mutable @NotThreadSafe public static interface CreateCacheSecurityGroupResponse.Builder extends ElastiCacheResponse.Builder, SdkPojo, CopyableBuilder<CreateCacheSecurityGroupResponse.Builder,CreateCacheSecurityGroupResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateCacheSecurityGroupResponse.BuildercacheSecurityGroup(Consumer<CacheSecurityGroup.Builder> cacheSecurityGroup)Sets the value of the CacheSecurityGroup property for this object.CreateCacheSecurityGroupResponse.BuildercacheSecurityGroup(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
cacheSecurityGroup
CreateCacheSecurityGroupResponse.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 CreateCacheSecurityGroupResponse.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:
cacheSecurityGroup(CacheSecurityGroup)
-
-