@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartServiceSoftwareUpdateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Container for the request parameters to the StartServiceSoftwareUpdate
operation.
NOOP
Constructor and Description |
---|
StartServiceSoftwareUpdateRequest() |
Modifier and Type | Method and Description |
---|---|
StartServiceSoftwareUpdateRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Long |
getDesiredStartTime()
The Epoch timestamp when you want the service software update to start.
|
String |
getDomainName()
The name of the domain that you want to update to the latest service software.
|
String |
getScheduleAt()
When to start the service software update.
|
int |
hashCode() |
void |
setDesiredStartTime(Long desiredStartTime)
The Epoch timestamp when you want the service software update to start.
|
void |
setDomainName(String domainName)
The name of the domain that you want to update to the latest service software.
|
void |
setScheduleAt(String scheduleAt)
When to start the service software update.
|
String |
toString()
Returns a string representation of this object.
|
StartServiceSoftwareUpdateRequest |
withDesiredStartTime(Long desiredStartTime)
The Epoch timestamp when you want the service software update to start.
|
StartServiceSoftwareUpdateRequest |
withDomainName(String domainName)
The name of the domain that you want to update to the latest service software.
|
StartServiceSoftwareUpdateRequest |
withScheduleAt(ScheduleAt scheduleAt)
When to start the service software update.
|
StartServiceSoftwareUpdateRequest |
withScheduleAt(String scheduleAt)
When to start the service software update.
|
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 setDomainName(String domainName)
The name of the domain that you want to update to the latest service software.
domainName
- The name of the domain that you want to update to the latest service software.public String getDomainName()
The name of the domain that you want to update to the latest service software.
public StartServiceSoftwareUpdateRequest withDomainName(String domainName)
The name of the domain that you want to update to the latest service software.
domainName
- The name of the domain that you want to update to the latest service software.public void setScheduleAt(String scheduleAt)
When to start the service software update.
NOW
- Immediately schedules the update to happen in the current hour if there's capacity available.
TIMESTAMP
- Lets you specify a custom date and time to apply the update. If you specify this value,
you must also provide a value for DesiredStartTime
.
OFF_PEAK_WINDOW
- Marks the update to be picked up during an upcoming off-peak window. There's no
guarantee that the update will happen during the next immediate window. Depending on capacity, it might happen in
subsequent days.
Default: NOW
if you don't specify a value for DesiredStartTime
, and
TIMESTAMP
if you do.
scheduleAt
- When to start the service software update.
NOW
- Immediately schedules the update to happen in the current hour if there's capacity
available.
TIMESTAMP
- Lets you specify a custom date and time to apply the update. If you specify this
value, you must also provide a value for DesiredStartTime
.
OFF_PEAK_WINDOW
- Marks the update to be picked up during an upcoming off-peak window.
There's no guarantee that the update will happen during the next immediate window. Depending on capacity,
it might happen in subsequent days.
Default: NOW
if you don't specify a value for DesiredStartTime
, and
TIMESTAMP
if you do.
ScheduleAt
public String getScheduleAt()
When to start the service software update.
NOW
- Immediately schedules the update to happen in the current hour if there's capacity available.
TIMESTAMP
- Lets you specify a custom date and time to apply the update. If you specify this value,
you must also provide a value for DesiredStartTime
.
OFF_PEAK_WINDOW
- Marks the update to be picked up during an upcoming off-peak window. There's no
guarantee that the update will happen during the next immediate window. Depending on capacity, it might happen in
subsequent days.
Default: NOW
if you don't specify a value for DesiredStartTime
, and
TIMESTAMP
if you do.
NOW
- Immediately schedules the update to happen in the current hour if there's capacity
available.
TIMESTAMP
- Lets you specify a custom date and time to apply the update. If you specify this
value, you must also provide a value for DesiredStartTime
.
OFF_PEAK_WINDOW
- Marks the update to be picked up during an upcoming off-peak window.
There's no guarantee that the update will happen during the next immediate window. Depending on capacity,
it might happen in subsequent days.
Default: NOW
if you don't specify a value for DesiredStartTime
, and
TIMESTAMP
if you do.
ScheduleAt
public StartServiceSoftwareUpdateRequest withScheduleAt(String scheduleAt)
When to start the service software update.
NOW
- Immediately schedules the update to happen in the current hour if there's capacity available.
TIMESTAMP
- Lets you specify a custom date and time to apply the update. If you specify this value,
you must also provide a value for DesiredStartTime
.
OFF_PEAK_WINDOW
- Marks the update to be picked up during an upcoming off-peak window. There's no
guarantee that the update will happen during the next immediate window. Depending on capacity, it might happen in
subsequent days.
Default: NOW
if you don't specify a value for DesiredStartTime
, and
TIMESTAMP
if you do.
scheduleAt
- When to start the service software update.
NOW
- Immediately schedules the update to happen in the current hour if there's capacity
available.
TIMESTAMP
- Lets you specify a custom date and time to apply the update. If you specify this
value, you must also provide a value for DesiredStartTime
.
OFF_PEAK_WINDOW
- Marks the update to be picked up during an upcoming off-peak window.
There's no guarantee that the update will happen during the next immediate window. Depending on capacity,
it might happen in subsequent days.
Default: NOW
if you don't specify a value for DesiredStartTime
, and
TIMESTAMP
if you do.
ScheduleAt
public StartServiceSoftwareUpdateRequest withScheduleAt(ScheduleAt scheduleAt)
When to start the service software update.
NOW
- Immediately schedules the update to happen in the current hour if there's capacity available.
TIMESTAMP
- Lets you specify a custom date and time to apply the update. If you specify this value,
you must also provide a value for DesiredStartTime
.
OFF_PEAK_WINDOW
- Marks the update to be picked up during an upcoming off-peak window. There's no
guarantee that the update will happen during the next immediate window. Depending on capacity, it might happen in
subsequent days.
Default: NOW
if you don't specify a value for DesiredStartTime
, and
TIMESTAMP
if you do.
scheduleAt
- When to start the service software update.
NOW
- Immediately schedules the update to happen in the current hour if there's capacity
available.
TIMESTAMP
- Lets you specify a custom date and time to apply the update. If you specify this
value, you must also provide a value for DesiredStartTime
.
OFF_PEAK_WINDOW
- Marks the update to be picked up during an upcoming off-peak window.
There's no guarantee that the update will happen during the next immediate window. Depending on capacity,
it might happen in subsequent days.
Default: NOW
if you don't specify a value for DesiredStartTime
, and
TIMESTAMP
if you do.
ScheduleAt
public void setDesiredStartTime(Long desiredStartTime)
The Epoch timestamp when you want the service software update to start. You only need to specify this parameter
if you set ScheduleAt
to TIMESTAMP
.
desiredStartTime
- The Epoch timestamp when you want the service software update to start. You only need to specify this
parameter if you set ScheduleAt
to TIMESTAMP
.public Long getDesiredStartTime()
The Epoch timestamp when you want the service software update to start. You only need to specify this parameter
if you set ScheduleAt
to TIMESTAMP
.
ScheduleAt
to TIMESTAMP
.public StartServiceSoftwareUpdateRequest withDesiredStartTime(Long desiredStartTime)
The Epoch timestamp when you want the service software update to start. You only need to specify this parameter
if you set ScheduleAt
to TIMESTAMP
.
desiredStartTime
- The Epoch timestamp when you want the service software update to start. You only need to specify this
parameter if you set ScheduleAt
to TIMESTAMP
.public String toString()
toString
in class Object
Object.toString()
public StartServiceSoftwareUpdateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()