@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RemoteAccountDetails extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about the remote Amazon Web Services account that made the API call.
| Constructor and Description |
|---|
RemoteAccountDetails() |
| Modifier and Type | Method and Description |
|---|---|
RemoteAccountDetails |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The Amazon Web Services account ID of the remote API caller.
|
Boolean |
getAffiliated()
Details on whether the Amazon Web Services account of the remote API caller is related to your GuardDuty
environment.
|
int |
hashCode() |
Boolean |
isAffiliated()
Details on whether the Amazon Web Services account of the remote API caller is related to your GuardDuty
environment.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAccountId(String accountId)
The Amazon Web Services account ID of the remote API caller.
|
void |
setAffiliated(Boolean affiliated)
Details on whether the Amazon Web Services account of the remote API caller is related to your GuardDuty
environment.
|
String |
toString()
Returns a string representation of this object.
|
RemoteAccountDetails |
withAccountId(String accountId)
The Amazon Web Services account ID of the remote API caller.
|
RemoteAccountDetails |
withAffiliated(Boolean affiliated)
Details on whether the Amazon Web Services account of the remote API caller is related to your GuardDuty
environment.
|
public void setAccountId(String accountId)
The Amazon Web Services account ID of the remote API caller.
accountId - The Amazon Web Services account ID of the remote API caller.public String getAccountId()
The Amazon Web Services account ID of the remote API caller.
public RemoteAccountDetails withAccountId(String accountId)
The Amazon Web Services account ID of the remote API caller.
accountId - The Amazon Web Services account ID of the remote API caller.public void setAffiliated(Boolean affiliated)
Details on whether the Amazon Web Services account of the remote API caller is related to your GuardDuty
environment. If this value is True the API caller is affiliated to your account in some way. If it
is False the API caller is from outside your environment.
affiliated - Details on whether the Amazon Web Services account of the remote API caller is related to your GuardDuty
environment. If this value is True the API caller is affiliated to your account in some way.
If it is False the API caller is from outside your environment.public Boolean getAffiliated()
Details on whether the Amazon Web Services account of the remote API caller is related to your GuardDuty
environment. If this value is True the API caller is affiliated to your account in some way. If it
is False the API caller is from outside your environment.
True the API caller is affiliated to your account in some way.
If it is False the API caller is from outside your environment.public RemoteAccountDetails withAffiliated(Boolean affiliated)
Details on whether the Amazon Web Services account of the remote API caller is related to your GuardDuty
environment. If this value is True the API caller is affiliated to your account in some way. If it
is False the API caller is from outside your environment.
affiliated - Details on whether the Amazon Web Services account of the remote API caller is related to your GuardDuty
environment. If this value is True the API caller is affiliated to your account in some way.
If it is False the API caller is from outside your environment.public Boolean isAffiliated()
Details on whether the Amazon Web Services account of the remote API caller is related to your GuardDuty
environment. If this value is True the API caller is affiliated to your account in some way. If it
is False the API caller is from outside your environment.
True the API caller is affiliated to your account in some way.
If it is False the API caller is from outside your environment.public String toString()
toString in class ObjectObject.toString()public RemoteAccountDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.