Class MaintenanceWindowExecutionTaskInvocationIdentity
- java.lang.Object
-
- software.amazon.awssdk.services.ssm.model.MaintenanceWindowExecutionTaskInvocationIdentity
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MaintenanceWindowExecutionTaskInvocationIdentity.Builder,MaintenanceWindowExecutionTaskInvocationIdentity>
@Generated("software.amazon.awssdk:codegen") public final class MaintenanceWindowExecutionTaskInvocationIdentity extends Object implements SdkPojo, Serializable, 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMaintenanceWindowExecutionTaskInvocationIdentity.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MaintenanceWindowExecutionTaskInvocationIdentity.Builderbuilder()InstantendTime()The time the invocation finished.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringexecutionId()The ID of the action performed in the service that actually handled the task invocation.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinvocationId()The ID of the task invocation.StringownerInformation()User-provided value that was specified when the target was registered with the maintenance window.Stringparameters()The parameters that were provided for the invocation when it was run.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends MaintenanceWindowExecutionTaskInvocationIdentity.Builder>serializableBuilderClass()InstantstartTime()The time the invocation started.MaintenanceWindowExecutionStatusstatus()The status of the task invocation.StringstatusAsString()The status of the task invocation.StringstatusDetails()The details explaining the status of the task invocation.StringtaskExecutionId()The ID of the specific task execution in the maintenance window execution.MaintenanceWindowTaskTypetaskType()The task type.StringtaskTypeAsString()The task type.MaintenanceWindowExecutionTaskInvocationIdentity.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringwindowExecutionId()The ID of the maintenance window execution that ran the task.StringwindowTargetId()The ID of the target definition in this maintenance window the invocation was performed for.-
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 ID of the maintenance window execution that ran the task.
- Returns:
- The ID of the maintenance window execution that ran the task.
-
taskExecutionId
public final String 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
public final String invocationId()
The ID of the task invocation.
- Returns:
- The ID of the task invocation.
-
executionId
public final String 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
public final MaintenanceWindowTaskType 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:
MaintenanceWindowTaskType
-
taskTypeAsString
public final String 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:
MaintenanceWindowTaskType
-
parameters
public final String 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
public final MaintenanceWindowExecutionStatus 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:
MaintenanceWindowExecutionStatus
-
statusAsString
public final String 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:
MaintenanceWindowExecutionStatus
-
statusDetails
public final String 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
public final Instant startTime()
The time the invocation started.
- Returns:
- The time the invocation started.
-
endTime
public final Instant endTime()
The time the invocation finished.
- Returns:
- The time the invocation finished.
-
ownerInformation
public final String 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
public final String 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
public MaintenanceWindowExecutionTaskInvocationIdentity.Builder toBuilder()
-
builder
public static MaintenanceWindowExecutionTaskInvocationIdentity.Builder builder()
-
serializableBuilderClass
public static Class<? extends MaintenanceWindowExecutionTaskInvocationIdentity.Builder> serializableBuilderClass()
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-