X
- The type of original, user facing request for the dry-run operation.public class DryRunResult<X extends AmazonWebServiceRequest>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private AmazonServiceException |
dryRunResponse
The original service response on the dry-run request.
|
private boolean |
isSuccessful
Whether the dry-run was successful.
|
private java.lang.String |
message
The message included in the service response.
|
private DryRunSupportedRequest<X> |
originalRequest
The original request of the dry-run operation.
|
Constructor and Description |
---|
DryRunResult(boolean isSuccessful,
DryRunSupportedRequest<X> originalRequest,
java.lang.String message,
AmazonServiceException dryRunResponse) |
Modifier and Type | Method and Description |
---|---|
AmazonServiceException |
getDryRunResponse()
Returns the original service response on the dry-run request.
|
java.lang.String |
getMessage()
Returns the message included in the service response.
|
DryRunSupportedRequest<X> |
getOriginalRequest()
Returns the original request of the dry-run operation.
|
boolean |
isSuccessful()
Returns whether the dry-run was successful.
|
private boolean isSuccessful
private DryRunSupportedRequest<X extends AmazonWebServiceRequest> originalRequest
private java.lang.String message
private AmazonServiceException dryRunResponse
public DryRunResult(boolean isSuccessful, DryRunSupportedRequest<X> originalRequest, java.lang.String message, AmazonServiceException dryRunResponse)
public boolean isSuccessful()
public DryRunSupportedRequest<X> getOriginalRequest()
public java.lang.String getMessage()
public AmazonServiceException getDryRunResponse()