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
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description AccountFreeTrialInfo.BuilderaccountId(String accountId)The account identifier of the GuardDuty member account.default AccountFreeTrialInfo.BuilderdataSources(Consumer<DataSourcesFreeTrial.Builder> dataSources)Deprecated.This parameter is deprecated, use Features insteadAccountFreeTrialInfo.BuilderdataSources(DataSourcesFreeTrial dataSources)Deprecated.This parameter is deprecated, use Features insteadAccountFreeTrialInfo.Builderfeatures(Collection<FreeTrialFeatureConfigurationResult> features)A list of features enabled for the GuardDuty account.AccountFreeTrialInfo.Builderfeatures(Consumer<FreeTrialFeatureConfigurationResult.Builder>... features)A list of features enabled for the GuardDuty account.AccountFreeTrialInfo.Builderfeatures(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 Detail
-
accountId
AccountFreeTrialInfo.Builder accountId(String 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 AccountFreeTrialInfo.Builder dataSources(DataSourcesFreeTrial 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.Builderavoiding the need to create one manually viaDataSourcesFreeTrial.builder().When the
Consumercompletes,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:
dataSources(DataSourcesFreeTrial)
-
features
AccountFreeTrialInfo.Builder features(Collection<FreeTrialFeatureConfigurationResult> 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(FreeTrialFeatureConfigurationResult... 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.Builderavoiding the need to create one manually viaFreeTrialFeatureConfigurationResult.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 onFreeTrialFeatureConfigurationResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#features(java.util.Collection)
-
-