public static interface StartMaintenanceRequest.Builder extends OpsWorksCMRequest.Builder, 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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
StartMaintenanceRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
StartMaintenanceRequest.Builder |
serverName(String serverName)
The name of the server on which to run maintenance.
|
build
requestOverrideConfig
copy
apply, build
StartMaintenanceRequest.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.
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.
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.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #engineAttributes(List)
.engineAttributes
- a consumer that will call methods on List.Builder
#engineAttributes(List)
StartMaintenanceRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.StartMaintenanceRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.