public static interface UsageRecord.Builder extends SdkPojo, CopyableBuilder<UsageRecord.Builder,UsageRecord>
| Modifier and Type | Method and Description |
|---|---|
UsageRecord.Builder |
accountId(String accountId)
The unique identifier for the Amazon Web Services account that the data applies to.
|
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.
|
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.
|
UsageRecord.Builder |
usage(Collection<UsageByAccount> usage)
An array of objects that contains usage data and quotas for the account.
|
UsageRecord.Builder |
usage(Consumer<UsageByAccount.Builder>... usage)
An array of objects that contains usage data and quotas for the account.
|
UsageRecord.Builder |
usage(UsageByAccount... usage)
An array of objects that contains usage data and quotas for the account.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildUsageRecord.Builder accountId(String accountId)
The unique identifier for the Amazon Web Services account that the data applies to.
accountId - The unique identifier for the Amazon Web Services account that the data applies to.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.
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.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.
freeTrialStartDate - The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie free trial started for
the account.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.
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.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.
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.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.Builder avoiding the need to create one
manually via UsageByAccount.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #usage(List.
usage - a consumer that will call methods on
UsageByAccount.Builder#usage(java.util.Collection) Copyright © 2023. All rights reserved.