@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FixedResponseAction extends Object implements Serializable, Cloneable, StructuredPojo
Information about an action that returns a custom HTTP response.
| Constructor and Description |
|---|
FixedResponseAction() |
| Modifier and Type | Method and Description |
|---|---|
FixedResponseAction |
clone() |
boolean |
equals(Object obj) |
Integer |
getStatusCode()
The HTTP response code.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setStatusCode(Integer statusCode)
The HTTP response code.
|
String |
toString()
Returns a string representation of this object.
|
FixedResponseAction |
withStatusCode(Integer statusCode)
The HTTP response code.
|
public void setStatusCode(Integer statusCode)
The HTTP response code.
statusCode - The HTTP response code.public Integer getStatusCode()
The HTTP response code.
public FixedResponseAction withStatusCode(Integer statusCode)
The HTTP response code.
statusCode - The HTTP response code.public String toString()
toString in class ObjectObject.toString()public FixedResponseAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.