Interface GetOrganizationsAccessReportResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetOrganizationsAccessReportResponse.Builder,
,GetOrganizationsAccessReportResponse> IamResponse.Builder
,SdkBuilder<GetOrganizationsAccessReportResponse.Builder,
,GetOrganizationsAccessReportResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetOrganizationsAccessReportResponse
-
Method Summary
Modifier and TypeMethodDescriptionaccessDetails
(Collection<AccessDetail> accessDetails) An object that contains details about the most recent attempt to access the service.accessDetails
(Consumer<AccessDetail.Builder>... accessDetails) An object that contains details about the most recent attempt to access the service.accessDetails
(AccessDetail... accessDetails) An object that contains details about the most recent attempt to access the service.errorDetails
(Consumer<ErrorDetails.Builder> errorDetails) Sets the value of the ErrorDetails property for this object.errorDetails
(ErrorDetails errorDetails) Sets the value of the ErrorDetails property for this object.isTruncated
(Boolean isTruncated) A flag that indicates whether there are more items to return.jobCompletionDate
(Instant jobCompletionDate) The date and time, in ISO 8601 date-time format, when the generated report job was completed or failed.jobCreationDate
(Instant jobCreationDate) The date and time, in ISO 8601 date-time format, when the report job was created.The status of the job.jobStatus
(JobStatusType jobStatus) The status of the job.WhenIsTruncated
istrue
, this element is present and contains the value to use for theMarker
parameter in a subsequent pagination request.numberOfServicesAccessible
(Integer numberOfServicesAccessible) The number of services that the applicable SCPs allow account principals to access.numberOfServicesNotAccessed
(Integer numberOfServicesNotAccessed) The number of services that account principals are allowed but did not attempt to access.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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:
-
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:
-
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
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.
-
numberOfServicesAccessible
GetOrganizationsAccessReportResponse.Builder numberOfServicesAccessible(Integer numberOfServicesAccessible) The number of services that the applicable SCPs allow account principals to access.
- Parameters:
numberOfServicesAccessible
- The number of services that the applicable SCPs allow account principals to access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberOfServicesNotAccessed
GetOrganizationsAccessReportResponse.Builder numberOfServicesNotAccessed(Integer numberOfServicesNotAccessed) The number of services that account principals are allowed but did not attempt to access.
- Parameters:
numberOfServicesNotAccessed
- The number of services that account principals are allowed but did not attempt to access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessDetails
An object that contains details about the most recent attempt to access the service.
- Parameters:
accessDetails
- An object that contains details about the most recent attempt to access the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessDetails
An object that contains details about the most recent attempt to access the service.
- Parameters:
accessDetails
- An object that contains details about the most recent attempt to access the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessDetails
GetOrganizationsAccessReportResponse.Builder accessDetails(Consumer<AccessDetail.Builder>... accessDetails) An object that contains details about the most recent attempt to access the service.
This is a convenience method that creates an instance of theAccessDetail.Builder
avoiding the need to create one manually viaAccessDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccessDetails(List<AccessDetail>)
.- Parameters:
accessDetails
- a consumer that will call methods onAccessDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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.
-
errorDetails
Sets the value of the ErrorDetails property for this object.- Parameters:
errorDetails
- The new value for the ErrorDetails property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetails
default GetOrganizationsAccessReportResponse.Builder errorDetails(Consumer<ErrorDetails.Builder> errorDetails) Sets the value of the ErrorDetails property for this object. 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 toerrorDetails(ErrorDetails)
.- Parameters:
errorDetails
- 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:
-