Interface StartMaintenanceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartMaintenanceRequest.Builder,StartMaintenanceRequest>,OpsWorksCmRequest.Builder,SdkBuilder<StartMaintenanceRequest.Builder,StartMaintenanceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- StartMaintenanceRequest
public static interface StartMaintenanceRequest.Builder extends OpsWorksCmRequest.Builder, SdkPojo, CopyableBuilder<StartMaintenanceRequest.Builder,StartMaintenanceRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StartMaintenanceRequest.BuilderengineAttributes(Collection<EngineAttribute> engineAttributes)Engine attributes that are specific to the server on which you want to run maintenance.StartMaintenanceRequest.BuilderengineAttributes(Consumer<EngineAttribute.Builder>... engineAttributes)Engine attributes that are specific to the server on which you want to run maintenance.StartMaintenanceRequest.BuilderengineAttributes(EngineAttribute... engineAttributes)Engine attributes that are specific to the server on which you want to run maintenance.StartMaintenanceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StartMaintenanceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)StartMaintenanceRequest.BuilderserverName(String serverName)The name of the server on which to run maintenance.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.opsworkscm.model.OpsWorksCmRequest.Builder
build
-
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
-
serverName
StartMaintenanceRequest.Builder serverName(String serverName)
The name of the server on which to run maintenance.
- Parameters:
serverName- The name of the server on which to run maintenance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineAttributes
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 aStartMaintenancerequest and set the value totrueto upgrade the server to Chef Automate 2. For more information, see Upgrade an AWS OpsWorks for Chef Automate Server to Chef Automate 2.
- Parameters:
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 aStartMaintenancerequest and set the value totrueto upgrade the server to Chef Automate 2. For more information, see Upgrade an AWS OpsWorks for Chef Automate Server to Chef Automate 2.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
engineAttributes
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 aStartMaintenancerequest and set the value totrueto upgrade the server to Chef Automate 2. For more information, see Upgrade an AWS OpsWorks for Chef Automate Server to Chef Automate 2.
- Parameters:
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 aStartMaintenancerequest and set the value totrueto upgrade the server to Chef Automate 2. For more information, see Upgrade an AWS OpsWorks for Chef Automate Server to Chef Automate 2.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
engineAttributes
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 aStartMaintenancerequest and set the value totrueto upgrade the server to Chef Automate 2. For more information, see Upgrade an AWS OpsWorks for Chef Automate Server to Chef Automate 2.
EngineAttribute.Builderavoiding the need to create one manually viaEngineAttribute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#engineAttributes(List.) - Parameters:
engineAttributes- a consumer that will call methods onEngineAttribute.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#engineAttributes(java.util.Collection)
-
-
overrideConfiguration
StartMaintenanceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartMaintenanceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-