public static interface GetServiceLastAccessedDetailsResponse.Builder extends IamResponse.Builder, SdkPojo, CopyableBuilder<GetServiceLastAccessedDetailsResponse.Builder,GetServiceLastAccessedDetailsResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetServiceLastAccessedDetailsResponse.Builder |
error(Consumer<ErrorDetails.Builder> error)
An object that contains details about the reason the operation failed.
|
GetServiceLastAccessedDetailsResponse.Builder |
error(ErrorDetails error)
An object that contains details about the reason the operation failed.
|
GetServiceLastAccessedDetailsResponse.Builder |
isTruncated(Boolean isTruncated)
A flag that indicates whether there are more items to return.
|
GetServiceLastAccessedDetailsResponse.Builder |
jobCompletionDate(Instant jobCompletionDate)
The date and time, in ISO 8601 date-time format, when the
generated report job was completed or failed.
|
GetServiceLastAccessedDetailsResponse.Builder |
jobCreationDate(Instant jobCreationDate)
The date and time, in ISO 8601 date-time format, when the report
job was created.
|
GetServiceLastAccessedDetailsResponse.Builder |
jobStatus(JobStatusType jobStatus)
The status of the job.
|
GetServiceLastAccessedDetailsResponse.Builder |
jobStatus(String jobStatus)
The status of the job.
|
GetServiceLastAccessedDetailsResponse.Builder |
jobType(AccessAdvisorUsageGranularityType jobType)
The type of job.
|
GetServiceLastAccessedDetailsResponse.Builder |
jobType(String jobType)
The type of job.
|
GetServiceLastAccessedDetailsResponse.Builder |
marker(String marker)
When
IsTruncated is true, this element is present and contains the value to use for
the Marker parameter in a subsequent pagination request. |
GetServiceLastAccessedDetailsResponse.Builder |
servicesLastAccessed(Collection<ServiceLastAccessed> servicesLastAccessed)
A
ServiceLastAccessed object that contains details about the most recent attempt to access the
service. |
GetServiceLastAccessedDetailsResponse.Builder |
servicesLastAccessed(Consumer<ServiceLastAccessed.Builder>... servicesLastAccessed)
A
ServiceLastAccessed object that contains details about the most recent attempt to access the
service. |
GetServiceLastAccessedDetailsResponse.Builder |
servicesLastAccessed(ServiceLastAccessed... servicesLastAccessed)
A
ServiceLastAccessed object that contains details about the most recent attempt to access the
service. |
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetServiceLastAccessedDetailsResponse.Builder jobStatus(String jobStatus)
The status of the job.
jobStatus - The status of the job.JobStatusType,
JobStatusTypeGetServiceLastAccessedDetailsResponse.Builder jobStatus(JobStatusType jobStatus)
The status of the job.
jobStatus - The status of the job.JobStatusType,
JobStatusTypeGetServiceLastAccessedDetailsResponse.Builder jobType(String jobType)
The type of job. Service jobs return information about when each service was last accessed. Action jobs also include information about when tracked actions within the service were last accessed.
jobType - The type of job. Service jobs return information about when each service was last accessed. Action
jobs also include information about when tracked actions within the service were last accessed.AccessAdvisorUsageGranularityType,
AccessAdvisorUsageGranularityTypeGetServiceLastAccessedDetailsResponse.Builder jobType(AccessAdvisorUsageGranularityType jobType)
The type of job. Service jobs return information about when each service was last accessed. Action jobs also include information about when tracked actions within the service were last accessed.
jobType - The type of job. Service jobs return information about when each service was last accessed. Action
jobs also include information about when tracked actions within the service were last accessed.AccessAdvisorUsageGranularityType,
AccessAdvisorUsageGranularityTypeGetServiceLastAccessedDetailsResponse.Builder jobCreationDate(Instant jobCreationDate)
The date and time, in ISO 8601 date-time format, when the report job was created.
jobCreationDate - The date and time, in ISO 8601 date-time format, when the
report job was created.GetServiceLastAccessedDetailsResponse.Builder servicesLastAccessed(Collection<ServiceLastAccessed> servicesLastAccessed)
A ServiceLastAccessed object that contains details about the most recent attempt to access the
service.
servicesLastAccessed - A ServiceLastAccessed object that contains details about the most recent attempt to
access the service.GetServiceLastAccessedDetailsResponse.Builder servicesLastAccessed(ServiceLastAccessed... servicesLastAccessed)
A ServiceLastAccessed object that contains details about the most recent attempt to access the
service.
servicesLastAccessed - A ServiceLastAccessed object that contains details about the most recent attempt to
access the service.GetServiceLastAccessedDetailsResponse.Builder servicesLastAccessed(Consumer<ServiceLastAccessed.Builder>... servicesLastAccessed)
A ServiceLastAccessed object that contains details about the most recent attempt to access the
service.
ServiceLastAccessed.Builder avoiding the need to create one
manually via ServiceLastAccessed.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #servicesLastAccessed(List.
servicesLastAccessed - a consumer that will call methods on
ServiceLastAccessed.Builder#servicesLastAccessed(java.util.Collection) GetServiceLastAccessedDetailsResponse.Builder jobCompletionDate(Instant jobCompletionDate)
The date and time, in ISO 8601 date-time format, when the generated report job was completed or failed.
This field is null if the job is still in progress, as indicated by a job status value of
IN_PROGRESS.
jobCompletionDate - The date and time, in ISO 8601 date-time format, when the
generated report job was completed or failed.
This field is null if the job is still in progress, as indicated by a job status value of
IN_PROGRESS.
GetServiceLastAccessedDetailsResponse.Builder isTruncated(Boolean isTruncated)
A flag that indicates whether there are more items to return. If your results were truncated, you can make a
subsequent pagination request using the Marker request parameter to retrieve more items. Note
that IAM might return fewer than the MaxItems number of results even when there are more results
available. We recommend that you check IsTruncated after every call to ensure that you receive
all your results.
isTruncated - A flag that indicates whether there are more items to return. If your results were truncated, you can
make a subsequent pagination request using the Marker request parameter to retrieve more
items. Note that IAM might return fewer than the MaxItems number of results even when
there are more results available. We recommend that you check IsTruncated after every
call to ensure that you receive all your results.GetServiceLastAccessedDetailsResponse.Builder marker(String marker)
When IsTruncated is true, this element is present and contains the value to use for
the Marker parameter in a subsequent pagination request.
marker - When IsTruncated is true, this element is present and contains the value to
use for the Marker parameter in a subsequent pagination request.GetServiceLastAccessedDetailsResponse.Builder error(ErrorDetails error)
An object that contains details about the reason the operation failed.
error - An object that contains details about the reason the operation failed.default GetServiceLastAccessedDetailsResponse.Builder error(Consumer<ErrorDetails.Builder> error)
An object that contains details about the reason the operation failed.
This is a convenience method that creates an instance of theErrorDetails.Builder avoiding the need
to create one manually via ErrorDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to error(ErrorDetails).
error - a consumer that will call methods on ErrorDetails.Buildererror(ErrorDetails)Copyright © 2022. All rights reserved.