Interface GetQuotaUtilizationReportResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetQuotaUtilizationReportResponse.Builder,,GetQuotaUtilizationReportResponse> SdkBuilder<GetQuotaUtilizationReportResponse.Builder,,GetQuotaUtilizationReportResponse> SdkPojo,SdkResponse.Builder,ServiceQuotasResponse.Builder
- Enclosing class:
GetQuotaUtilizationReportResponse
-
Method Summary
Modifier and TypeMethodDescriptionAn error code indicating the reason for failure when the report status isFAILED.errorMessage(String errorMessage) A detailed error message describing the failure when the report status isFAILED.generatedAt(Instant generatedAt) The timestamp when the report was generated, in ISO 8601 format.A token that indicates more results are available.quotas(Collection<QuotaUtilizationInfo> quotas) A list of quota utilization records, sorted by utilization percentage in descending order.quotas(Consumer<QuotaUtilizationInfo.Builder>... quotas) A list of quota utilization records, sorted by utilization percentage in descending order.quotas(QuotaUtilizationInfo... quotas) A list of quota utilization records, sorted by utilization percentage in descending order.The unique identifier for the quota utilization report.The current status of the report generation.status(ReportStatus status) The current status of the report generation.totalCount(Integer totalCount) The total number of quotas included in the report across all pages.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.servicequotas.model.ServiceQuotasResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
reportId
The unique identifier for the quota utilization report.
- Parameters:
reportId- The unique identifier for the quota utilization report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the report generation. Possible values are:
-
PENDING- The report generation is in progress. Retry this operation after a few seconds. -
IN_PROGRESS- The report is being processed. Continue polling until the status changes toCOMPLETED. -
COMPLETED- The report is ready and quota utilization data is available in the response. -
FAILED- The report generation failed. Check theErrorCodeandErrorMessagefields for details.
- Parameters:
status- The current status of the report generation. Possible values are:-
PENDING- The report generation is in progress. Retry this operation after a few seconds. -
IN_PROGRESS- The report is being processed. Continue polling until the status changes toCOMPLETED. -
COMPLETED- The report is ready and quota utilization data is available in the response. -
FAILED- The report generation failed. Check theErrorCodeandErrorMessagefields for details.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The current status of the report generation. Possible values are:
-
PENDING- The report generation is in progress. Retry this operation after a few seconds. -
IN_PROGRESS- The report is being processed. Continue polling until the status changes toCOMPLETED. -
COMPLETED- The report is ready and quota utilization data is available in the response. -
FAILED- The report generation failed. Check theErrorCodeandErrorMessagefields for details.
- Parameters:
status- The current status of the report generation. Possible values are:-
PENDING- The report generation is in progress. Retry this operation after a few seconds. -
IN_PROGRESS- The report is being processed. Continue polling until the status changes toCOMPLETED. -
COMPLETED- The report is ready and quota utilization data is available in the response. -
FAILED- The report generation failed. Check theErrorCodeandErrorMessagefields for details.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
generatedAt
The timestamp when the report was generated, in ISO 8601 format.
- Parameters:
generatedAt- The timestamp when the report was generated, in ISO 8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalCount
The total number of quotas included in the report across all pages.
- Parameters:
totalCount- The total number of quotas included in the report across all pages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quotas
A list of quota utilization records, sorted by utilization percentage in descending order. Each record includes the quota code, service code, service name, quota name, namespace, utilization percentage, default value, applied value, and whether the quota is adjustable. Up to 1,000 records are returned per page.
- Parameters:
quotas- A list of quota utilization records, sorted by utilization percentage in descending order. Each record includes the quota code, service code, service name, quota name, namespace, utilization percentage, default value, applied value, and whether the quota is adjustable. Up to 1,000 records are returned per page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quotas
A list of quota utilization records, sorted by utilization percentage in descending order. Each record includes the quota code, service code, service name, quota name, namespace, utilization percentage, default value, applied value, and whether the quota is adjustable. Up to 1,000 records are returned per page.
- Parameters:
quotas- A list of quota utilization records, sorted by utilization percentage in descending order. Each record includes the quota code, service code, service name, quota name, namespace, utilization percentage, default value, applied value, and whether the quota is adjustable. Up to 1,000 records are returned per page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quotas
A list of quota utilization records, sorted by utilization percentage in descending order. Each record includes the quota code, service code, service name, quota name, namespace, utilization percentage, default value, applied value, and whether the quota is adjustable. Up to 1,000 records are returned per page.
This is a convenience method that creates an instance of theQuotaUtilizationInfo.Builderavoiding the need to create one manually viaQuotaUtilizationInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toquotas(List<QuotaUtilizationInfo>).- Parameters:
quotas- a consumer that will call methods onQuotaUtilizationInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token that indicates more results are available. Include this token in the next request to retrieve the next page of results. If this field is not present, you have retrieved all available results.
- Parameters:
nextToken- A token that indicates more results are available. Include this token in the next request to retrieve the next page of results. If this field is not present, you have retrieved all available results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorCode
An error code indicating the reason for failure when the report status is
FAILED. This field is only present when the status isFAILED.- Parameters:
errorCode- An error code indicating the reason for failure when the report status isFAILED. This field is only present when the status isFAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
A detailed error message describing the failure when the report status is
FAILED. This field is only present when the status isFAILED.- Parameters:
errorMessage- A detailed error message describing the failure when the report status isFAILED. This field is only present when the status isFAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-