@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NewUserAgentDetail extends Object implements Serializable, Cloneable, StructuredPojo
Details new user agents used either at the resource or account level.
Constructor and Description |
---|
NewUserAgentDetail() |
Modifier and Type | Method and Description |
---|---|
NewUserAgentDetail |
clone() |
boolean |
equals(Object obj) |
Boolean |
getIsNewForEntireAccount()
Checks if the user agent is new for the entire account.
|
String |
getUserAgent()
New user agent which accessed the resource.
|
int |
hashCode() |
Boolean |
isNewForEntireAccount()
Checks if the user agent is new for the entire account.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIsNewForEntireAccount(Boolean isNewForEntireAccount)
Checks if the user agent is new for the entire account.
|
void |
setUserAgent(String userAgent)
New user agent which accessed the resource.
|
String |
toString()
Returns a string representation of this object.
|
NewUserAgentDetail |
withIsNewForEntireAccount(Boolean isNewForEntireAccount)
Checks if the user agent is new for the entire account.
|
NewUserAgentDetail |
withUserAgent(String userAgent)
New user agent which accessed the resource.
|
public void setUserAgent(String userAgent)
New user agent which accessed the resource.
userAgent
- New user agent which accessed the resource.public String getUserAgent()
New user agent which accessed the resource.
public NewUserAgentDetail withUserAgent(String userAgent)
New user agent which accessed the resource.
userAgent
- New user agent which accessed the resource.public void setIsNewForEntireAccount(Boolean isNewForEntireAccount)
Checks if the user agent is new for the entire account.
isNewForEntireAccount
- Checks if the user agent is new for the entire account.public Boolean getIsNewForEntireAccount()
Checks if the user agent is new for the entire account.
public NewUserAgentDetail withIsNewForEntireAccount(Boolean isNewForEntireAccount)
Checks if the user agent is new for the entire account.
isNewForEntireAccount
- Checks if the user agent is new for the entire account.public Boolean isNewForEntireAccount()
Checks if the user agent is new for the entire account.
public String toString()
toString
in class Object
Object.toString()
public NewUserAgentDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.