Interface AccountFreeTrialInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AccountFreeTrialInfo.Builder,
,AccountFreeTrialInfo> SdkBuilder<AccountFreeTrialInfo.Builder,
,AccountFreeTrialInfo> SdkPojo
- Enclosing class:
AccountFreeTrialInfo
public static interface AccountFreeTrialInfo.Builder
extends SdkPojo, CopyableBuilder<AccountFreeTrialInfo.Builder,AccountFreeTrialInfo>
-
Method Summary
Modifier and TypeMethodDescriptionThe account identifier of the GuardDuty member account.default AccountFreeTrialInfo.Builder
dataSources
(Consumer<DataSourcesFreeTrial.Builder> dataSources) Deprecated.This parameter is deprecated, use Features insteaddataSources
(DataSourcesFreeTrial dataSources) Deprecated.This parameter is deprecated, use Features insteadA list of features enabled for the GuardDuty account.features
(Consumer<FreeTrialFeatureConfigurationResult.Builder>... features) A list of features enabled for the GuardDuty account.features
(FreeTrialFeatureConfigurationResult... features) A list of features enabled for the GuardDuty account.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
accountId
The account identifier of the GuardDuty member account.
- Parameters:
accountId
- The account identifier of the GuardDuty member account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSources
Deprecated.This parameter is deprecated, use Features insteadDescribes the data source enabled for the GuardDuty member account.
- Parameters:
dataSources
- Describes the data source enabled for the GuardDuty member account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSources
@Deprecated default AccountFreeTrialInfo.Builder dataSources(Consumer<DataSourcesFreeTrial.Builder> dataSources) Deprecated.This parameter is deprecated, use Features insteadDescribes the data source enabled for the GuardDuty member account.
This is a convenience method that creates an instance of theDataSourcesFreeTrial.Builder
avoiding the need to create one manually viaDataSourcesFreeTrial.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataSources(DataSourcesFreeTrial)
.- Parameters:
dataSources
- a consumer that will call methods onDataSourcesFreeTrial.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
features
A list of features enabled for the GuardDuty account.
- Parameters:
features
- A list of features enabled for the GuardDuty account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
features
A list of features enabled for the GuardDuty account.
- Parameters:
features
- A list of features enabled for the GuardDuty account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
features
AccountFreeTrialInfo.Builder features(Consumer<FreeTrialFeatureConfigurationResult.Builder>... features) A list of features enabled for the GuardDuty account.
This is a convenience method that creates an instance of theFreeTrialFeatureConfigurationResult.Builder
avoiding the need to create one manually viaFreeTrialFeatureConfigurationResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofeatures(List<FreeTrialFeatureConfigurationResult>)
.- Parameters:
features
- a consumer that will call methods onFreeTrialFeatureConfigurationResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-