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 interfaceGetMaintenanceWindowExecutionTaskInvocationResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetMaintenanceWindowExecutionTaskInvocationResponse.Builderbuilder()InstantendTime()The time that the task finished running on the target.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringexecutionId()The execution ID.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinvocationId()The invocation ID.StringownerInformation()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.Stringparameters()The parameters used at the time that the task ran.List<SdkField<?>>sdkFields()static Class<? extends GetMaintenanceWindowExecutionTaskInvocationResponse.Builder>serializableBuilderClass()InstantstartTime()The time that the task started running on the target.MaintenanceWindowExecutionStatusstatus()The task status for an invocation.StringstatusAsString()The task status for an invocation.StringstatusDetails()The details explaining the status.StringtaskExecutionId()The task execution ID.MaintenanceWindowTaskTypetaskType()Retrieves the task type for a maintenance window.StringtaskTypeAsString()Retrieves the task type for a maintenance window.GetMaintenanceWindowExecutionTaskInvocationResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringwindowExecutionId()The maintenance window execution ID.StringwindowTargetId()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,
taskTypewill 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,
taskTypewill 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,
statuswill 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,
statuswill 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:
toBuilderin interfaceToCopyableBuilder<GetMaintenanceWindowExecutionTaskInvocationResponse.Builder,GetMaintenanceWindowExecutionTaskInvocationResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetMaintenanceWindowExecutionTaskInvocationResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetMaintenanceWindowExecutionTaskInvocationResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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:
getValueForFieldin classSdkResponse
-
-