@Generated(value="software.amazon.awssdk:codegen") public final class Http extends Object implements StructuredPojo, ToCopyableBuilder<Http.Builder,Http>
Information about an HTTP request.
Modifier and Type | Class and Description |
---|---|
static interface |
Http.Builder |
Modifier and Type | Method and Description |
---|---|
static Http.Builder |
builder() |
String |
clientIp()
The IP address of the requestor.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
httpMethod()
The request method.
|
Integer |
httpStatus()
The response status.
|
String |
httpURL()
The request URL.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends Http.Builder> |
serializableBuilderClass() |
Http.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
userAgent()
The request's user agent string.
|
copy
public String httpURL()
The request URL.
public Integer httpStatus()
The response status.
public String httpMethod()
The request method.
public String userAgent()
The request's user agent string.
public String clientIp()
The IP address of the requestor.
public Http.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Http.Builder,Http>
public static Http.Builder builder()
public static Class<? extends Http.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.