Interface UpdateMemberDetectorsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateMemberDetectorsRequest.Builder,,UpdateMemberDetectorsRequest> GuardDutyRequest.Builder,SdkBuilder<UpdateMemberDetectorsRequest.Builder,,UpdateMemberDetectorsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateMemberDetectorsRequest
-
Method Summary
Modifier and TypeMethodDescriptionaccountIds(String... accountIds) A list of member account IDs to be updated.accountIds(Collection<String> accountIds) A list of member account IDs to be updated.dataSources(Consumer<DataSourceConfigurations.Builder> dataSources) Deprecated.This parameter is deprecated, use Features insteaddataSources(DataSourceConfigurations dataSources) Deprecated.This parameter is deprecated, use Features insteaddetectorId(String detectorId) The detector ID of the administrator account.features(Collection<MemberFeaturesConfiguration> features) A list of features that will be updated for the specified member accounts.features(Consumer<MemberFeaturesConfiguration.Builder>... features) A list of features that will be updated for the specified member accounts.features(MemberFeaturesConfiguration... features) A list of features that will be updated for the specified member accounts.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, sdkFieldNameToField, sdkFields
-
Method Details
-
detectorId
The detector ID of the administrator account.
To find the
detectorIdin the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.- Parameters:
detectorId- The detector ID of the administrator account.To find the
detectorIdin the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountIds
A list of member account IDs to be updated.
- Parameters:
accountIds- A list of member account IDs to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountIds
A list of member account IDs to be updated.
- Parameters:
accountIds- A list of member account IDs to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 UpdateMemberDetectorsRequest.Builder dataSources(Consumer<DataSourceConfigurations.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 theDataSourceConfigurations.Builderavoiding the need to create one manually viaDataSourceConfigurations.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataSources(DataSourceConfigurations).- Parameters:
dataSources- a consumer that will call methods onDataSourceConfigurations.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
features
A list of features that will be updated for the specified member accounts.
- Parameters:
features- A list of features that will be updated for the specified member accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
features
A list of features that will be updated for the specified member accounts.
- Parameters:
features- A list of features that will be updated for the specified member accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
features
UpdateMemberDetectorsRequest.Builder features(Consumer<MemberFeaturesConfiguration.Builder>... features) A list of features that will be updated for the specified member accounts.
This is a convenience method that creates an instance of theMemberFeaturesConfiguration.Builderavoiding the need to create one manually viaMemberFeaturesConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofeatures(List<MemberFeaturesConfiguration>).- Parameters:
features- a consumer that will call methods onMemberFeaturesConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateMemberDetectorsRequest.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
UpdateMemberDetectorsRequest.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.
-