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
Modifier and TypeClassDescriptionstatic interface
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
final Instant
endTime()
The time the invocation finished.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final String
The 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 int
hashCode()
final String
The ID of the task invocation.final String
User-provided value that was specified when the target was registered with the maintenance window.final String
The parameters that were provided for the invocation when it was run.static Class
<? extends MaintenanceWindowExecutionTaskInvocationIdentity.Builder> final Instant
The time the invocation started.status()
The status of the task invocation.final String
The status of the task invocation.final String
The details explaining the status of the task invocation.final String
The ID of the specific task execution in the maintenance window execution.taskType()
The task type.final String
The task type.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final String
The ID of the maintenance window execution that ran the task.final String
The 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,
taskType
will 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,
taskType
will 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,
status
will 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,
status
will 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:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<MaintenanceWindowExecutionTaskInvocationIdentity.Builder,
MaintenanceWindowExecutionTaskInvocationIdentity> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
public static Class<? extends MaintenanceWindowExecutionTaskInvocationIdentity.Builder> serializableBuilderClass() -
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
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
-
sdkFields
-