@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)
Marshalls this structured data using the given
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 Object
Object.toString()
public FixedResponseAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.