Class MaintenanceWindowExecutionTaskInvocationIdentity
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MaintenanceWindowExecutionTaskInvocationIdentity.Builder,MaintenanceWindowExecutionTaskInvocationIdentity>
Describes the information about a task invocation for a particular target as part of a task execution performed as part of a maintenance window execution.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final InstantendTime()The time the invocation finished.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringThe ID of the action performed in the service that actually handled the task invocation.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe ID of the task invocation.final StringUser-provided value that was specified when the target was registered with the maintenance window.final StringThe parameters that were provided for the invocation when it was run.static Class<? extends MaintenanceWindowExecutionTaskInvocationIdentity.Builder> final InstantThe time the invocation started.status()The status of the task invocation.final StringThe status of the task invocation.final StringThe details explaining the status of the task invocation.final StringThe ID of the specific task execution in the maintenance window execution.taskType()The task type.final StringThe task type.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final StringThe ID of the maintenance window execution that ran the task.final StringThe ID of the target definition in this maintenance window the invocation was performed for.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
windowExecutionId
The ID of the maintenance window execution that ran the task.
- Returns:
- The ID of the maintenance window execution that ran the task.
-
taskExecutionId
The ID of the specific task execution in the maintenance window execution.
- Returns:
- The ID of the specific task execution in the maintenance window execution.
-
invocationId
The ID of the task invocation.
- Returns:
- The ID of the task invocation.
-
executionId
The ID of the action performed in the service that actually handled the task invocation. If the task type is
RUN_COMMAND, this value is the command ID.- Returns:
- The ID of the action performed in the service that actually handled the task invocation. If the task type
is
RUN_COMMAND, this value is the command ID.
-
taskType
The task type.
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:
- The task type.
- See Also:
-
taskTypeAsString
The task type.
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:
- The task type.
- See Also:
-
parameters
The parameters that were provided for the invocation when it was run.
- Returns:
- The parameters that were provided for the invocation when it was run.
-
status
The status of the task 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 status of the task invocation.
- See Also:
-
statusAsString
The status of the task 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 status of the task invocation.
- See Also:
-
statusDetails
The details explaining the status of the task invocation. Not available for all status values.
- Returns:
- The details explaining the status of the task invocation. Not available for all status values.
-
startTime
The time the invocation started.
- Returns:
- The time the invocation started.
-
endTime
The time the invocation finished.
- Returns:
- The time the invocation finished.
-
ownerInformation
User-provided value that was specified when the target was registered with the maintenance window. This was also included in any Amazon CloudWatch Events events raised during the task invocation.
- Returns:
- User-provided value that was specified when the target was registered with the maintenance window. This was also included in any Amazon CloudWatch Events events raised during the task invocation.
-
windowTargetId
The ID of the target definition in this maintenance window the invocation was performed for.
- Returns:
- The ID of the target definition in this maintenance window the invocation was performed for.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<MaintenanceWindowExecutionTaskInvocationIdentity.Builder,MaintenanceWindowExecutionTaskInvocationIdentity> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
public static Class<? extends MaintenanceWindowExecutionTaskInvocationIdentity.Builder> serializableBuilderClass() -
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-