Class WaitersRuntime.ResponseStatusAcceptor
java.lang.Object
software.amazon.awssdk.services.elastictranscoder.waiters.internal.WaitersRuntime.ResponseStatusAcceptor
- All Implemented Interfaces:
- WaiterAcceptor<SdkResponse>
- Enclosing class:
- WaitersRuntime
public static final class WaitersRuntime.ResponseStatusAcceptor
extends Object
implements WaiterAcceptor<SdkResponse>
A 
WaiterAcceptor implementation that checks for a specific HTTP response status, regardless of whether
 it's reported by a response or an exception.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanCheck to see if the exception matches the expected state defined by this acceptorbooleanmatches(SdkResponse response) Check to see if the response matches with the expected state defined by this acceptormessage()Optional message to provide pertaining to the next WaiterState
- 
Constructor Details- 
ResponseStatusAcceptor
 
- 
- 
Method Details- 
waiterState- Specified by:
- waiterStatein interface- WaiterAcceptor<SdkResponse>
- Returns:
- the next WaiterStatethat the waiter should be transitioned to
 
- 
matchesDescription copied from interface:WaiterAcceptorCheck to see if the response matches with the expected state defined by this acceptor- Specified by:
- matchesin interface- WaiterAcceptor<SdkResponse>
- Parameters:
- response- the response to inspect
- Returns:
- whether it accepts the response
 
- 
matchesDescription copied from interface:WaiterAcceptorCheck to see if the exception matches the expected state defined by this acceptor- Specified by:
- matchesin interface- WaiterAcceptor<SdkResponse>
- Parameters:
- throwable- the exception to inspect
- Returns:
- whether it accepts the throwable
 
- 
messageDescription copied from interface:WaiterAcceptorOptional message to provide pertaining to the next WaiterState- Specified by:
- messagein interface- WaiterAcceptor<SdkResponse>
- Returns:
- the optional message
 
 
-