Interface GetServiceLastAccessedDetailsWithEntitiesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetServiceLastAccessedDetailsWithEntitiesResponse.Builder,GetServiceLastAccessedDetailsWithEntitiesResponse>
,IamResponse.Builder
,SdkBuilder<GetServiceLastAccessedDetailsWithEntitiesResponse.Builder,GetServiceLastAccessedDetailsWithEntitiesResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- GetServiceLastAccessedDetailsWithEntitiesResponse
public static interface GetServiceLastAccessedDetailsWithEntitiesResponse.Builder extends IamResponse.Builder, SdkPojo, CopyableBuilder<GetServiceLastAccessedDetailsWithEntitiesResponse.Builder,GetServiceLastAccessedDetailsWithEntitiesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetServiceLastAccessedDetailsWithEntitiesResponse.Builder
entityDetailsList(Collection<EntityDetails> entityDetailsList)
AnEntityDetailsList
object that contains details about when an IAM entity (user or role) used group or policy permissions in an attempt to access the specified Amazon Web Services service.GetServiceLastAccessedDetailsWithEntitiesResponse.Builder
entityDetailsList(Consumer<EntityDetails.Builder>... entityDetailsList)
AnEntityDetailsList
object that contains details about when an IAM entity (user or role) used group or policy permissions in an attempt to access the specified Amazon Web Services service.GetServiceLastAccessedDetailsWithEntitiesResponse.Builder
entityDetailsList(EntityDetails... entityDetailsList)
AnEntityDetailsList
object that contains details about when an IAM entity (user or role) used group or policy permissions in an attempt to access the specified Amazon Web Services service.default GetServiceLastAccessedDetailsWithEntitiesResponse.Builder
error(Consumer<ErrorDetails.Builder> error)
An object that contains details about the reason the operation failed.GetServiceLastAccessedDetailsWithEntitiesResponse.Builder
error(ErrorDetails error)
An object that contains details about the reason the operation failed.GetServiceLastAccessedDetailsWithEntitiesResponse.Builder
isTruncated(Boolean isTruncated)
A flag that indicates whether there are more items to return.GetServiceLastAccessedDetailsWithEntitiesResponse.Builder
jobCompletionDate(Instant jobCompletionDate)
The date and time, in ISO 8601 date-time format, when the generated report job was completed or failed.GetServiceLastAccessedDetailsWithEntitiesResponse.Builder
jobCreationDate(Instant jobCreationDate)
The date and time, in ISO 8601 date-time format, when the report job was created.GetServiceLastAccessedDetailsWithEntitiesResponse.Builder
jobStatus(String jobStatus)
The status of the job.GetServiceLastAccessedDetailsWithEntitiesResponse.Builder
jobStatus(JobStatusType jobStatus)
The status of the job.GetServiceLastAccessedDetailsWithEntitiesResponse.Builder
marker(String marker)
WhenIsTruncated
istrue
, this element is present and contains the value to use for theMarker
parameter in a subsequent pagination request.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iam.model.IamResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
jobStatus
GetServiceLastAccessedDetailsWithEntitiesResponse.Builder jobStatus(String jobStatus)
The status of the job.
- Parameters:
jobStatus
- The status of the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobStatusType
,JobStatusType
-
jobStatus
GetServiceLastAccessedDetailsWithEntitiesResponse.Builder jobStatus(JobStatusType jobStatus)
The status of the job.
- Parameters:
jobStatus
- The status of the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobStatusType
,JobStatusType
-
jobCreationDate
GetServiceLastAccessedDetailsWithEntitiesResponse.Builder jobCreationDate(Instant jobCreationDate)
The date and time, in ISO 8601 date-time format, when the report job was created.
- Parameters:
jobCreationDate
- The date and time, in ISO 8601 date-time format, when the report job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobCompletionDate
GetServiceLastAccessedDetailsWithEntitiesResponse.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
.- Parameters:
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
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityDetailsList
GetServiceLastAccessedDetailsWithEntitiesResponse.Builder entityDetailsList(Collection<EntityDetails> entityDetailsList)
An
EntityDetailsList
object that contains details about when an IAM entity (user or role) used group or policy permissions in an attempt to access the specified Amazon Web Services service.- Parameters:
entityDetailsList
- AnEntityDetailsList
object that contains details about when an IAM entity (user or role) used group or policy permissions in an attempt to access the specified Amazon Web Services service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityDetailsList
GetServiceLastAccessedDetailsWithEntitiesResponse.Builder entityDetailsList(EntityDetails... entityDetailsList)
An
EntityDetailsList
object that contains details about when an IAM entity (user or role) used group or policy permissions in an attempt to access the specified Amazon Web Services service.- Parameters:
entityDetailsList
- AnEntityDetailsList
object that contains details about when an IAM entity (user or role) used group or policy permissions in an attempt to access the specified Amazon Web Services service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityDetailsList
GetServiceLastAccessedDetailsWithEntitiesResponse.Builder entityDetailsList(Consumer<EntityDetails.Builder>... entityDetailsList)
An
This is a convenience method that creates an instance of theEntityDetailsList
object that contains details about when an IAM entity (user or role) used group or policy permissions in an attempt to access the specified Amazon Web Services service.EntityDetails.Builder
avoiding the need to create one manually viaEntityDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#entityDetailsList(List
.) - Parameters:
entityDetailsList
- a consumer that will call methods onEntityDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#entityDetailsList(java.util.Collection
)
-
isTruncated
GetServiceLastAccessedDetailsWithEntitiesResponse.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 theMaxItems
number of results even when there are more results available. We recommend that you checkIsTruncated
after every call to ensure that you receive all your results.- Parameters:
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 theMarker
request parameter to retrieve more items. Note that IAM might return fewer than theMaxItems
number of results even when there are more results available. We recommend that you checkIsTruncated
after every call to ensure that you receive all your results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
marker
GetServiceLastAccessedDetailsWithEntitiesResponse.Builder marker(String marker)
When
IsTruncated
istrue
, this element is present and contains the value to use for theMarker
parameter in a subsequent pagination request.- Parameters:
marker
- WhenIsTruncated
istrue
, this element is present and contains the value to use for theMarker
parameter in a subsequent pagination request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
GetServiceLastAccessedDetailsWithEntitiesResponse.Builder error(ErrorDetails error)
An object that contains details about the reason the operation failed.
- Parameters:
error
- An object that contains details about the reason the operation failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
default GetServiceLastAccessedDetailsWithEntitiesResponse.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 viaErrorDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerror(ErrorDetails)
.- Parameters:
error
- a consumer that will call methods onErrorDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
error(ErrorDetails)
-
-