Interface UpdateEnrollmentConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ComputeOptimizerAutomationRequest.Builder,CopyableBuilder<UpdateEnrollmentConfigurationRequest.Builder,,UpdateEnrollmentConfigurationRequest> SdkBuilder<UpdateEnrollmentConfigurationRequest.Builder,,UpdateEnrollmentConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateEnrollmentConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The desired enrollment status.status(EnrollmentStatus status) The desired enrollment status.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.computeoptimizerautomation.model.ComputeOptimizerAutomationRequest.Builder
buildMethods 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, sdkFields
-
Method Details
-
status
The desired enrollment status.
-
Active - Enables the Automation feature for your account.
-
Inactive - Disables the Automation feature for your account and stops all of your automation rules. If you opt in again later, all rules will be inactive, and you must enable the rules you want to run. You must wait at least 24 hours after opting out to opt in again.
The
PendingandFailedoptions cannot be used to update the enrollment status of an account. They are returned in the response of a request to update the enrollment status of an account.If you are a member account, your account must be disassociated from your organization’s management account before you can disable Automation. Contact your administrator to make this change.
- Parameters:
status- The desired enrollment status.-
Active - Enables the Automation feature for your account.
-
Inactive - Disables the Automation feature for your account and stops all of your automation rules. If you opt in again later, all rules will be inactive, and you must enable the rules you want to run. You must wait at least 24 hours after opting out to opt in again.
The
PendingandFailedoptions cannot be used to update the enrollment status of an account. They are returned in the response of a request to update the enrollment status of an account.If you are a member account, your account must be disassociated from your organization’s management account before you can disable Automation. Contact your administrator to make this change.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The desired enrollment status.
-
Active - Enables the Automation feature for your account.
-
Inactive - Disables the Automation feature for your account and stops all of your automation rules. If you opt in again later, all rules will be inactive, and you must enable the rules you want to run. You must wait at least 24 hours after opting out to opt in again.
The
PendingandFailedoptions cannot be used to update the enrollment status of an account. They are returned in the response of a request to update the enrollment status of an account.If you are a member account, your account must be disassociated from your organization’s management account before you can disable Automation. Contact your administrator to make this change.
- Parameters:
status- The desired enrollment status.-
Active - Enables the Automation feature for your account.
-
Inactive - Disables the Automation feature for your account and stops all of your automation rules. If you opt in again later, all rules will be inactive, and you must enable the rules you want to run. You must wait at least 24 hours after opting out to opt in again.
The
PendingandFailedoptions cannot be used to update the enrollment status of an account. They are returned in the response of a request to update the enrollment status of an account.If you are a member account, your account must be disassociated from your organization’s management account before you can disable Automation. Contact your administrator to make this change.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Must be 1-64 characters long and contain only alphanumeric characters, underscores, and hyphens.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Must be 1-64 characters long and contain only alphanumeric characters, underscores, and hyphens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateEnrollmentConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateEnrollmentConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-