Interface UpdateOrganizationConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateOrganizationConfigurationRequest.Builder,,UpdateOrganizationConfigurationRequest> GuardDutyRequest.Builder,SdkBuilder<UpdateOrganizationConfigurationRequest.Builder,,UpdateOrganizationConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateOrganizationConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionautoEnable(Boolean autoEnable) Deprecated.This field is deprecated, use AutoEnableOrganizationMembers insteadautoEnableOrganizationMembers(String autoEnableOrganizationMembers) Indicates the auto-enablement configuration of GuardDuty for the member accounts in the organization.autoEnableOrganizationMembers(AutoEnableMembers autoEnableOrganizationMembers) Indicates the auto-enablement configuration of GuardDuty for the member accounts in the organization.dataSources(Consumer<OrganizationDataSourceConfigurations.Builder> dataSources) Deprecated.This parameter is deprecated, use Features insteaddataSources(OrganizationDataSourceConfigurations dataSources) Deprecated.This parameter is deprecated, use Features insteaddetectorId(String detectorId) The ID of the detector that configures the delegated administrator.features(Collection<OrganizationFeatureConfiguration> features) A list of features that will be configured for the organization.features(Consumer<OrganizationFeatureConfiguration.Builder>... features) A list of features that will be configured for the organization.features(OrganizationFeatureConfiguration... features) A list of features that will be configured for the organization.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.services.guardduty.model.GuardDutyRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
detectorId
The ID of the detector that configures the delegated administrator.
- Parameters:
detectorId- The ID of the detector that configures the delegated administrator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoEnable
Deprecated.This field is deprecated, use AutoEnableOrganizationMembers insteadRepresents whether or not to automatically enable member accounts in the organization.
Even though this is still supported, we recommend using
AutoEnableOrganizationMembersto achieve the similar results. You must provide a value for eitherautoEnableOrganizationMembersorautoEnable.- Parameters:
autoEnable- Represents whether or not to automatically enable member accounts in the organization.Even though this is still supported, we recommend using
AutoEnableOrganizationMembersto achieve the similar results. You must provide a value for eitherautoEnableOrganizationMembersorautoEnable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSources
@Deprecated UpdateOrganizationConfigurationRequest.Builder dataSources(OrganizationDataSourceConfigurations dataSources) Deprecated.This parameter is deprecated, use Features insteadDescribes which data sources will be updated.
- Parameters:
dataSources- Describes which data sources will be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSources
@Deprecated default UpdateOrganizationConfigurationRequest.Builder dataSources(Consumer<OrganizationDataSourceConfigurations.Builder> dataSources) Deprecated.This parameter is deprecated, use Features insteadDescribes which data sources will be updated.
This is a convenience method that creates an instance of theOrganizationDataSourceConfigurations.Builderavoiding the need to create one manually viaOrganizationDataSourceConfigurations.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataSources(OrganizationDataSourceConfigurations).- Parameters:
dataSources- a consumer that will call methods onOrganizationDataSourceConfigurations.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
features
UpdateOrganizationConfigurationRequest.Builder features(Collection<OrganizationFeatureConfiguration> features) A list of features that will be configured for the organization.
- Parameters:
features- A list of features that will be configured for the organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
features
UpdateOrganizationConfigurationRequest.Builder features(OrganizationFeatureConfiguration... features) A list of features that will be configured for the organization.
- Parameters:
features- A list of features that will be configured for the organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
features
UpdateOrganizationConfigurationRequest.Builder features(Consumer<OrganizationFeatureConfiguration.Builder>... features) A list of features that will be configured for the organization.
This is a convenience method that creates an instance of theOrganizationFeatureConfiguration.Builderavoiding the need to create one manually viaOrganizationFeatureConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofeatures(List<OrganizationFeatureConfiguration>).- Parameters:
features- a consumer that will call methods onOrganizationFeatureConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
autoEnableOrganizationMembers
UpdateOrganizationConfigurationRequest.Builder autoEnableOrganizationMembers(String autoEnableOrganizationMembers) Indicates the auto-enablement configuration of GuardDuty for the member accounts in the organization. You must provide a value for either
autoEnableOrganizationMembersorautoEnable.Use one of the following configuration values for
autoEnableOrganizationMembers:-
NEW: Indicates that when a new account joins the organization, they will have GuardDuty enabled automatically. -
ALL: Indicates that all accounts in the organization have GuardDuty enabled automatically. This includesNEWaccounts that join the organization and accounts that may have been suspended or removed from the organization in GuardDuty.It may take up to 24 hours to update the configuration for all the member accounts.
-
NONE: Indicates that GuardDuty will not be automatically enabled for any account in the organization. The administrator must manage GuardDuty for each account in the organization individually.When you update the auto-enable setting from
ALLorNEWtoNONE, this action doesn't disable the corresponding option for your existing accounts. This configuration will apply to the new accounts that join the organization. After you update the auto-enable settings, no new account will have the corresponding option as enabled.
- Parameters:
autoEnableOrganizationMembers- Indicates the auto-enablement configuration of GuardDuty for the member accounts in the organization. You must provide a value for eitherautoEnableOrganizationMembersorautoEnable.Use one of the following configuration values for
autoEnableOrganizationMembers:-
NEW: Indicates that when a new account joins the organization, they will have GuardDuty enabled automatically. -
ALL: Indicates that all accounts in the organization have GuardDuty enabled automatically. This includesNEWaccounts that join the organization and accounts that may have been suspended or removed from the organization in GuardDuty.It may take up to 24 hours to update the configuration for all the member accounts.
-
NONE: Indicates that GuardDuty will not be automatically enabled for any account in the organization. The administrator must manage GuardDuty for each account in the organization individually.When you update the auto-enable setting from
ALLorNEWtoNONE, this action doesn't disable the corresponding option for your existing accounts. This configuration will apply to the new accounts that join the organization. After you update the auto-enable settings, no new account will have the corresponding option as enabled.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
autoEnableOrganizationMembers
UpdateOrganizationConfigurationRequest.Builder autoEnableOrganizationMembers(AutoEnableMembers autoEnableOrganizationMembers) Indicates the auto-enablement configuration of GuardDuty for the member accounts in the organization. You must provide a value for either
autoEnableOrganizationMembersorautoEnable.Use one of the following configuration values for
autoEnableOrganizationMembers:-
NEW: Indicates that when a new account joins the organization, they will have GuardDuty enabled automatically. -
ALL: Indicates that all accounts in the organization have GuardDuty enabled automatically. This includesNEWaccounts that join the organization and accounts that may have been suspended or removed from the organization in GuardDuty.It may take up to 24 hours to update the configuration for all the member accounts.
-
NONE: Indicates that GuardDuty will not be automatically enabled for any account in the organization. The administrator must manage GuardDuty for each account in the organization individually.When you update the auto-enable setting from
ALLorNEWtoNONE, this action doesn't disable the corresponding option for your existing accounts. This configuration will apply to the new accounts that join the organization. After you update the auto-enable settings, no new account will have the corresponding option as enabled.
- Parameters:
autoEnableOrganizationMembers- Indicates the auto-enablement configuration of GuardDuty for the member accounts in the organization. You must provide a value for eitherautoEnableOrganizationMembersorautoEnable.Use one of the following configuration values for
autoEnableOrganizationMembers:-
NEW: Indicates that when a new account joins the organization, they will have GuardDuty enabled automatically. -
ALL: Indicates that all accounts in the organization have GuardDuty enabled automatically. This includesNEWaccounts that join the organization and accounts that may have been suspended or removed from the organization in GuardDuty.It may take up to 24 hours to update the configuration for all the member accounts.
-
NONE: Indicates that GuardDuty will not be automatically enabled for any account in the organization. The administrator must manage GuardDuty for each account in the organization individually.When you update the auto-enable setting from
ALLorNEWtoNONE, this action doesn't disable the corresponding option for your existing accounts. This configuration will apply to the new accounts that join the organization. After you update the auto-enable settings, no new account will have the corresponding option as enabled.
-
- 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.
-