@Generated(value="software.amazon.awssdk:codegen") public class GetMaintenanceWindowExecutionTaskResponse extends SSMResponse implements ToCopyableBuilder<GetMaintenanceWindowExecutionTaskResponse.Builder,GetMaintenanceWindowExecutionTaskResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
GetMaintenanceWindowExecutionTaskResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static GetMaintenanceWindowExecutionTaskResponse.Builder |
builder() |
Instant |
endTime()
The time the task execution completed.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse . |
int |
hashCode() |
String |
maxConcurrency()
The defined maximum number of task executions that could be run in parallel.
|
String |
maxErrors()
The defined maximum number of task execution errors allowed before scheduling of the task execution would have
been stopped.
|
Integer |
priority()
The priority of the task.
|
static Class<? extends GetMaintenanceWindowExecutionTaskResponse.Builder> |
serializableBuilderClass() |
String |
serviceRole()
The role that was assumed when executing the task.
|
Instant |
startTime()
The time the task execution started.
|
MaintenanceWindowExecutionStatus |
status()
The status of the task.
|
String |
statusDetails()
The details explaining the Status.
|
String |
statusString()
The status of the task.
|
String |
taskArn()
The ARN of the executed task.
|
String |
taskExecutionId()
The ID of the specific task execution in the Maintenance Window task that was retrieved.
|
List<Map<String,MaintenanceWindowTaskParameterValueExpression>> |
taskParameters()
The parameters passed to the task when it was executed.
|
GetMaintenanceWindowExecutionTaskResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
MaintenanceWindowTaskType |
type()
The type of task executed.
|
String |
typeString()
The type of task executed.
|
String |
windowExecutionId()
The ID of the Maintenance Window execution that includes the task.
|
copy
public String windowExecutionId()
The ID of the Maintenance Window execution that includes the task.
public String taskExecutionId()
The ID of the specific task execution in the Maintenance Window task that was retrieved.
public String taskArn()
The ARN of the executed task.
public String serviceRole()
The role that was assumed when executing the task.
public MaintenanceWindowTaskType type()
The type of task executed.
If the service returns an enum value that is not available in the current SDK version, type
will return
MaintenanceWindowTaskType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeString()
.
MaintenanceWindowTaskType
public String typeString()
The type of task executed.
If the service returns an enum value that is not available in the current SDK version, type
will return
MaintenanceWindowTaskType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeString()
.
MaintenanceWindowTaskType
public List<Map<String,MaintenanceWindowTaskParameterValueExpression>> taskParameters()
The parameters passed to the task when it was executed. The map has the following format:
Key: string, between 1 and 255 characters
Value: an array of strings, each string is between 1 and 255 characters
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
Key: string, between 1 and 255 characters
Value: an array of strings, each string is between 1 and 255 characters
public Integer priority()
The priority of the task.
public String maxConcurrency()
The defined maximum number of task executions that could be run in parallel.
public String maxErrors()
The defined maximum number of task execution errors allowed before scheduling of the task execution would have been stopped.
public MaintenanceWindowExecutionStatus status()
The status of the task.
If the service returns an enum value that is not available in the current SDK version, status
will
return MaintenanceWindowExecutionStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from statusString()
.
MaintenanceWindowExecutionStatus
public String statusString()
The status of the task.
If the service returns an enum value that is not available in the current SDK version, status
will
return MaintenanceWindowExecutionStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from statusString()
.
MaintenanceWindowExecutionStatus
public String statusDetails()
The details explaining the Status. Only available for certain status values.
public Instant startTime()
The time the task execution started.
public Instant endTime()
The time the task execution completed.
public GetMaintenanceWindowExecutionTaskResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetMaintenanceWindowExecutionTaskResponse.Builder,GetMaintenanceWindowExecutionTaskResponse>
toBuilder
in class AwsResponse
public static GetMaintenanceWindowExecutionTaskResponse.Builder builder()
public static Class<? extends GetMaintenanceWindowExecutionTaskResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.