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
Modifier and TypeMethodDescriptionThe name of the database engine.majorEngineVersion(String majorEngineVersion) The major version number of the database engine.supportedEngineLifecycles(Collection<SupportedEngineLifecycle> supportedEngineLifecycles) A list of the lifecycles supported by this engine for theDescribeDBMajorEngineVersionsoperation.supportedEngineLifecycles(Consumer<SupportedEngineLifecycle.Builder>... supportedEngineLifecycles) A list of the lifecycles supported by this engine for theDescribeDBMajorEngineVersionsoperation.supportedEngineLifecycles(SupportedEngineLifecycle... supportedEngineLifecycles) A list of the lifecycles supported by this engine for theDescribeDBMajorEngineVersionsoperation.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
-
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
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 tosupportedEngineLifecycles(List<SupportedEngineLifecycle>).- 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:
-