Class MaintenanceWindowExecution
- java.lang.Object
-
- software.amazon.awssdk.services.ssm.model.MaintenanceWindowExecution
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MaintenanceWindowExecution.Builder,MaintenanceWindowExecution>
@Generated("software.amazon.awssdk:codegen") public final class MaintenanceWindowExecution extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MaintenanceWindowExecution.Builder,MaintenanceWindowExecution>
Describes the information about an execution of a maintenance window.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMaintenanceWindowExecution.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MaintenanceWindowExecution.Builderbuilder()InstantendTime()The time the execution finished.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends MaintenanceWindowExecution.Builder>serializableBuilderClass()InstantstartTime()The time the execution started.MaintenanceWindowExecutionStatusstatus()The status of the execution.StringstatusAsString()The status of the execution.StringstatusDetails()The details explaining the status.MaintenanceWindowExecution.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringwindowExecutionId()The ID of the maintenance window execution.StringwindowId()The ID of the maintenance window.-
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
-
windowId
public final String windowId()
The ID of the maintenance window.
- Returns:
- The ID of the maintenance window.
-
windowExecutionId
public final String windowExecutionId()
The ID of the maintenance window execution.
- Returns:
- The ID of the maintenance window execution.
-
status
public final MaintenanceWindowExecutionStatus status()
The status of the execution.
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 execution.
- See Also:
MaintenanceWindowExecutionStatus
-
statusAsString
public final String statusAsString()
The status of the execution.
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 execution.
- See Also:
MaintenanceWindowExecutionStatus
-
statusDetails
public final String statusDetails()
The details explaining the status. Not available for all status values.
- Returns:
- The details explaining the status. Not available for all status values.
-
startTime
public final Instant startTime()
The time the execution started.
- Returns:
- The time the execution started.
-
endTime
public final Instant endTime()
The time the execution finished.
- Returns:
- The time the execution finished.
-
toBuilder
public MaintenanceWindowExecution.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MaintenanceWindowExecution.Builder,MaintenanceWindowExecution>
-
builder
public static MaintenanceWindowExecution.Builder builder()
-
serializableBuilderClass
public static Class<? extends MaintenanceWindowExecution.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.
-
-