@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SlotNotAvailableException extends AmazonOpenSearchException
An exception for attempting to schedule a domain action during an unavailable time slot.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
SlotNotAvailableException(String message)
Constructs a new SlotNotAvailableException with the specified error message.
|
| Modifier and Type | Method and Description |
|---|---|
List<Long> |
getSlotSuggestions()
Alternate time slots during which OpenSearch Service has available capacity to schedule a domain action.
|
void |
setSlotSuggestions(Collection<Long> slotSuggestions)
Alternate time slots during which OpenSearch Service has available capacity to schedule a domain action.
|
SlotNotAvailableException |
withSlotSuggestions(Collection<Long> slotSuggestions)
Alternate time slots during which OpenSearch Service has available capacity to schedule a domain action.
|
SlotNotAvailableException |
withSlotSuggestions(Long... slotSuggestions)
Alternate time slots during which OpenSearch Service has available capacity to schedule a domain action.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic SlotNotAvailableException(String message)
message - Describes the error encountered.public List<Long> getSlotSuggestions()
Alternate time slots during which OpenSearch Service has available capacity to schedule a domain action.
public void setSlotSuggestions(Collection<Long> slotSuggestions)
Alternate time slots during which OpenSearch Service has available capacity to schedule a domain action.
slotSuggestions - Alternate time slots during which OpenSearch Service has available capacity to schedule a domain action.public SlotNotAvailableException withSlotSuggestions(Long... slotSuggestions)
Alternate time slots during which OpenSearch Service has available capacity to schedule a domain action.
NOTE: This method appends the values to the existing list (if any). Use
setSlotSuggestions(java.util.Collection) or withSlotSuggestions(java.util.Collection) if you
want to override the existing values.
slotSuggestions - Alternate time slots during which OpenSearch Service has available capacity to schedule a domain action.public SlotNotAvailableException withSlotSuggestions(Collection<Long> slotSuggestions)
Alternate time slots during which OpenSearch Service has available capacity to schedule a domain action.
slotSuggestions - Alternate time slots during which OpenSearch Service has available capacity to schedule a domain action.