Interface UpdateOrganizationConfigurationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateOrganizationConfigurationRequest.Builder,UpdateOrganizationConfigurationRequest>,GuardDutyRequest.Builder,SdkBuilder<UpdateOrganizationConfigurationRequest.Builder,UpdateOrganizationConfigurationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateOrganizationConfigurationRequest
public static interface UpdateOrganizationConfigurationRequest.Builder extends GuardDutyRequest.Builder, SdkPojo, CopyableBuilder<UpdateOrganizationConfigurationRequest.Builder,UpdateOrganizationConfigurationRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.guardduty.model.GuardDutyRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
detectorId
UpdateOrganizationConfigurationRequest.Builder detectorId(String 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 UpdateOrganizationConfigurationRequest.Builder autoEnable(Boolean 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:
dataSources(OrganizationDataSourceConfigurations)
-
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 to#features(List.) - 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:
#features(java.util.Collection)
-
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.
- 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AutoEnableMembers,AutoEnableMembers
-
-
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.
- 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AutoEnableMembers,AutoEnableMembers
-
-
overrideConfiguration
UpdateOrganizationConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateOrganizationConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-