Class GetMaintenanceWindowExecutionTaskInvocationResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.ssm.model.SsmResponse
-
- software.amazon.awssdk.services.ssm.model.GetMaintenanceWindowExecutionTaskInvocationResponse
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<GetMaintenanceWindowExecutionTaskInvocationResponse.Builder,GetMaintenanceWindowExecutionTaskInvocationResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetMaintenanceWindowExecutionTaskInvocationResponse extends SsmResponse implements ToCopyableBuilder<GetMaintenanceWindowExecutionTaskInvocationResponse.Builder,GetMaintenanceWindowExecutionTaskInvocationResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
GetMaintenanceWindowExecutionTaskInvocationResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetMaintenanceWindowExecutionTaskInvocationResponse.Builder
builder()
Instant
endTime()
The time that the task finished running on the target.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
String
executionId()
The execution ID.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
invocationId()
The invocation ID.String
ownerInformation()
User-provided value to be included in any Amazon CloudWatch Events or Amazon EventBridge events raised while running tasks for these targets in this maintenance window.String
parameters()
The parameters used at the time that the task ran.List<SdkField<?>>
sdkFields()
static Class<? extends GetMaintenanceWindowExecutionTaskInvocationResponse.Builder>
serializableBuilderClass()
Instant
startTime()
The time that the task started running on the target.MaintenanceWindowExecutionStatus
status()
The task status for an invocation.String
statusAsString()
The task status for an invocation.String
statusDetails()
The details explaining the status.String
taskExecutionId()
The task execution ID.MaintenanceWindowTaskType
taskType()
Retrieves the task type for a maintenance window.String
taskTypeAsString()
Retrieves the task type for a maintenance window.GetMaintenanceWindowExecutionTaskInvocationResponse.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
windowExecutionId()
The maintenance window execution ID.String
windowTargetId()
The maintenance window target ID.-
Methods inherited from class software.amazon.awssdk.services.ssm.model.SsmResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
windowExecutionId
public final String windowExecutionId()
The maintenance window execution ID.
- Returns:
- The maintenance window execution ID.
-
taskExecutionId
public final String taskExecutionId()
The task execution ID.
- Returns:
- The task execution ID.
-
invocationId
public final String invocationId()
The invocation ID.
- Returns:
- The invocation ID.
-
executionId
public final String executionId()
The execution ID.
- Returns:
- The execution ID.
-
taskType
public final MaintenanceWindowTaskType taskType()
Retrieves the task type for a maintenance window.
If the service returns an enum value that is not available in the current SDK version,
taskType
will returnMaintenanceWindowTaskType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtaskTypeAsString()
.- Returns:
- Retrieves the task type for a maintenance window.
- See Also:
MaintenanceWindowTaskType
-
taskTypeAsString
public final String taskTypeAsString()
Retrieves the task type for a maintenance window.
If the service returns an enum value that is not available in the current SDK version,
taskType
will returnMaintenanceWindowTaskType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtaskTypeAsString()
.- Returns:
- Retrieves the task type for a maintenance window.
- See Also:
MaintenanceWindowTaskType
-
parameters
public final String parameters()
The parameters used at the time that the task ran.
- Returns:
- The parameters used at the time that the task ran.
-
status
public final 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 returnMaintenanceWindowExecutionStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The task status for an invocation.
- See Also:
MaintenanceWindowExecutionStatus
-
statusAsString
public final String statusAsString()
The task status for an invocation.
If the service returns an enum value that is not available in the current SDK version,
status
will returnMaintenanceWindowExecutionStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The task status for an invocation.
- See Also:
MaintenanceWindowExecutionStatus
-
statusDetails
public final String statusDetails()
The details explaining the status. Details are only available for certain status values.
- Returns:
- The details explaining the status. Details are only available for certain status values.
-
startTime
public final Instant startTime()
The time that the task started running on the target.
- Returns:
- The time that the task started running on the target.
-
endTime
public final Instant endTime()
The time that the task finished running on the target.
- Returns:
- The time that the task finished running on the target.
-
ownerInformation
public final String ownerInformation()
User-provided value to be included in any Amazon CloudWatch Events or Amazon EventBridge events raised while running tasks for these targets in this maintenance window.
- Returns:
- User-provided value to be included in any Amazon CloudWatch Events or Amazon EventBridge events raised while running tasks for these targets in this maintenance window.
-
windowTargetId
public final String windowTargetId()
The maintenance window target ID.
- Returns:
- The maintenance window target ID.
-
toBuilder
public GetMaintenanceWindowExecutionTaskInvocationResponse.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<GetMaintenanceWindowExecutionTaskInvocationResponse.Builder,GetMaintenanceWindowExecutionTaskInvocationResponse>
- Specified by:
toBuilder
in classAwsResponse
-
builder
public static GetMaintenanceWindowExecutionTaskInvocationResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetMaintenanceWindowExecutionTaskInvocationResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkResponse
-
-