Class CfnServerlessCacheSnapshotPropsMixin.ServerlessCacheConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.elasticache.CfnServerlessCacheSnapshotPropsMixin.ServerlessCacheConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServerlessCacheSnapshotPropsMixin.ServerlessCacheConfigurationProperty>
- Enclosing interface:
CfnServerlessCacheSnapshotPropsMixin.ServerlessCacheConfigurationProperty
@Stability(Stable)
public static final class CfnServerlessCacheSnapshotPropsMixin.ServerlessCacheConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServerlessCacheSnapshotPropsMixin.ServerlessCacheConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.majorEngineVersion(String majorEngineVersion) serverlessCacheName(String serverlessCacheName)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
engine
@Stability(Stable) public CfnServerlessCacheSnapshotPropsMixin.ServerlessCacheConfigurationProperty.Builder engine(String engine) Sets the value ofCfnServerlessCacheSnapshotPropsMixin.ServerlessCacheConfigurationProperty.getEngine()- Parameters:
engine- The engine that the serverless cache is configured with.- Returns:
this
-
majorEngineVersion
@Stability(Stable) public CfnServerlessCacheSnapshotPropsMixin.ServerlessCacheConfigurationProperty.Builder majorEngineVersion(String majorEngineVersion) Sets the value ofCfnServerlessCacheSnapshotPropsMixin.ServerlessCacheConfigurationProperty.getMajorEngineVersion()- Parameters:
majorEngineVersion- The engine version number that the serverless cache is configured with.- Returns:
this
-
serverlessCacheName
@Stability(Stable) public CfnServerlessCacheSnapshotPropsMixin.ServerlessCacheConfigurationProperty.Builder serverlessCacheName(String serverlessCacheName) Sets the value ofCfnServerlessCacheSnapshotPropsMixin.ServerlessCacheConfigurationProperty.getServerlessCacheName()- Parameters:
serverlessCacheName- The identifier of the serverless cache.- Returns:
this
-
build
@Stability(Stable) public CfnServerlessCacheSnapshotPropsMixin.ServerlessCacheConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServerlessCacheSnapshotPropsMixin.ServerlessCacheConfigurationProperty>- Returns:
- a new instance of
CfnServerlessCacheSnapshotPropsMixin.ServerlessCacheConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-