public class Response
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Response.Builder
For building Response instances.
|
static class |
Response.Status
Indicates whether a response is a success or failure.
|
| Modifier and Type | Method and Description |
|---|---|
static Response.Builder |
builder()
Creates a builder for constructing a Response wrapping the provided value.
|
static Response |
failed()
Creates an empty, failed Response.
|
java.lang.String |
getPhysicalResourceId()
The physical resource ID.
|
Response.Status |
getStatus()
The success/failed status of the Response.
|
boolean |
isNoEcho()
Whether to mask custom resource output (true) or not (false).
|
static Response |
success()
Creates an empty, successful Response.
|
java.lang.String |
toString()
Includes all Response attributes, including its value in JSON format
|
public static Response.Builder builder()
public static Response failed()
public static Response success()
public Response.Status getStatus()
public java.lang.String getPhysicalResourceId()
public boolean isNoEcho()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2023. All rights reserved.