@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Identity extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
Identity() |
Modifier and Type | Method and Description |
---|---|
Identity |
clone() |
boolean |
equals(Object obj) |
String |
getSourceIp()
The source IP address of the TCP connection making the request to API Gateway.
|
String |
getUserAgent()
The User Agent of the API caller.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSourceIp(String sourceIp)
The source IP address of the TCP connection making the request to API Gateway.
|
void |
setUserAgent(String userAgent)
The User Agent of the API caller.
|
String |
toString()
Returns a string representation of this object.
|
Identity |
withSourceIp(String sourceIp)
The source IP address of the TCP connection making the request to API Gateway.
|
Identity |
withUserAgent(String userAgent)
The User Agent of the API caller.
|
public void setSourceIp(String sourceIp)
The source IP address of the TCP connection making the request to API Gateway.
sourceIp
- The source IP address of the TCP connection making the request to API Gateway.public String getSourceIp()
The source IP address of the TCP connection making the request to API Gateway.
public Identity withSourceIp(String sourceIp)
The source IP address of the TCP connection making the request to API Gateway.
sourceIp
- The source IP address of the TCP connection making the request to API Gateway.public void setUserAgent(String userAgent)
The User Agent of the API caller.
userAgent
- The User Agent of the API caller.public String getUserAgent()
The User Agent of the API caller.
public Identity withUserAgent(String userAgent)
The User Agent of the API caller.
userAgent
- The User Agent of the API caller.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.