@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartMaintenanceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartMaintenanceRequest() |
Modifier and Type | Method and Description |
---|---|
StartMaintenanceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<EngineAttribute> |
getEngineAttributes()
Engine attributes that are specific to the server on which you want to run maintenance.
|
String |
getServerName()
The name of the server on which to run maintenance.
|
int |
hashCode() |
void |
setEngineAttributes(Collection<EngineAttribute> engineAttributes)
Engine attributes that are specific to the server on which you want to run maintenance.
|
void |
setServerName(String serverName)
The name of the server on which to run maintenance.
|
String |
toString()
Returns a string representation of this object.
|
StartMaintenanceRequest |
withEngineAttributes(Collection<EngineAttribute> engineAttributes)
Engine attributes that are specific to the server on which you want to run maintenance.
|
StartMaintenanceRequest |
withEngineAttributes(EngineAttribute... engineAttributes)
Engine attributes that are specific to the server on which you want to run maintenance.
|
StartMaintenanceRequest |
withServerName(String serverName)
The name of the server on which to run maintenance.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setServerName(String serverName)
The name of the server on which to run maintenance.
serverName
- The name of the server on which to run maintenance.public String getServerName()
The name of the server on which to run maintenance.
public StartMaintenanceRequest withServerName(String serverName)
The name of the server on which to run maintenance.
serverName
- The name of the server on which to run maintenance.public List<EngineAttribute> getEngineAttributes()
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.
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.
public void setEngineAttributes(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.
public StartMaintenanceRequest withEngineAttributes(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.
NOTE: This method appends the values to the existing list (if any). Use
setEngineAttributes(java.util.Collection)
or withEngineAttributes(java.util.Collection)
if you
want to override the existing values.
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.
public StartMaintenanceRequest withEngineAttributes(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.
public String toString()
toString
in class Object
Object.toString()
public StartMaintenanceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()