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
GetDomainMaintenanceStatus
request that information about the requested action.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
GetDomainMaintenanceStatusResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MaintenanceType
action()
The action name.String
actionAsString()
The action name.static GetDomainMaintenanceStatusResponse.Builder
builder()
Instant
createdAt()
The time at which the action was created.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
nodeId()
The node ID of the maintenance action.List<SdkField<?>>
sdkFields()
static Class<? extends GetDomainMaintenanceStatusResponse.Builder>
serializableBuilderClass()
MaintenanceStatus
status()
The status of the maintenance action.String
statusAsString()
The status of the maintenance action.String
statusMessage()
The status message of the maintenance action.GetDomainMaintenanceStatusResponse.Builder
toBuilder()
String
toString()
Returns a string representation of this object.Instant
updatedAt()
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,
status
will 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,
status
will 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,
action
will 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,
action
will 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:
toBuilder
in interfaceToCopyableBuilder<GetDomainMaintenanceStatusResponse.Builder,GetDomainMaintenanceStatusResponse>
- Specified by:
toBuilder
in classAwsResponse
-
builder
public static GetDomainMaintenanceStatusResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetDomainMaintenanceStatusResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
getValueForField
in classSdkResponse
-
-