@Generated(value="software.amazon.awssdk:codegen") public final 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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTaskParameters()
Returns true if the TaskParameters property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetMaintenanceWindowExecutionTaskResponse.Builder> |
serializableBuilderClass() |
String |
serviceRole()
The role that was assumed when running the task.
|
Instant |
startTime()
The time the task execution started.
|
MaintenanceWindowExecutionStatus |
status()
The status of the task.
|
String |
statusAsString()
The status of the task.
|
String |
statusDetails()
The details explaining the Status.
|
String |
taskArn()
The ARN of the task that ran.
|
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 run.
|
GetMaintenanceWindowExecutionTaskResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
MaintenanceWindowTaskType |
type()
The type of task that was run.
|
String |
typeAsString()
The type of task that was run.
|
String |
windowExecutionId()
The ID of the maintenance window execution that includes the task.
|
responseMetadata
sdkHttpResponse
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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 task that ran.
public String serviceRole()
The role that was assumed when running the task.
public MaintenanceWindowTaskType type()
The type of task that was run.
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
typeAsString()
.
MaintenanceWindowTaskType
public String typeAsString()
The type of task that was run.
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
typeAsString()
.
MaintenanceWindowTaskType
public boolean hasTaskParameters()
public List<Map<String,MaintenanceWindowTaskParameterValueExpression>> taskParameters()
The parameters passed to the task when it was run.
TaskParameters
has been deprecated. To specify parameters to pass to a task when it runs, instead
use the Parameters
option in the TaskInvocationParameters
structure. For information
about how Systems Manager handles these options for the supported maintenance window task types, see
MaintenanceWindowTaskInvocationParameters.
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.
You can use hasTaskParameters()
to see if a value was sent in this field.
TaskParameters
has been deprecated. To specify parameters to pass to a task when it runs,
instead use the Parameters
option in the TaskInvocationParameters
structure.
For information about how Systems Manager handles these options for the supported maintenance window task
types, see MaintenanceWindowTaskInvocationParameters.
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
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 statusAsString()
.
MaintenanceWindowExecutionStatus
public String statusAsString()
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 statusAsString()
.
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()
toBuilder
in interface ToCopyableBuilder<GetMaintenanceWindowExecutionTaskResponse.Builder,GetMaintenanceWindowExecutionTaskResponse>
toBuilder
in class AwsResponse
public static GetMaintenanceWindowExecutionTaskResponse.Builder builder()
public static Class<? extends GetMaintenanceWindowExecutionTaskResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsResponse
public boolean equals(Object obj)
equals
in class AwsResponse
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkResponse
Copyright © 2020. All rights reserved.