Class DomainMaintenanceDetails
- java.lang.Object
-
- software.amazon.awssdk.services.opensearch.model.DomainMaintenanceDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DomainMaintenanceDetails.Builder,DomainMaintenanceDetails>
@Generated("software.amazon.awssdk:codegen") public final class DomainMaintenanceDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DomainMaintenanceDetails.Builder,DomainMaintenanceDetails>
Container for the domain maintenance details.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDomainMaintenanceDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MaintenanceTypeaction()The name of the action.StringactionAsString()The name of the action.static DomainMaintenanceDetails.Builderbuilder()InstantcreatedAt()The time at which the action was created.StringdomainName()The name of the domain.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmaintenanceId()The ID of the requested action.StringnodeId()The ID of the data node.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DomainMaintenanceDetails.Builder>serializableBuilderClass()MaintenanceStatusstatus()The status of the action.StringstatusAsString()The status of the action.StringstatusMessage()The status message for the action.DomainMaintenanceDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdatedAt()The time at which the action was updated.-
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
-
maintenanceId
public final String maintenanceId()
The ID of the requested action.
- Returns:
- The ID of the requested action.
-
domainName
public final String domainName()
The name of the domain.
- Returns:
- The name of the domain.
-
action
public final MaintenanceType action()
The name of the action.
If the service returns an enum value that is not available in the current SDK version,
actionwill returnMaintenanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- The name of the action.
- See Also:
MaintenanceType
-
actionAsString
public final String actionAsString()
The name of the action.
If the service returns an enum value that is not available in the current SDK version,
actionwill returnMaintenanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- The name of the action.
- See Also:
MaintenanceType
-
nodeId
public final String nodeId()
The ID of the data node.
- Returns:
- The ID of the data node.
-
status
public final MaintenanceStatus status()
The status of the action.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnMaintenanceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the action.
- See Also:
MaintenanceStatus
-
statusAsString
public final String statusAsString()
The status of the action.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnMaintenanceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the action.
- See Also:
MaintenanceStatus
-
statusMessage
public final String statusMessage()
The status message for the action.
- Returns:
- The status message for the action.
-
createdAt
public final Instant createdAt()
The time at which the action was created.
- Returns:
- The time at which the action was created.
-
updatedAt
public final Instant updatedAt()
The time at which the action was updated.
- Returns:
- The time at which the action was updated.
-
toBuilder
public DomainMaintenanceDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DomainMaintenanceDetails.Builder,DomainMaintenanceDetails>
-
builder
public static DomainMaintenanceDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends DomainMaintenanceDetails.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
-
-