Interface GetOrganizationsAccessReportResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetOrganizationsAccessReportResponse.Builder,GetOrganizationsAccessReportResponse>,IamResponse.Builder,SdkBuilder<GetOrganizationsAccessReportResponse.Builder,GetOrganizationsAccessReportResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetOrganizationsAccessReportResponse
public static interface GetOrganizationsAccessReportResponse.Builder extends IamResponse.Builder, SdkPojo, CopyableBuilder<GetOrganizationsAccessReportResponse.Builder,GetOrganizationsAccessReportResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetOrganizationsAccessReportResponse.BuilderaccessDetails(Collection<AccessDetail> accessDetails)An object that contains details about the most recent attempt to access the service.GetOrganizationsAccessReportResponse.BuilderaccessDetails(Consumer<AccessDetail.Builder>... accessDetails)An object that contains details about the most recent attempt to access the service.GetOrganizationsAccessReportResponse.BuilderaccessDetails(AccessDetail... accessDetails)An object that contains details about the most recent attempt to access the service.default GetOrganizationsAccessReportResponse.BuildererrorDetails(Consumer<ErrorDetails.Builder> errorDetails)Sets the value of the ErrorDetails property for this object.GetOrganizationsAccessReportResponse.BuildererrorDetails(ErrorDetails errorDetails)Sets the value of the ErrorDetails property for this object.GetOrganizationsAccessReportResponse.BuilderisTruncated(Boolean isTruncated)A flag that indicates whether there are more items to return.GetOrganizationsAccessReportResponse.BuilderjobCompletionDate(Instant jobCompletionDate)The date and time, in ISO 8601 date-time format, when the generated report job was completed or failed.GetOrganizationsAccessReportResponse.BuilderjobCreationDate(Instant jobCreationDate)The date and time, in ISO 8601 date-time format, when the report job was created.GetOrganizationsAccessReportResponse.BuilderjobStatus(String jobStatus)The status of the job.GetOrganizationsAccessReportResponse.BuilderjobStatus(JobStatusType jobStatus)The status of the job.GetOrganizationsAccessReportResponse.Buildermarker(String marker)WhenIsTruncatedistrue, this element is present and contains the value to use for theMarkerparameter in a subsequent pagination request.GetOrganizationsAccessReportResponse.BuildernumberOfServicesAccessible(Integer numberOfServicesAccessible)The number of services that the applicable SCPs allow account principals to access.GetOrganizationsAccessReportResponse.BuildernumberOfServicesNotAccessed(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 Detail
-
jobStatus
GetOrganizationsAccessReportResponse.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
GetOrganizationsAccessReportResponse.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
GetOrganizationsAccessReportResponse.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
GetOrganizationsAccessReportResponse.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.
-
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
GetOrganizationsAccessReportResponse.Builder accessDetails(Collection<AccessDetail> 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(AccessDetail... 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.Builderavoiding the need to create one manually viaAccessDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#accessDetails(List.) - 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:
#accessDetails(java.util.Collection)
-
isTruncated
GetOrganizationsAccessReportResponse.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
Markerrequest parameter to retrieve more items. Note that IAM might return fewer than theMaxItemsnumber of results even when there are more results available. We recommend that you checkIsTruncatedafter 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 theMarkerrequest parameter to retrieve more items. Note that IAM might return fewer than theMaxItemsnumber of results even when there are more results available. We recommend that you checkIsTruncatedafter 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
GetOrganizationsAccessReportResponse.Builder marker(String marker)
When
IsTruncatedistrue, this element is present and contains the value to use for theMarkerparameter in a subsequent pagination request.- Parameters:
marker- WhenIsTruncatedistrue, this element is present and contains the value to use for theMarkerparameter in a subsequent pagination request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetails
GetOrganizationsAccessReportResponse.Builder errorDetails(ErrorDetails 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.Builderavoiding the need to create one manually viaErrorDetails.builder().When the
Consumercompletes,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:
errorDetails(ErrorDetails)
-
-