Interface UpdateOrganizationConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateOrganizationConfigurationRequest.Builder,,UpdateOrganizationConfigurationRequest> SdkBuilder<UpdateOrganizationConfigurationRequest.Builder,,UpdateOrganizationConfigurationRequest> SdkPojo,SdkRequest.Builder,SecurityHubRequest.Builder
- Enclosing class:
UpdateOrganizationConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionautoEnable(Boolean autoEnable) Whether to automatically enable Security Hub in new member accounts when they join the organization.autoEnableStandards(String autoEnableStandards) Whether to automatically enable Security Hub default standards in new member accounts when they join the organization.autoEnableStandards(AutoEnableStandards autoEnableStandards) Whether to automatically enable Security Hub default standards in new member accounts when they join the organization.organizationConfiguration(Consumer<OrganizationConfiguration.Builder> organizationConfiguration) Sets the value of the OrganizationConfiguration property for this object.organizationConfiguration(OrganizationConfiguration organizationConfiguration) Sets the value of the OrganizationConfiguration property for this object.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubRequest.Builder
build
-
Method Details
-
autoEnable
Whether to automatically enable Security Hub in new member accounts when they join the organization.
If set to
true, then Security Hub is automatically enabled in new accounts. If set tofalse, then Security Hub isn't enabled in new accounts automatically. The default value isfalse.If the
ConfigurationTypeof your organization is set toCENTRAL, then this field is set tofalseand can't be changed in the home Region and linked Regions. However, in that case, the delegated administrator can create a configuration policy in which Security Hub is enabled and associate the policy with new organization accounts.- Parameters:
autoEnable- Whether to automatically enable Security Hub in new member accounts when they join the organization.If set to
true, then Security Hub is automatically enabled in new accounts. If set tofalse, then Security Hub isn't enabled in new accounts automatically. The default value isfalse.If the
ConfigurationTypeof your organization is set toCENTRAL, then this field is set tofalseand can't be changed in the home Region and linked Regions. However, in that case, the delegated administrator can create a configuration policy in which Security Hub is enabled and associate the policy with new organization accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoEnableStandards
Whether to automatically enable Security Hub default standards in new member accounts when they join the organization.
The default value of this parameter is equal to
DEFAULT.If equal to
DEFAULT, then Security Hub default standards are automatically enabled for new member accounts. If equal toNONE, then default standards are not automatically enabled for new member accounts.If the
ConfigurationTypeof your organization is set toCENTRAL, then this field is set toNONEand can't be changed in the home Region and linked Regions. However, in that case, the delegated administrator can create a configuration policy in which specific security standards are enabled and associate the policy with new organization accounts.- Parameters:
autoEnableStandards- Whether to automatically enable Security Hub default standards in new member accounts when they join the organization.The default value of this parameter is equal to
DEFAULT.If equal to
DEFAULT, then Security Hub default standards are automatically enabled for new member accounts. If equal toNONE, then default standards are not automatically enabled for new member accounts.If the
ConfigurationTypeof your organization is set toCENTRAL, then this field is set toNONEand can't be changed in the home Region and linked Regions. However, in that case, the delegated administrator can create a configuration policy in which specific security standards are enabled and associate the policy with new organization accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
autoEnableStandards
UpdateOrganizationConfigurationRequest.Builder autoEnableStandards(AutoEnableStandards autoEnableStandards) Whether to automatically enable Security Hub default standards in new member accounts when they join the organization.
The default value of this parameter is equal to
DEFAULT.If equal to
DEFAULT, then Security Hub default standards are automatically enabled for new member accounts. If equal toNONE, then default standards are not automatically enabled for new member accounts.If the
ConfigurationTypeof your organization is set toCENTRAL, then this field is set toNONEand can't be changed in the home Region and linked Regions. However, in that case, the delegated administrator can create a configuration policy in which specific security standards are enabled and associate the policy with new organization accounts.- Parameters:
autoEnableStandards- Whether to automatically enable Security Hub default standards in new member accounts when they join the organization.The default value of this parameter is equal to
DEFAULT.If equal to
DEFAULT, then Security Hub default standards are automatically enabled for new member accounts. If equal toNONE, then default standards are not automatically enabled for new member accounts.If the
ConfigurationTypeof your organization is set toCENTRAL, then this field is set toNONEand can't be changed in the home Region and linked Regions. However, in that case, the delegated administrator can create a configuration policy in which specific security standards are enabled and associate the policy with new organization accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
organizationConfiguration
UpdateOrganizationConfigurationRequest.Builder organizationConfiguration(OrganizationConfiguration organizationConfiguration) Sets the value of the OrganizationConfiguration property for this object.- Parameters:
organizationConfiguration- The new value for the OrganizationConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationConfiguration
default UpdateOrganizationConfigurationRequest.Builder organizationConfiguration(Consumer<OrganizationConfiguration.Builder> organizationConfiguration) Sets the value of the OrganizationConfiguration property for this object. 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:
-
overrideConfiguration
UpdateOrganizationConfigurationRequest.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
UpdateOrganizationConfigurationRequest.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.
-