@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetFindingHistoryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetFindingHistoryRequest() |
Modifier and Type | Method and Description |
---|---|
GetFindingHistoryRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Date |
getEndTime()
An ISO 8601-formatted timestamp that indicates the end time of the requested finding history.
|
AwsSecurityFindingIdentifier |
getFindingIdentifier() |
Integer |
getMaxResults()
The maximum number of results to be returned.
|
String |
getNextToken()
A token for pagination purposes.
|
Date |
getStartTime()
A timestamp that indicates the start time of the requested finding history.
|
int |
hashCode() |
void |
setEndTime(Date endTime)
An ISO 8601-formatted timestamp that indicates the end time of the requested finding history.
|
void |
setFindingIdentifier(AwsSecurityFindingIdentifier findingIdentifier) |
void |
setMaxResults(Integer maxResults)
The maximum number of results to be returned.
|
void |
setNextToken(String nextToken)
A token for pagination purposes.
|
void |
setStartTime(Date startTime)
A timestamp that indicates the start time of the requested finding history.
|
String |
toString()
Returns a string representation of this object.
|
GetFindingHistoryRequest |
withEndTime(Date endTime)
An ISO 8601-formatted timestamp that indicates the end time of the requested finding history.
|
GetFindingHistoryRequest |
withFindingIdentifier(AwsSecurityFindingIdentifier findingIdentifier) |
GetFindingHistoryRequest |
withMaxResults(Integer maxResults)
The maximum number of results to be returned.
|
GetFindingHistoryRequest |
withNextToken(String nextToken)
A token for pagination purposes.
|
GetFindingHistoryRequest |
withStartTime(Date startTime)
A timestamp that indicates the start time of the requested finding history.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setFindingIdentifier(AwsSecurityFindingIdentifier findingIdentifier)
findingIdentifier
- public AwsSecurityFindingIdentifier getFindingIdentifier()
public GetFindingHistoryRequest withFindingIdentifier(AwsSecurityFindingIdentifier findingIdentifier)
findingIdentifier
- public void setStartTime(Date startTime)
A timestamp that indicates the start time of the requested finding history.
If you provide values for both StartTime
and EndTime
, Security Hub returns finding
history for the specified time period. If you provide a value for StartTime
but not for
EndTime
, Security Hub returns finding history from the StartTime
to the time at which
the API is called. If you provide a value for EndTime
but not for StartTime
, Security
Hub returns finding history from the CreatedAt timestamp of the finding to the EndTime
. If you provide neither
StartTime
nor EndTime
, Security Hub returns finding history from the CreatedAt
timestamp of the finding to the time at which the API is called. In all of these scenarios, the response is
limited to 100 results, and the maximum time period is limited to 90 days.
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
)
startTime
- A timestamp that indicates the start time of the requested finding history.
If you provide values for both StartTime
and EndTime
, Security Hub returns
finding history for the specified time period. If you provide a value for StartTime
but not
for EndTime
, Security Hub returns finding history from the StartTime
to the time
at which the API is called. If you provide a value for EndTime
but not for
StartTime
, Security Hub returns finding history from the CreatedAt timestamp of the finding to the EndTime
. If you provide neither
StartTime
nor EndTime
, Security Hub returns finding history from the CreatedAt
timestamp of the finding to the time at which the API is called. In all of these scenarios, the response
is limited to 100 results, and the maximum time period is limited to 90 days.
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 Date getStartTime()
A timestamp that indicates the start time of the requested finding history.
If you provide values for both StartTime
and EndTime
, Security Hub returns finding
history for the specified time period. If you provide a value for StartTime
but not for
EndTime
, Security Hub returns finding history from the StartTime
to the time at which
the API is called. If you provide a value for EndTime
but not for StartTime
, Security
Hub returns finding history from the CreatedAt timestamp of the finding to the EndTime
. If you provide neither
StartTime
nor EndTime
, Security Hub returns finding history from the CreatedAt
timestamp of the finding to the time at which the API is called. In all of these scenarios, the response is
limited to 100 results, and the maximum time period is limited to 90 days.
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
)
If you provide values for both StartTime
and EndTime
, Security Hub returns
finding history for the specified time period. If you provide a value for StartTime
but not
for EndTime
, Security Hub returns finding history from the StartTime
to the
time at which the API is called. If you provide a value for EndTime
but not for
StartTime
, Security Hub returns finding history from the CreatedAt timestamp of the finding to the EndTime
. If you provide neither
StartTime
nor EndTime
, Security Hub returns finding history from the CreatedAt
timestamp of the finding to the time at which the API is called. In all of these scenarios, the response
is limited to 100 results, and the maximum time period is limited to 90 days.
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 GetFindingHistoryRequest withStartTime(Date startTime)
A timestamp that indicates the start time of the requested finding history.
If you provide values for both StartTime
and EndTime
, Security Hub returns finding
history for the specified time period. If you provide a value for StartTime
but not for
EndTime
, Security Hub returns finding history from the StartTime
to the time at which
the API is called. If you provide a value for EndTime
but not for StartTime
, Security
Hub returns finding history from the CreatedAt timestamp of the finding to the EndTime
. If you provide neither
StartTime
nor EndTime
, Security Hub returns finding history from the CreatedAt
timestamp of the finding to the time at which the API is called. In all of these scenarios, the response is
limited to 100 results, and the maximum time period is limited to 90 days.
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
)
startTime
- A timestamp that indicates the start time of the requested finding history.
If you provide values for both StartTime
and EndTime
, Security Hub returns
finding history for the specified time period. If you provide a value for StartTime
but not
for EndTime
, Security Hub returns finding history from the StartTime
to the time
at which the API is called. If you provide a value for EndTime
but not for
StartTime
, Security Hub returns finding history from the CreatedAt timestamp of the finding to the EndTime
. If you provide neither
StartTime
nor EndTime
, Security Hub returns finding history from the CreatedAt
timestamp of the finding to the time at which the API is called. In all of these scenarios, the response
is limited to 100 results, and the maximum time period is limited to 90 days.
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 setEndTime(Date endTime)
An ISO 8601-formatted timestamp that indicates the end time of the requested finding history.
If you provide values for both StartTime
and EndTime
, Security Hub returns finding
history for the specified time period. If you provide a value for StartTime
but not for
EndTime
, Security Hub returns finding history from the StartTime
to the time at which
the API is called. If you provide a value for EndTime
but not for StartTime
, Security
Hub returns finding history from the CreatedAt timestamp of the finding to the EndTime
. If you provide neither
StartTime
nor EndTime
, Security Hub returns finding history from the CreatedAt
timestamp of the finding to the time at which the API is called. In all of these scenarios, the response is
limited to 100 results, and the maximum time period is limited to 90 days.
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
)
endTime
- An ISO 8601-formatted timestamp that indicates the end time of the requested finding history.
If you provide values for both StartTime
and EndTime
, Security Hub returns
finding history for the specified time period. If you provide a value for StartTime
but not
for EndTime
, Security Hub returns finding history from the StartTime
to the time
at which the API is called. If you provide a value for EndTime
but not for
StartTime
, Security Hub returns finding history from the CreatedAt timestamp of the finding to the EndTime
. If you provide neither
StartTime
nor EndTime
, Security Hub returns finding history from the CreatedAt
timestamp of the finding to the time at which the API is called. In all of these scenarios, the response
is limited to 100 results, and the maximum time period is limited to 90 days.
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 Date getEndTime()
An ISO 8601-formatted timestamp that indicates the end time of the requested finding history.
If you provide values for both StartTime
and EndTime
, Security Hub returns finding
history for the specified time period. If you provide a value for StartTime
but not for
EndTime
, Security Hub returns finding history from the StartTime
to the time at which
the API is called. If you provide a value for EndTime
but not for StartTime
, Security
Hub returns finding history from the CreatedAt timestamp of the finding to the EndTime
. If you provide neither
StartTime
nor EndTime
, Security Hub returns finding history from the CreatedAt
timestamp of the finding to the time at which the API is called. In all of these scenarios, the response is
limited to 100 results, and the maximum time period is limited to 90 days.
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
)
If you provide values for both StartTime
and EndTime
, Security Hub returns
finding history for the specified time period. If you provide a value for StartTime
but not
for EndTime
, Security Hub returns finding history from the StartTime
to the
time at which the API is called. If you provide a value for EndTime
but not for
StartTime
, Security Hub returns finding history from the CreatedAt timestamp of the finding to the EndTime
. If you provide neither
StartTime
nor EndTime
, Security Hub returns finding history from the CreatedAt
timestamp of the finding to the time at which the API is called. In all of these scenarios, the response
is limited to 100 results, and the maximum time period is limited to 90 days.
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 GetFindingHistoryRequest withEndTime(Date endTime)
An ISO 8601-formatted timestamp that indicates the end time of the requested finding history.
If you provide values for both StartTime
and EndTime
, Security Hub returns finding
history for the specified time period. If you provide a value for StartTime
but not for
EndTime
, Security Hub returns finding history from the StartTime
to the time at which
the API is called. If you provide a value for EndTime
but not for StartTime
, Security
Hub returns finding history from the CreatedAt timestamp of the finding to the EndTime
. If you provide neither
StartTime
nor EndTime
, Security Hub returns finding history from the CreatedAt
timestamp of the finding to the time at which the API is called. In all of these scenarios, the response is
limited to 100 results, and the maximum time period is limited to 90 days.
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
)
endTime
- An ISO 8601-formatted timestamp that indicates the end time of the requested finding history.
If you provide values for both StartTime
and EndTime
, Security Hub returns
finding history for the specified time period. If you provide a value for StartTime
but not
for EndTime
, Security Hub returns finding history from the StartTime
to the time
at which the API is called. If you provide a value for EndTime
but not for
StartTime
, Security Hub returns finding history from the CreatedAt timestamp of the finding to the EndTime
. If you provide neither
StartTime
nor EndTime
, Security Hub returns finding history from the CreatedAt
timestamp of the finding to the time at which the API is called. In all of these scenarios, the response
is limited to 100 results, and the maximum time period is limited to 90 days.
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 setNextToken(String nextToken)
A token for pagination purposes. Provide NULL
as the initial value. In subsequent requests, provide
the token included in the response to get up to an additional 100 results of finding history. If you don’t
provide NextToken
, Security Hub returns up to 100 results of finding history for each request.
nextToken
- A token for pagination purposes. Provide NULL
as the initial value. In subsequent requests,
provide the token included in the response to get up to an additional 100 results of finding history. If
you don’t provide NextToken
, Security Hub returns up to 100 results of finding history for
each request.public String getNextToken()
A token for pagination purposes. Provide NULL
as the initial value. In subsequent requests, provide
the token included in the response to get up to an additional 100 results of finding history. If you don’t
provide NextToken
, Security Hub returns up to 100 results of finding history for each request.
NULL
as the initial value. In subsequent requests,
provide the token included in the response to get up to an additional 100 results of finding history. If
you don’t provide NextToken
, Security Hub returns up to 100 results of finding history for
each request.public GetFindingHistoryRequest withNextToken(String nextToken)
A token for pagination purposes. Provide NULL
as the initial value. In subsequent requests, provide
the token included in the response to get up to an additional 100 results of finding history. If you don’t
provide NextToken
, Security Hub returns up to 100 results of finding history for each request.
nextToken
- A token for pagination purposes. Provide NULL
as the initial value. In subsequent requests,
provide the token included in the response to get up to an additional 100 results of finding history. If
you don’t provide NextToken
, Security Hub returns up to 100 results of finding history for
each request.public void setMaxResults(Integer maxResults)
The maximum number of results to be returned. If you don’t provide it, Security Hub returns up to 100 results of finding history.
maxResults
- The maximum number of results to be returned. If you don’t provide it, Security Hub returns up to 100
results of finding history.public Integer getMaxResults()
The maximum number of results to be returned. If you don’t provide it, Security Hub returns up to 100 results of finding history.
public GetFindingHistoryRequest withMaxResults(Integer maxResults)
The maximum number of results to be returned. If you don’t provide it, Security Hub returns up to 100 results of finding history.
maxResults
- The maximum number of results to be returned. If you don’t provide it, Security Hub returns up to 100
results of finding history.public String toString()
toString
in class Object
Object.toString()
public GetFindingHistoryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()