Class GetDomainMaintenanceStatusResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.opensearch.model.OpenSearchResponse
-
- software.amazon.awssdk.services.opensearch.model.GetDomainMaintenanceStatusResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetDomainMaintenanceStatusResponse.Builder,GetDomainMaintenanceStatusResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetDomainMaintenanceStatusResponse extends OpenSearchResponse implements ToCopyableBuilder<GetDomainMaintenanceStatusResponse.Builder,GetDomainMaintenanceStatusResponse>
The result of a
GetDomainMaintenanceStatusrequest that information about the requested action.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetDomainMaintenanceStatusResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MaintenanceTypeaction()The action name.StringactionAsString()The action name.static GetDomainMaintenanceStatusResponse.Builderbuilder()InstantcreatedAt()The time at which the action was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringnodeId()The node ID of the maintenance action.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetDomainMaintenanceStatusResponse.Builder>serializableBuilderClass()MaintenanceStatusstatus()The status of the maintenance action.StringstatusAsString()The status of the maintenance action.StringstatusMessage()The status message of the maintenance action.GetDomainMaintenanceStatusResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdatedAt()The time at which the action was updated.-
Methods inherited from class software.amazon.awssdk.services.opensearch.model.OpenSearchResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
status
public final MaintenanceStatus status()
The status of the maintenance 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 maintenance action.
- See Also:
MaintenanceStatus
-
statusAsString
public final String statusAsString()
The status of the maintenance 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 maintenance action.
- See Also:
MaintenanceStatus
-
statusMessage
public final String statusMessage()
The status message of the maintenance action.
- Returns:
- The status message of the maintenance action.
-
nodeId
public final String nodeId()
The node ID of the maintenance action.
- Returns:
- The node ID of the maintenance action.
-
action
public final MaintenanceType action()
The action name.
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 action name.
- See Also:
MaintenanceType
-
actionAsString
public final String actionAsString()
The action name.
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 action name.
- See Also:
MaintenanceType
-
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 GetDomainMaintenanceStatusResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetDomainMaintenanceStatusResponse.Builder,GetDomainMaintenanceStatusResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetDomainMaintenanceStatusResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetDomainMaintenanceStatusResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-