Interface UpdateAutomationRuleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ComputeOptimizerAutomationResponse.Builder,CopyableBuilder<UpdateAutomationRuleResponse.Builder,,UpdateAutomationRuleResponse> SdkBuilder<UpdateAutomationRuleResponse.Builder,,UpdateAutomationRuleResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateAutomationRuleResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreatedTimestamp(Instant createdTimestamp) The timestamp when the automation rule was originally created.criteria(Consumer<Criteria.Builder> criteria) Sets the value of the Criteria property for this object.Sets the value of the Criteria property for this object.description(String description) The updated description of the automation rule.lastUpdatedTimestamp(Instant lastUpdatedTimestamp) The timestamp when the automation rule was last updated.The updated name of the automation rule.organizationConfiguration(Consumer<OrganizationConfiguration.Builder> organizationConfiguration) The updated organization configuration settings.organizationConfiguration(OrganizationConfiguration organizationConfiguration) The updated organization configuration settings.The updated priority level of the automation rule.recommendedActionTypes(Collection<RecommendedActionType> recommendedActionTypes) The updated list of recommended action types.recommendedActionTypes(RecommendedActionType... recommendedActionTypes) The updated list of recommended action types.recommendedActionTypesWithStrings(String... recommendedActionTypes) The updated list of recommended action types.recommendedActionTypesWithStrings(Collection<String> recommendedActionTypes) The updated list of recommended action types.The ARN of the updated rule.ruleRevision(Long ruleRevision) The new revision number of the updated rule.The updated type of automation rule.The updated type of automation rule.schedule(Consumer<Schedule.Builder> schedule) The updated schedule configuration.The updated schedule configuration.The updated status of the automation rule.status(RuleStatus status) The updated status of the automation rule.Methods inherited from interface software.amazon.awssdk.services.computeoptimizerautomation.model.ComputeOptimizerAutomationResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkHttpResponse
-
Method Details
-
ruleArn
The ARN of the updated rule.
- Parameters:
ruleArn- The ARN of the updated rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleRevision
The new revision number of the updated rule.
- Parameters:
ruleRevision- The new revision number of the updated rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The updated name of the automation rule.
- Parameters:
name- The updated name of the automation rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The updated description of the automation rule.
- Parameters:
description- The updated description of the automation rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleType
The updated type of automation rule.
- Parameters:
ruleType- The updated type of automation rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ruleType
The updated type of automation rule.
- Parameters:
ruleType- The updated type of automation rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
organizationConfiguration
UpdateAutomationRuleResponse.Builder organizationConfiguration(OrganizationConfiguration organizationConfiguration) The updated organization configuration settings.
- Parameters:
organizationConfiguration- The updated organization configuration settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationConfiguration
default UpdateAutomationRuleResponse.Builder organizationConfiguration(Consumer<OrganizationConfiguration.Builder> organizationConfiguration) The updated organization configuration settings.
This is a convenience method that creates an instance of theOrganizationConfiguration.Builderavoiding the need to create one manually viaOrganizationConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toorganizationConfiguration(OrganizationConfiguration).- Parameters:
organizationConfiguration- a consumer that will call methods onOrganizationConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
priority
The updated priority level of the automation rule.
- Parameters:
priority- The updated priority level of the automation rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendedActionTypesWithStrings
UpdateAutomationRuleResponse.Builder recommendedActionTypesWithStrings(Collection<String> recommendedActionTypes) The updated list of recommended action types.
- Parameters:
recommendedActionTypes- The updated list of recommended action types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendedActionTypesWithStrings
UpdateAutomationRuleResponse.Builder recommendedActionTypesWithStrings(String... recommendedActionTypes) The updated list of recommended action types.
- Parameters:
recommendedActionTypes- The updated list of recommended action types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendedActionTypes
UpdateAutomationRuleResponse.Builder recommendedActionTypes(Collection<RecommendedActionType> recommendedActionTypes) The updated list of recommended action types.
- Parameters:
recommendedActionTypes- The updated list of recommended action types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendedActionTypes
UpdateAutomationRuleResponse.Builder recommendedActionTypes(RecommendedActionType... recommendedActionTypes) The updated list of recommended action types.
- Parameters:
recommendedActionTypes- The updated list of recommended action types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
criteria
Sets the value of the Criteria property for this object.- Parameters:
criteria- The new value for the Criteria property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
criteria
Sets the value of the Criteria property for this object. This is a convenience method that creates an instance of theCriteria.Builderavoiding the need to create one manually viaCriteria.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocriteria(Criteria).- Parameters:
criteria- a consumer that will call methods onCriteria.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
schedule
The updated schedule configuration.
- Parameters:
schedule- The updated schedule configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
The updated schedule configuration.
This is a convenience method that creates an instance of theSchedule.Builderavoiding the need to create one manually viaSchedule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toschedule(Schedule).- Parameters:
schedule- a consumer that will call methods onSchedule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The updated status of the automation rule.
- Parameters:
status- The updated status of the automation rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The updated status of the automation rule.
- Parameters:
status- The updated status of the automation rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdTimestamp
The timestamp when the automation rule was originally created.
- Parameters:
createdTimestamp- The timestamp when the automation rule was originally created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTimestamp
The timestamp when the automation rule was last updated.
- Parameters:
lastUpdatedTimestamp- The timestamp when the automation rule was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-