Interface DBMajorEngineVersion.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DBMajorEngineVersion.Builder,DBMajorEngineVersion>,SdkBuilder<DBMajorEngineVersion.Builder,DBMajorEngineVersion>,SdkPojo
- Enclosing class:
- DBMajorEngineVersion
@Mutable @NotThreadSafe public static interface DBMajorEngineVersion.Builder extends SdkPojo, CopyableBuilder<DBMajorEngineVersion.Builder,DBMajorEngineVersion>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DBMajorEngineVersion.Builderengine(String engine)The name of the database engine.DBMajorEngineVersion.BuildermajorEngineVersion(String majorEngineVersion)The major version number of the database engine.DBMajorEngineVersion.BuildersupportedEngineLifecycles(Collection<SupportedEngineLifecycle> supportedEngineLifecycles)A list of the lifecycles supported by this engine for theDescribeDBMajorEngineVersionsoperation.DBMajorEngineVersion.BuildersupportedEngineLifecycles(Consumer<SupportedEngineLifecycle.Builder>... supportedEngineLifecycles)A list of the lifecycles supported by this engine for theDescribeDBMajorEngineVersionsoperation.DBMajorEngineVersion.BuildersupportedEngineLifecycles(SupportedEngineLifecycle... supportedEngineLifecycles)A list of the lifecycles supported by this engine for theDescribeDBMajorEngineVersionsoperation.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
engine
DBMajorEngineVersion.Builder engine(String 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.
-
majorEngineVersion
DBMajorEngineVersion.Builder majorEngineVersion(String majorEngineVersion)
The major version number of the database engine.
- Parameters:
majorEngineVersion- The major version number of the database engine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedEngineLifecycles
DBMajorEngineVersion.Builder supportedEngineLifecycles(Collection<SupportedEngineLifecycle> supportedEngineLifecycles)
A list of the lifecycles supported by this engine for the
DescribeDBMajorEngineVersionsoperation.- Parameters:
supportedEngineLifecycles- A list of the lifecycles supported by this engine for theDescribeDBMajorEngineVersionsoperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedEngineLifecycles
DBMajorEngineVersion.Builder supportedEngineLifecycles(SupportedEngineLifecycle... supportedEngineLifecycles)
A list of the lifecycles supported by this engine for the
DescribeDBMajorEngineVersionsoperation.- Parameters:
supportedEngineLifecycles- A list of the lifecycles supported by this engine for theDescribeDBMajorEngineVersionsoperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedEngineLifecycles
DBMajorEngineVersion.Builder supportedEngineLifecycles(Consumer<SupportedEngineLifecycle.Builder>... supportedEngineLifecycles)
A list of the lifecycles supported by this engine for the
This is a convenience method that creates an instance of theDescribeDBMajorEngineVersionsoperation.SupportedEngineLifecycle.Builderavoiding the need to create one manually viaSupportedEngineLifecycle.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#supportedEngineLifecycles(List.) - Parameters:
supportedEngineLifecycles- a consumer that will call methods onSupportedEngineLifecycle.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#supportedEngineLifecycles(java.util.Collection)
-
-