@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsApiCallAction extends Object implements Serializable, Cloneable, StructuredPojo
Provided if ActionType
is AWS_API_CALL
. It provides details about the API call that was
detected.
Constructor and Description |
---|
AwsApiCallAction() |
Modifier and Type | Method and Description |
---|---|
AwsApiCallAction |
addAffectedResourcesEntry(String key,
String value)
Add a single AffectedResources entry
|
AwsApiCallAction |
clearAffectedResourcesEntries()
Removes all the entries added into AffectedResources.
|
AwsApiCallAction |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getAffectedResources()
Identifies the resources that were affected by the API call.
|
String |
getApi()
The name of the API method that was issued.
|
String |
getCallerType()
Indicates whether the API call originated from a remote IP address (
remoteip ) or from a DNS domain (
domain ). |
AwsApiCallActionDomainDetails |
getDomainDetails()
Provided if
CallerType is domain . |
String |
getFirstSeen()
An ISO8601-formatted timestamp that indicates when the API call was first observed.
|
String |
getLastSeen()
An ISO8601-formatted timestamp that indicates when the API call was most recently observed.
|
ActionRemoteIpDetails |
getRemoteIpDetails()
Provided if
CallerType is remoteIp . |
String |
getServiceName()
The name of the Amazon Web Services service that the API method belongs to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAffectedResources(Map<String,String> affectedResources)
Identifies the resources that were affected by the API call.
|
void |
setApi(String api)
The name of the API method that was issued.
|
void |
setCallerType(String callerType)
Indicates whether the API call originated from a remote IP address (
remoteip ) or from a DNS domain (
domain ). |
void |
setDomainDetails(AwsApiCallActionDomainDetails domainDetails)
Provided if
CallerType is domain . |
void |
setFirstSeen(String firstSeen)
An ISO8601-formatted timestamp that indicates when the API call was first observed.
|
void |
setLastSeen(String lastSeen)
An ISO8601-formatted timestamp that indicates when the API call was most recently observed.
|
void |
setRemoteIpDetails(ActionRemoteIpDetails remoteIpDetails)
Provided if
CallerType is remoteIp . |
void |
setServiceName(String serviceName)
The name of the Amazon Web Services service that the API method belongs to.
|
String |
toString()
Returns a string representation of this object.
|
AwsApiCallAction |
withAffectedResources(Map<String,String> affectedResources)
Identifies the resources that were affected by the API call.
|
AwsApiCallAction |
withApi(String api)
The name of the API method that was issued.
|
AwsApiCallAction |
withCallerType(String callerType)
Indicates whether the API call originated from a remote IP address (
remoteip ) or from a DNS domain (
domain ). |
AwsApiCallAction |
withDomainDetails(AwsApiCallActionDomainDetails domainDetails)
Provided if
CallerType is domain . |
AwsApiCallAction |
withFirstSeen(String firstSeen)
An ISO8601-formatted timestamp that indicates when the API call was first observed.
|
AwsApiCallAction |
withLastSeen(String lastSeen)
An ISO8601-formatted timestamp that indicates when the API call was most recently observed.
|
AwsApiCallAction |
withRemoteIpDetails(ActionRemoteIpDetails remoteIpDetails)
Provided if
CallerType is remoteIp . |
AwsApiCallAction |
withServiceName(String serviceName)
The name of the Amazon Web Services service that the API method belongs to.
|
public void setApi(String api)
The name of the API method that was issued.
api
- The name of the API method that was issued.public String getApi()
The name of the API method that was issued.
public AwsApiCallAction withApi(String api)
The name of the API method that was issued.
api
- The name of the API method that was issued.public void setServiceName(String serviceName)
The name of the Amazon Web Services service that the API method belongs to.
serviceName
- The name of the Amazon Web Services service that the API method belongs to.public String getServiceName()
The name of the Amazon Web Services service that the API method belongs to.
public AwsApiCallAction withServiceName(String serviceName)
The name of the Amazon Web Services service that the API method belongs to.
serviceName
- The name of the Amazon Web Services service that the API method belongs to.public void setCallerType(String callerType)
Indicates whether the API call originated from a remote IP address (remoteip
) or from a DNS domain (
domain
).
callerType
- Indicates whether the API call originated from a remote IP address (remoteip
) or from a DNS
domain (domain
).public String getCallerType()
Indicates whether the API call originated from a remote IP address (remoteip
) or from a DNS domain (
domain
).
remoteip
) or from a DNS
domain (domain
).public AwsApiCallAction withCallerType(String callerType)
Indicates whether the API call originated from a remote IP address (remoteip
) or from a DNS domain (
domain
).
callerType
- Indicates whether the API call originated from a remote IP address (remoteip
) or from a DNS
domain (domain
).public void setRemoteIpDetails(ActionRemoteIpDetails remoteIpDetails)
Provided if CallerType
is remoteIp
. Provides information about the remote IP address
that the API call originated from.
remoteIpDetails
- Provided if CallerType
is remoteIp
. Provides information about the remote IP
address that the API call originated from.public ActionRemoteIpDetails getRemoteIpDetails()
Provided if CallerType
is remoteIp
. Provides information about the remote IP address
that the API call originated from.
CallerType
is remoteIp
. Provides information about the remote IP
address that the API call originated from.public AwsApiCallAction withRemoteIpDetails(ActionRemoteIpDetails remoteIpDetails)
Provided if CallerType
is remoteIp
. Provides information about the remote IP address
that the API call originated from.
remoteIpDetails
- Provided if CallerType
is remoteIp
. Provides information about the remote IP
address that the API call originated from.public void setDomainDetails(AwsApiCallActionDomainDetails domainDetails)
Provided if CallerType
is domain
. Provides information about the DNS domain that the
API call originated from.
domainDetails
- Provided if CallerType
is domain
. Provides information about the DNS domain that
the API call originated from.public AwsApiCallActionDomainDetails getDomainDetails()
Provided if CallerType
is domain
. Provides information about the DNS domain that the
API call originated from.
CallerType
is domain
. Provides information about the DNS domain
that the API call originated from.public AwsApiCallAction withDomainDetails(AwsApiCallActionDomainDetails domainDetails)
Provided if CallerType
is domain
. Provides information about the DNS domain that the
API call originated from.
domainDetails
- Provided if CallerType
is domain
. Provides information about the DNS domain that
the API call originated from.public Map<String,String> getAffectedResources()
Identifies the resources that were affected by the API call.
public void setAffectedResources(Map<String,String> affectedResources)
Identifies the resources that were affected by the API call.
affectedResources
- Identifies the resources that were affected by the API call.public AwsApiCallAction withAffectedResources(Map<String,String> affectedResources)
Identifies the resources that were affected by the API call.
affectedResources
- Identifies the resources that were affected by the API call.public AwsApiCallAction addAffectedResourcesEntry(String key, String value)
public AwsApiCallAction clearAffectedResourcesEntries()
public void setFirstSeen(String firstSeen)
An ISO8601-formatted timestamp that indicates when the API call was first observed.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date
and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.
firstSeen
- An ISO8601-formatted timestamp that indicates when the API call was first observed.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces,
and date and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time
Format.
public String getFirstSeen()
An ISO8601-formatted timestamp that indicates when the API call was first observed.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date
and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces,
and date and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time
Format.
public AwsApiCallAction withFirstSeen(String firstSeen)
An ISO8601-formatted timestamp that indicates when the API call was first observed.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date
and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.
firstSeen
- An ISO8601-formatted timestamp that indicates when the API call was first observed.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces,
and date and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time
Format.
public void setLastSeen(String lastSeen)
An ISO8601-formatted timestamp that indicates when the API call was most recently observed.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date
and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.
lastSeen
- An ISO8601-formatted timestamp that indicates when the API call was most recently observed.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces,
and date and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time
Format.
public String getLastSeen()
An ISO8601-formatted timestamp that indicates when the API call was most recently observed.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date
and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces,
and date and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time
Format.
public AwsApiCallAction withLastSeen(String lastSeen)
An ISO8601-formatted timestamp that indicates when the API call was most recently observed.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date
and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.
lastSeen
- An ISO8601-formatted timestamp that indicates when the API call was most recently observed.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces,
and date and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time
Format.
public String toString()
toString
in class Object
Object.toString()
public AwsApiCallAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.