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 theDescribeDBMajorEngineVersions
operation.supportedEngineLifecycles
(Consumer<SupportedEngineLifecycle.Builder>... supportedEngineLifecycles) A list of the lifecycles supported by this engine for theDescribeDBMajorEngineVersions
operation.supportedEngineLifecycles
(SupportedEngineLifecycle... supportedEngineLifecycles) A list of the lifecycles supported by this engine for theDescribeDBMajorEngineVersions
operation.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 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
DescribeDBMajorEngineVersions
operation.- Parameters:
supportedEngineLifecycles
- A list of the lifecycles supported by this engine for theDescribeDBMajorEngineVersions
operation.- 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
DescribeDBMajorEngineVersions
operation.- Parameters:
supportedEngineLifecycles
- A list of the lifecycles supported by this engine for theDescribeDBMajorEngineVersions
operation.- 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 theDescribeDBMajorEngineVersions
operation.SupportedEngineLifecycle.Builder
avoiding the need to create one manually viaSupportedEngineLifecycle.builder()
.When the
Consumer
completes,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:
-