@Generated(value="software.amazon.awssdk:codegen") public class GetMaintenanceWindowExecutionTaskInvocationResponse extends SSMResponse implements ToCopyableBuilder<GetMaintenanceWindowExecutionTaskInvocationResponse.Builder,GetMaintenanceWindowExecutionTaskInvocationResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
GetMaintenanceWindowExecutionTaskInvocationResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static GetMaintenanceWindowExecutionTaskInvocationResponse.Builder |
builder() |
Instant |
endTime()
The time that the task finished executing on the target.
|
boolean |
equals(Object obj) |
String |
executionId()
The execution ID.
|
<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 |
invocationId()
The invocation ID.
|
String |
ownerInformation()
User-provided value to be included in any CloudWatch events raised while running tasks for these targets in this
Maintenance Window.
|
String |
parameters()
The parameters used at the time that the task executed.
|
static Class<? extends GetMaintenanceWindowExecutionTaskInvocationResponse.Builder> |
serializableBuilderClass() |
Instant |
startTime()
The time that the task started executing on the target.
|
MaintenanceWindowExecutionStatus |
status()
The task status for an invocation.
|
String |
statusDetails()
The details explaining the status.
|
String |
statusString()
The task status for an invocation.
|
String |
taskExecutionId()
The task execution ID.
|
MaintenanceWindowTaskType |
taskType()
Retrieves the task type for a Maintenance Window.
|
String |
taskTypeString()
Retrieves the task type for a Maintenance Window.
|
GetMaintenanceWindowExecutionTaskInvocationResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
windowExecutionId()
The Maintenance Window execution ID.
|
String |
windowTargetId()
The Maintenance Window target ID.
|
copy
public String windowExecutionId()
The Maintenance Window execution ID.
public String taskExecutionId()
The task execution ID.
public String invocationId()
The invocation ID.
public String executionId()
The execution ID.
public MaintenanceWindowTaskType taskType()
Retrieves the task type for a Maintenance Window. Task types include the following: LAMBDA, STEP_FUNCTION, AUTOMATION, RUN_COMMAND.
If the service returns an enum value that is not available in the current SDK version, taskType
will
return MaintenanceWindowTaskType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from taskTypeString()
.
MaintenanceWindowTaskType
public String taskTypeString()
Retrieves the task type for a Maintenance Window. Task types include the following: LAMBDA, STEP_FUNCTION, AUTOMATION, RUN_COMMAND.
If the service returns an enum value that is not available in the current SDK version, taskType
will
return MaintenanceWindowTaskType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from taskTypeString()
.
MaintenanceWindowTaskType
public String parameters()
The parameters used at the time that the task executed.
public MaintenanceWindowExecutionStatus status()
The task status for an invocation.
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 task status for an invocation.
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. Details are only available for certain status values.
public Instant startTime()
The time that the task started executing on the target.
public Instant endTime()
The time that the task finished executing on the target.
public String ownerInformation()
User-provided value to be included in any CloudWatch events raised while running tasks for these targets in this Maintenance Window.
public String windowTargetId()
The Maintenance Window target ID.
public GetMaintenanceWindowExecutionTaskInvocationResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetMaintenanceWindowExecutionTaskInvocationResponse.Builder,GetMaintenanceWindowExecutionTaskInvocationResponse>
toBuilder
in class AwsResponse
public static GetMaintenanceWindowExecutionTaskInvocationResponse.Builder builder()
public static Class<? extends GetMaintenanceWindowExecutionTaskInvocationResponse.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.