Interface ServerlessV2PlatformVersionInfo.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ServerlessV2PlatformVersionInfo.Builder,,ServerlessV2PlatformVersionInfo> SdkBuilder<ServerlessV2PlatformVersionInfo.Builder,,ServerlessV2PlatformVersionInfo> SdkPojo
- Enclosing class:
ServerlessV2PlatformVersionInfo
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the database engine.Specifies whether this platform version is the default version for the engine.serverlessV2FeaturesSupport(Consumer<ServerlessV2FeaturesSupport.Builder> serverlessV2FeaturesSupport) Specifies any Amazon DocumentDB Serverless v2 properties or limits that differ between platform versions.serverlessV2FeaturesSupport(ServerlessV2FeaturesSupport serverlessV2FeaturesSupport) Specifies any Amazon DocumentDB Serverless v2 properties or limits that differ between platform versions.serverlessV2PlatformVersion(String serverlessV2PlatformVersion) The version number of the serverless platform.serverlessV2PlatformVersionDescription(String serverlessV2PlatformVersionDescription) The description of the serverless platform.The status of the serverless platform.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
serverlessV2PlatformVersion
ServerlessV2PlatformVersionInfo.Builder serverlessV2PlatformVersion(String serverlessV2PlatformVersion) The version number of the serverless platform.
- Parameters:
serverlessV2PlatformVersion- The version number of the serverless platform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverlessV2PlatformVersionDescription
ServerlessV2PlatformVersionInfo.Builder serverlessV2PlatformVersionDescription(String serverlessV2PlatformVersionDescription) The description of the serverless platform.
- Parameters:
serverlessV2PlatformVersionDescription- The description of the serverless platform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engine
The name of the database engine.
- Parameters:
engine- The name of the database engine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverlessV2FeaturesSupport
ServerlessV2PlatformVersionInfo.Builder serverlessV2FeaturesSupport(ServerlessV2FeaturesSupport serverlessV2FeaturesSupport) Specifies any Amazon DocumentDB Serverless v2 properties or limits that differ between platform versions. You can retrieve the platform version of an existing cluster and check whether it supports specific features before you use them.
- Parameters:
serverlessV2FeaturesSupport- Specifies any Amazon DocumentDB Serverless v2 properties or limits that differ between platform versions. You can retrieve the platform version of an existing cluster and check whether it supports specific features before you use them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverlessV2FeaturesSupport
default ServerlessV2PlatformVersionInfo.Builder serverlessV2FeaturesSupport(Consumer<ServerlessV2FeaturesSupport.Builder> serverlessV2FeaturesSupport) Specifies any Amazon DocumentDB Serverless v2 properties or limits that differ between platform versions. You can retrieve the platform version of an existing cluster and check whether it supports specific features before you use them.
This is a convenience method that creates an instance of theServerlessV2FeaturesSupport.Builderavoiding the need to create one manually viaServerlessV2FeaturesSupport.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserverlessV2FeaturesSupport(ServerlessV2FeaturesSupport).- Parameters:
serverlessV2FeaturesSupport- a consumer that will call methods onServerlessV2FeaturesSupport.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the serverless platform. Valid statuses are the following:
-
enabled- The platform version is in use. -
disabled- The platform version is not in use.
- Parameters:
status- The status of the serverless platform. Valid statuses are the following:-
enabled- The platform version is in use. -
disabled- The platform version is not in use.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
isDefault
Specifies whether this platform version is the default version for the engine. The default platform version is the version used for new DB clusters.
- Parameters:
isDefault- Specifies whether this platform version is the default version for the engine. The default platform version is the version used for new DB clusters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-