Interface GetAccountUsageResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetAccountUsageResponse.Builder,,GetAccountUsageResponse> DevOpsAgentResponse.Builder,SdkBuilder<GetAccountUsageResponse.Builder,,GetAccountUsageResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetAccountUsageResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetAccountUsageResponse.BuildermonthlyAccountEvaluationHours(Consumer<UsageMetric.Builder> monthlyAccountEvaluationHours) Monthly evaluation hours usage and limit for an accountmonthlyAccountEvaluationHours(UsageMetric monthlyAccountEvaluationHours) Monthly evaluation hours usage and limit for an accountdefault GetAccountUsageResponse.BuildermonthlyAccountInvestigationHours(Consumer<UsageMetric.Builder> monthlyAccountInvestigationHours) Monthly investigation hours usage and limit for an accountmonthlyAccountInvestigationHours(UsageMetric monthlyAccountInvestigationHours) Monthly investigation hours usage and limit for an accountdefault GetAccountUsageResponse.BuildermonthlyAccountSystemLearningHours(Consumer<UsageMetric.Builder> monthlyAccountSystemLearningHours) Monthly system learning hours usage and limit for an accountmonthlyAccountSystemLearningHours(UsageMetric monthlyAccountSystemLearningHours) Monthly system learning hours usage and limit for an accountusagePeriodEndTime(Instant usagePeriodEndTime) The end time of the usage tracking periodusagePeriodStartTime(Instant usagePeriodStartTime) The start time of the usage tracking periodMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.devopsagent.model.DevOpsAgentResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkHttpResponse
-
Method Details
-
monthlyAccountInvestigationHours
GetAccountUsageResponse.Builder monthlyAccountInvestigationHours(UsageMetric monthlyAccountInvestigationHours) Monthly investigation hours usage and limit for an account
- Parameters:
monthlyAccountInvestigationHours- Monthly investigation hours usage and limit for an account- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monthlyAccountInvestigationHours
default GetAccountUsageResponse.Builder monthlyAccountInvestigationHours(Consumer<UsageMetric.Builder> monthlyAccountInvestigationHours) Monthly investigation hours usage and limit for an account
This is a convenience method that creates an instance of theUsageMetric.Builderavoiding the need to create one manually viaUsageMetric.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomonthlyAccountInvestigationHours(UsageMetric).- Parameters:
monthlyAccountInvestigationHours- a consumer that will call methods onUsageMetric.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
monthlyAccountEvaluationHours
GetAccountUsageResponse.Builder monthlyAccountEvaluationHours(UsageMetric monthlyAccountEvaluationHours) Monthly evaluation hours usage and limit for an account
- Parameters:
monthlyAccountEvaluationHours- Monthly evaluation hours usage and limit for an account- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monthlyAccountEvaluationHours
default GetAccountUsageResponse.Builder monthlyAccountEvaluationHours(Consumer<UsageMetric.Builder> monthlyAccountEvaluationHours) Monthly evaluation hours usage and limit for an account
This is a convenience method that creates an instance of theUsageMetric.Builderavoiding the need to create one manually viaUsageMetric.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomonthlyAccountEvaluationHours(UsageMetric).- Parameters:
monthlyAccountEvaluationHours- a consumer that will call methods onUsageMetric.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
monthlyAccountSystemLearningHours
GetAccountUsageResponse.Builder monthlyAccountSystemLearningHours(UsageMetric monthlyAccountSystemLearningHours) Monthly system learning hours usage and limit for an account
- Parameters:
monthlyAccountSystemLearningHours- Monthly system learning hours usage and limit for an account- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monthlyAccountSystemLearningHours
default GetAccountUsageResponse.Builder monthlyAccountSystemLearningHours(Consumer<UsageMetric.Builder> monthlyAccountSystemLearningHours) Monthly system learning hours usage and limit for an account
This is a convenience method that creates an instance of theUsageMetric.Builderavoiding the need to create one manually viaUsageMetric.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomonthlyAccountSystemLearningHours(UsageMetric).- Parameters:
monthlyAccountSystemLearningHours- a consumer that will call methods onUsageMetric.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
usagePeriodStartTime
The start time of the usage tracking period
- Parameters:
usagePeriodStartTime- The start time of the usage tracking period- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usagePeriodEndTime
The end time of the usage tracking period
- Parameters:
usagePeriodEndTime- The end time of the usage tracking period- Returns:
- Returns a reference to this object so that method calls can be chained together.
-