@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()
A timestamp that indicates when the API call was first observed.
|
String |
getLastSeen()
A 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)
A timestamp that indicates when the API call was first observed.
|
void |
setLastSeen(String lastSeen)
A 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)
A timestamp that indicates when the API call was first observed.
|
AwsApiCallAction |
withLastSeen(String lastSeen)
A 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.
Length Constraints: 128.
api
- The name of the API method that was issued.
Length Constraints: 128.
public String getApi()
The name of the API method that was issued.
Length Constraints: 128.
Length Constraints: 128.
public AwsApiCallAction withApi(String api)
The name of the API method that was issued.
Length Constraints: 128.
api
- The name of the API method that was issued.
Length Constraints: 128.
public void setServiceName(String serviceName)
The name of the Amazon Web Services service that the API method belongs to.
Length Constraints: 128.
serviceName
- The name of the Amazon Web Services service that the API method belongs to.
Length Constraints: 128.
public String getServiceName()
The name of the Amazon Web Services service that the API method belongs to.
Length Constraints: 128.
Length Constraints: 128.
public AwsApiCallAction withServiceName(String serviceName)
The name of the Amazon Web Services service that the API method belongs to.
Length Constraints: 128.
serviceName
- The name of the Amazon Web Services service that the API method belongs to.
Length Constraints: 128.
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)
A timestamp that indicates when the API call was first observed.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9
digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example, 2024-01-04T15:25:10.123456789+17:59
)
firstSeen
- A timestamp that indicates when the API call was first observed.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a
maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,
2024-01-04T15:25:10.123456789+17:59
)
public String getFirstSeen()
A timestamp that indicates when the API call was first observed.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9
digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example, 2024-01-04T15:25:10.123456789+17:59
)
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a
maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,
2024-01-04T15:25:10.123456789+17:59
)
public AwsApiCallAction withFirstSeen(String firstSeen)
A timestamp that indicates when the API call was first observed.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9
digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example, 2024-01-04T15:25:10.123456789+17:59
)
firstSeen
- A timestamp that indicates when the API call was first observed.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a
maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,
2024-01-04T15:25:10.123456789+17:59
)
public void setLastSeen(String lastSeen)
A timestamp that indicates when the API call was most recently observed.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9
digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example, 2024-01-04T15:25:10.123456789+17:59
)
lastSeen
- A timestamp that indicates when the API call was most recently observed.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a
maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,
2024-01-04T15:25:10.123456789+17:59
)
public String getLastSeen()
A timestamp that indicates when the API call was most recently observed.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9
digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example, 2024-01-04T15:25:10.123456789+17:59
)
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a
maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,
2024-01-04T15:25:10.123456789+17:59
)
public AwsApiCallAction withLastSeen(String lastSeen)
A timestamp that indicates when the API call was most recently observed.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9
digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example, 2024-01-04T15:25:10.123456789+17:59
)
lastSeen
- A timestamp that indicates when the API call was most recently observed.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a
maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,
2024-01-04T15:25:10.123456789+17:59
)
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.