@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApiCallDetails extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about an API operation that an entity invoked for an affected resource.
Constructor and Description |
---|
ApiCallDetails() |
Modifier and Type | Method and Description |
---|---|
ApiCallDetails |
clone() |
boolean |
equals(Object obj) |
String |
getApi()
The name of the operation that was invoked most recently and produced the finding.
|
String |
getApiServiceName()
The URL of the Amazon Web Service that provides the operation, for example: s3.amazonaws.com.
|
Date |
getFirstSeen()
The first date and time, in UTC and extended ISO 8601 format, when any operation was invoked and produced the
finding.
|
Date |
getLastSeen()
The most recent date and time, in UTC and extended ISO 8601 format, when the specified operation (api) was
invoked and produced the finding.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApi(String api)
The name of the operation that was invoked most recently and produced the finding.
|
void |
setApiServiceName(String apiServiceName)
The URL of the Amazon Web Service that provides the operation, for example: s3.amazonaws.com.
|
void |
setFirstSeen(Date firstSeen)
The first date and time, in UTC and extended ISO 8601 format, when any operation was invoked and produced the
finding.
|
void |
setLastSeen(Date lastSeen)
The most recent date and time, in UTC and extended ISO 8601 format, when the specified operation (api) was
invoked and produced the finding.
|
String |
toString()
Returns a string representation of this object.
|
ApiCallDetails |
withApi(String api)
The name of the operation that was invoked most recently and produced the finding.
|
ApiCallDetails |
withApiServiceName(String apiServiceName)
The URL of the Amazon Web Service that provides the operation, for example: s3.amazonaws.com.
|
ApiCallDetails |
withFirstSeen(Date firstSeen)
The first date and time, in UTC and extended ISO 8601 format, when any operation was invoked and produced the
finding.
|
ApiCallDetails |
withLastSeen(Date lastSeen)
The most recent date and time, in UTC and extended ISO 8601 format, when the specified operation (api) was
invoked and produced the finding.
|
public void setApi(String api)
The name of the operation that was invoked most recently and produced the finding.
api
- The name of the operation that was invoked most recently and produced the finding.public String getApi()
The name of the operation that was invoked most recently and produced the finding.
public ApiCallDetails withApi(String api)
The name of the operation that was invoked most recently and produced the finding.
api
- The name of the operation that was invoked most recently and produced the finding.public void setApiServiceName(String apiServiceName)
The URL of the Amazon Web Service that provides the operation, for example: s3.amazonaws.com.
apiServiceName
- The URL of the Amazon Web Service that provides the operation, for example: s3.amazonaws.com.public String getApiServiceName()
The URL of the Amazon Web Service that provides the operation, for example: s3.amazonaws.com.
public ApiCallDetails withApiServiceName(String apiServiceName)
The URL of the Amazon Web Service that provides the operation, for example: s3.amazonaws.com.
apiServiceName
- The URL of the Amazon Web Service that provides the operation, for example: s3.amazonaws.com.public void setFirstSeen(Date firstSeen)
The first date and time, in UTC and extended ISO 8601 format, when any operation was invoked and produced the finding.
firstSeen
- The first date and time, in UTC and extended ISO 8601 format, when any operation was invoked and produced
the finding.public Date getFirstSeen()
The first date and time, in UTC and extended ISO 8601 format, when any operation was invoked and produced the finding.
public ApiCallDetails withFirstSeen(Date firstSeen)
The first date and time, in UTC and extended ISO 8601 format, when any operation was invoked and produced the finding.
firstSeen
- The first date and time, in UTC and extended ISO 8601 format, when any operation was invoked and produced
the finding.public void setLastSeen(Date lastSeen)
The most recent date and time, in UTC and extended ISO 8601 format, when the specified operation (api) was invoked and produced the finding.
lastSeen
- The most recent date and time, in UTC and extended ISO 8601 format, when the specified operation (api) was
invoked and produced the finding.public Date getLastSeen()
The most recent date and time, in UTC and extended ISO 8601 format, when the specified operation (api) was invoked and produced the finding.
public ApiCallDetails withLastSeen(Date lastSeen)
The most recent date and time, in UTC and extended ISO 8601 format, when the specified operation (api) was invoked and produced the finding.
lastSeen
- The most recent date and time, in UTC and extended ISO 8601 format, when the specified operation (api) was
invoked and produced the finding.public String toString()
toString
in class Object
Object.toString()
public ApiCallDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.