Interface PutOrganizationEnrollmentConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ComputeOptimizerAutomationRequest.Builder,CopyableBuilder<PutOrganizationEnrollmentConfigurationRequest.Builder,,PutOrganizationEnrollmentConfigurationRequest> SdkBuilder<PutOrganizationEnrollmentConfigurationRequest.Builder,,PutOrganizationEnrollmentConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutOrganizationEnrollmentConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique identifier to ensure idempotency of the request.organizationRuleMode(String organizationRuleMode) The organization rule mode to set on the target.organizationRuleMode(OrganizationRuleMode organizationRuleMode) The organization rule mode to set on the target.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.target(Consumer<OrganizationTarget.Builder> target) The account, organizational unit (OU), or organization root on which to create or update the organization enrollment configuration.target(OrganizationTarget target) The account, organizational unit (OU), or organization root on which to create or update the organization enrollment configuration.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
-
target
The account, organizational unit (OU), or organization root on which to create or update the organization enrollment configuration. You can't specify the management account.
- Parameters:
target- The account, organizational unit (OU), or organization root on which to create or update the organization enrollment configuration. You can't specify the management account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
default PutOrganizationEnrollmentConfigurationRequest.Builder target(Consumer<OrganizationTarget.Builder> target) The account, organizational unit (OU), or organization root on which to create or update the organization enrollment configuration. You can't specify the management account.
This is a convenience method that creates an instance of theOrganizationTarget.Builderavoiding the need to create one manually viaOrganizationTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totarget(OrganizationTarget).- Parameters:
target- a consumer that will call methods onOrganizationTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
organizationRuleMode
PutOrganizationEnrollmentConfigurationRequest.Builder organizationRuleMode(String organizationRuleMode) The organization rule mode to set on the target. An organization enrollment configuration with either
AnyAllowedorNoneAllowedenables Automation for affected member accounts.AnyAllowedpermits organization rules to apply to those accounts, whileNoneAlloweddoesn't.- Parameters:
organizationRuleMode- The organization rule mode to set on the target. An organization enrollment configuration with eitherAnyAllowedorNoneAllowedenables Automation for affected member accounts.AnyAllowedpermits organization rules to apply to those accounts, whileNoneAlloweddoesn't.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
organizationRuleMode
PutOrganizationEnrollmentConfigurationRequest.Builder organizationRuleMode(OrganizationRuleMode organizationRuleMode) The organization rule mode to set on the target. An organization enrollment configuration with either
AnyAllowedorNoneAllowedenables Automation for affected member accounts.AnyAllowedpermits organization rules to apply to those accounts, whileNoneAlloweddoesn't.- Parameters:
organizationRuleMode- The organization rule mode to set on the target. An organization enrollment configuration with eitherAnyAllowedorNoneAllowedenables Automation for affected member accounts.AnyAllowedpermits organization rules to apply to those accounts, whileNoneAlloweddoesn't.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique identifier to ensure idempotency of the request.
- Parameters:
clientToken- A unique identifier to ensure idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutOrganizationEnrollmentConfigurationRequest.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
PutOrganizationEnrollmentConfigurationRequest.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.
-