public static interface StartMaintenanceRequest.Builder extends OpsWorksCmRequest.Builder, SdkPojo, CopyableBuilder<StartMaintenanceRequest.Builder,StartMaintenanceRequest>
| Modifier and Type | Method and Description |
|---|---|
StartMaintenanceRequest.Builder |
engineAttributes(Collection<EngineAttribute> engineAttributes)
Engine attributes that are specific to the server on which you want to run maintenance.
|
StartMaintenanceRequest.Builder |
engineAttributes(Consumer<EngineAttribute.Builder>... engineAttributes)
Engine attributes that are specific to the server on which you want to run maintenance.
|
StartMaintenanceRequest.Builder |
engineAttributes(EngineAttribute... engineAttributes)
Engine attributes that are specific to the server on which you want to run maintenance.
|
StartMaintenanceRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
StartMaintenanceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
StartMaintenanceRequest.Builder |
serverName(String serverName)
The name of the server on which to run maintenance.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildStartMaintenanceRequest.Builder serverName(String serverName)
The name of the server on which to run maintenance.
serverName - The name of the server on which to run maintenance.StartMaintenanceRequest.Builder engineAttributes(Collection<EngineAttribute> engineAttributes)
Engine attributes that are specific to the server on which you want to run maintenance.
Attributes accepted in a StartMaintenance request for Chef
CHEF_MAJOR_UPGRADE: If a Chef Automate server is eligible for upgrade to Chef Automate 2, add
this engine attribute to a StartMaintenance request and set the value to true to
upgrade the server to Chef Automate 2. For more information, see Upgrade an AWS OpsWorks for
Chef Automate Server to Chef Automate 2.
engineAttributes - Engine attributes that are specific to the server on which you want to run maintenance.
Attributes accepted in a StartMaintenance request for Chef
CHEF_MAJOR_UPGRADE: If a Chef Automate server is eligible for upgrade to Chef Automate 2,
add this engine attribute to a StartMaintenance request and set the value to
true to upgrade the server to Chef Automate 2. For more information, see Upgrade an AWS
OpsWorks for Chef Automate Server to Chef Automate 2.
StartMaintenanceRequest.Builder engineAttributes(EngineAttribute... engineAttributes)
Engine attributes that are specific to the server on which you want to run maintenance.
Attributes accepted in a StartMaintenance request for Chef
CHEF_MAJOR_UPGRADE: If a Chef Automate server is eligible for upgrade to Chef Automate 2, add
this engine attribute to a StartMaintenance request and set the value to true to
upgrade the server to Chef Automate 2. For more information, see Upgrade an AWS OpsWorks for
Chef Automate Server to Chef Automate 2.
engineAttributes - Engine attributes that are specific to the server on which you want to run maintenance.
Attributes accepted in a StartMaintenance request for Chef
CHEF_MAJOR_UPGRADE: If a Chef Automate server is eligible for upgrade to Chef Automate 2,
add this engine attribute to a StartMaintenance request and set the value to
true to upgrade the server to Chef Automate 2. For more information, see Upgrade an AWS
OpsWorks for Chef Automate Server to Chef Automate 2.
StartMaintenanceRequest.Builder engineAttributes(Consumer<EngineAttribute.Builder>... engineAttributes)
Engine attributes that are specific to the server on which you want to run maintenance.
Attributes accepted in a StartMaintenance request for Chef
CHEF_MAJOR_UPGRADE: If a Chef Automate server is eligible for upgrade to Chef Automate 2, add
this engine attribute to a StartMaintenance request and set the value to true to
upgrade the server to Chef Automate 2. For more information, see Upgrade an AWS OpsWorks for
Chef Automate Server to Chef Automate 2.
EngineAttribute.Builder avoiding the need to create
one manually via EngineAttribute.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #engineAttributes(List.
engineAttributes - a consumer that will call methods on
EngineAttribute.Builder#engineAttributes(java.util.Collection) StartMaintenanceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderStartMaintenanceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.