Interface UsageRecord.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<UsageRecord.Builder,UsageRecord>,SdkBuilder<UsageRecord.Builder,UsageRecord>,SdkPojo
- Enclosing class:
- UsageRecord
public static interface UsageRecord.Builder extends SdkPojo, CopyableBuilder<UsageRecord.Builder,UsageRecord>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UsageRecord.BuilderaccountId(String accountId)The unique identifier for the Amazon Web Services account that the data applies to.UsageRecord.BuilderautomatedDiscoveryFreeTrialStartDate(Instant automatedDiscoveryFreeTrialStartDate)The date and time, in UTC and extended ISO 8601 format, when the free trial of automated sensitive data discovery started for the account.UsageRecord.BuilderfreeTrialStartDate(Instant freeTrialStartDate)The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie free trial started for the account.UsageRecord.Builderusage(Collection<UsageByAccount> usage)An array of objects that contains usage data and quotas for the account.UsageRecord.Builderusage(Consumer<UsageByAccount.Builder>... usage)An array of objects that contains usage data and quotas for the account.UsageRecord.Builderusage(UsageByAccount... usage)An array of objects that contains usage data and quotas for the 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
UsageRecord.Builder accountId(String accountId)
The unique identifier for the Amazon Web Services account that the data applies to.
- Parameters:
accountId- The unique identifier for the Amazon Web Services account that the data applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
automatedDiscoveryFreeTrialStartDate
UsageRecord.Builder automatedDiscoveryFreeTrialStartDate(Instant automatedDiscoveryFreeTrialStartDate)
The date and time, in UTC and extended ISO 8601 format, when the free trial of automated sensitive data discovery started for the account. If the account is a member account in an organization, this value is the same as the value for the organization's Amazon Macie administrator account.
- Parameters:
automatedDiscoveryFreeTrialStartDate- The date and time, in UTC and extended ISO 8601 format, when the free trial of automated sensitive data discovery started for the account. If the account is a member account in an organization, this value is the same as the value for the organization's Amazon Macie administrator account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
freeTrialStartDate
UsageRecord.Builder freeTrialStartDate(Instant freeTrialStartDate)
The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie free trial started for the account.
- Parameters:
freeTrialStartDate- The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie free trial started for the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usage
UsageRecord.Builder usage(Collection<UsageByAccount> usage)
An array of objects that contains usage data and quotas for the account. Each object contains the data for a specific usage metric and the corresponding quota.
- Parameters:
usage- An array of objects that contains usage data and quotas for the account. Each object contains the data for a specific usage metric and the corresponding quota.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usage
UsageRecord.Builder usage(UsageByAccount... usage)
An array of objects that contains usage data and quotas for the account. Each object contains the data for a specific usage metric and the corresponding quota.
- Parameters:
usage- An array of objects that contains usage data and quotas for the account. Each object contains the data for a specific usage metric and the corresponding quota.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usage
UsageRecord.Builder usage(Consumer<UsageByAccount.Builder>... usage)
An array of objects that contains usage data and quotas for the account. Each object contains the data for a specific usage metric and the corresponding quota.
This is a convenience method that creates an instance of theUsageByAccount.Builderavoiding the need to create one manually viaUsageByAccount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#usage(List.) - Parameters:
usage- a consumer that will call methods onUsageByAccount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#usage(java.util.Collection)
-
-