Interface AccountFreeTrialStatus.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AccountFreeTrialStatus.Builder,,AccountFreeTrialStatus> SdkBuilder<AccountFreeTrialStatus.Builder,,AccountFreeTrialStatus> SdkPojo
- Enclosing class:
AccountFreeTrialStatus
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Web Services account identifier that the free trial statuses apply to.evaluatedAt(Instant evaluatedAt) The date and time at which Security Hub evaluated the free trial statuses for this account.freeTrialStatuses(Collection<FreeTrialStatus> freeTrialStatuses) An array of free trial statuses, one for each feature that has a free trial period for the account.freeTrialStatuses(Consumer<FreeTrialStatus.Builder>... freeTrialStatuses) An array of free trial statuses, one for each feature that has a free trial period for the account.freeTrialStatuses(FreeTrialStatus... freeTrialStatuses) An array of free trial statuses, one for each feature that has a free trial period for the account.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
accountId
The Amazon Web Services account identifier that the free trial statuses apply to.
- Parameters:
accountId- The Amazon Web Services account identifier that the free trial statuses apply to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluatedAt
The date and time at which Security Hub evaluated the free trial statuses for this account. Every status in
FreeTrialStatusesreflects this point in time.- Parameters:
evaluatedAt- The date and time at which Security Hub evaluated the free trial statuses for this account. Every status inFreeTrialStatusesreflects this point in time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
freeTrialStatuses
An array of free trial statuses, one for each feature that has a free trial period for the account. The array is empty if the account has no free trial to report.
- Parameters:
freeTrialStatuses- An array of free trial statuses, one for each feature that has a free trial period for the account. The array is empty if the account has no free trial to report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
freeTrialStatuses
An array of free trial statuses, one for each feature that has a free trial period for the account. The array is empty if the account has no free trial to report.
- Parameters:
freeTrialStatuses- An array of free trial statuses, one for each feature that has a free trial period for the account. The array is empty if the account has no free trial to report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
freeTrialStatuses
AccountFreeTrialStatus.Builder freeTrialStatuses(Consumer<FreeTrialStatus.Builder>... freeTrialStatuses) An array of free trial statuses, one for each feature that has a free trial period for the account. The array is empty if the account has no free trial to report.
This is a convenience method that creates an instance of theFreeTrialStatus.Builderavoiding the need to create one manually viaFreeTrialStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofreeTrialStatuses(List<FreeTrialStatus>).- Parameters:
freeTrialStatuses- a consumer that will call methods onFreeTrialStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-