@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Http extends Object implements Serializable, Cloneable, StructuredPojo
Information about an HTTP request.
Constructor and Description |
---|
Http() |
Modifier and Type | Method and Description |
---|---|
Http |
clone() |
boolean |
equals(Object obj) |
String |
getClientIp()
The IP address of the requestor.
|
String |
getHttpMethod()
The request method.
|
Integer |
getHttpStatus()
The response status.
|
String |
getHttpURL()
The request URL.
|
String |
getUserAgent()
The request's user agent string.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setClientIp(String clientIp)
The IP address of the requestor.
|
void |
setHttpMethod(String httpMethod)
The request method.
|
void |
setHttpStatus(Integer httpStatus)
The response status.
|
void |
setHttpURL(String httpURL)
The request URL.
|
void |
setUserAgent(String userAgent)
The request's user agent string.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Http |
withClientIp(String clientIp)
The IP address of the requestor.
|
Http |
withHttpMethod(String httpMethod)
The request method.
|
Http |
withHttpStatus(Integer httpStatus)
The response status.
|
Http |
withHttpURL(String httpURL)
The request URL.
|
Http |
withUserAgent(String userAgent)
The request's user agent string.
|
public void setHttpURL(String httpURL)
The request URL.
httpURL
- The request URL.public String getHttpURL()
The request URL.
public Http withHttpURL(String httpURL)
The request URL.
httpURL
- The request URL.public void setHttpStatus(Integer httpStatus)
The response status.
httpStatus
- The response status.public Integer getHttpStatus()
The response status.
public Http withHttpStatus(Integer httpStatus)
The response status.
httpStatus
- The response status.public void setHttpMethod(String httpMethod)
The request method.
httpMethod
- The request method.public String getHttpMethod()
The request method.
public Http withHttpMethod(String httpMethod)
The request method.
httpMethod
- The request method.public void setUserAgent(String userAgent)
The request's user agent string.
userAgent
- The request's user agent string.public String getUserAgent()
The request's user agent string.
public Http withUserAgent(String userAgent)
The request's user agent string.
userAgent
- The request's user agent string.public void setClientIp(String clientIp)
The IP address of the requestor.
clientIp
- The IP address of the requestor.public String getClientIp()
The IP address of the requestor.
public Http withClientIp(String clientIp)
The IP address of the requestor.
clientIp
- The IP address of the requestor.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.