Class CfnServerlessCacheSnapshot.ServerlessCacheConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.elasticache.CfnServerlessCacheSnapshot.ServerlessCacheConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServerlessCacheSnapshot.ServerlessCacheConfigurationProperty>
- Enclosing interface:
CfnServerlessCacheSnapshot.ServerlessCacheConfigurationProperty
@Stability(Stable)
public static final class CfnServerlessCacheSnapshot.ServerlessCacheConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServerlessCacheSnapshot.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 CfnServerlessCacheSnapshot.ServerlessCacheConfigurationProperty.Builder engine(String engine) - Parameters:
engine- The engine that the serverless cache is configured with.- Returns:
this
-
majorEngineVersion
@Stability(Stable) public CfnServerlessCacheSnapshot.ServerlessCacheConfigurationProperty.Builder majorEngineVersion(String majorEngineVersion) Sets the value ofCfnServerlessCacheSnapshot.ServerlessCacheConfigurationProperty.getMajorEngineVersion()- Parameters:
majorEngineVersion- The engine version number that the serverless cache is configured with.- Returns:
this
-
serverlessCacheName
@Stability(Stable) public CfnServerlessCacheSnapshot.ServerlessCacheConfigurationProperty.Builder serverlessCacheName(String serverlessCacheName) Sets the value ofCfnServerlessCacheSnapshot.ServerlessCacheConfigurationProperty.getServerlessCacheName()- Parameters:
serverlessCacheName- The identifier of the serverless cache.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServerlessCacheSnapshot.ServerlessCacheConfigurationProperty>- Returns:
- a new instance of
CfnServerlessCacheSnapshot.ServerlessCacheConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-