Interface PublisherReport.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PublisherReport.Builder,,PublisherReport> SdkBuilder<PublisherReport.Builder,,PublisherReport> SdkPojo
- Enclosing class:
PublisherReport
-
Method Summary
Modifier and TypeMethodDescriptionThe date and time that the report was created.granularity(String granularity) The time period that the report covers.granularity(PublisherReportGranularity granularity) The time period that the report covers.default PublisherReport.Builderperiod(Consumer<PublisherReportPeriod.Builder> period) The first and last dates of the time period that the report covers.period(PublisherReportPeriod period) The first and last dates of the time period that the report covers.The ID of the report.reportType(String reportType) The type of the report.reportType(PublisherReportType reportType) The type of the report.sizeInBytes(Long sizeInBytes) The size of the compressed report file, in bytes.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
-
reportId
The ID of the report. Use this ID with
GetDownloadUrlForPublisherReportto download the report.- Parameters:
reportId- The ID of the report. Use this ID withGetDownloadUrlForPublisherReportto download the report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reportType
The type of the report. Valid values:
-
SUMMARY: The number of pulls and version checks for each image. -
TRENDS: The same counts for each image, broken down by the country, cloud provider, client, domain and company of the puller.
- Parameters:
reportType- The type of the report. Valid values:-
SUMMARY: The number of pulls and version checks for each image. -
TRENDS: The same counts for each image, broken down by the country, cloud provider, client, domain and company of the puller.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
reportType
The type of the report. Valid values:
-
SUMMARY: The number of pulls and version checks for each image. -
TRENDS: The same counts for each image, broken down by the country, cloud provider, client, domain and company of the puller.
- Parameters:
reportType- The type of the report. Valid values:-
SUMMARY: The number of pulls and version checks for each image. -
TRENDS: The same counts for each image, broken down by the country, cloud provider, client, domain and company of the puller.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
granularity
The time period that the report covers. Valid values:
-
WEEKLY: Each report covers one week, from Monday to Sunday. -
MONTHLY: Each report covers one calendar month.
- Parameters:
granularity- The time period that the report covers. Valid values:-
WEEKLY: Each report covers one week, from Monday to Sunday. -
MONTHLY: Each report covers one calendar month.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
granularity
The time period that the report covers. Valid values:
-
WEEKLY: Each report covers one week, from Monday to Sunday. -
MONTHLY: Each report covers one calendar month.
- Parameters:
granularity- The time period that the report covers. Valid values:-
WEEKLY: Each report covers one week, from Monday to Sunday. -
MONTHLY: Each report covers one calendar month.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
period
The first and last dates of the time period that the report covers.
- Parameters:
period- The first and last dates of the time period that the report covers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
period
The first and last dates of the time period that the report covers.
This is a convenience method that creates an instance of thePublisherReportPeriod.Builderavoiding the need to create one manually viaPublisherReportPeriod.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toperiod(PublisherReportPeriod).- Parameters:
period- a consumer that will call methods onPublisherReportPeriod.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sizeInBytes
The size of the compressed report file, in bytes.
- Parameters:
sizeInBytes- The size of the compressed report file, in bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The date and time that the report was created.
- Parameters:
createdAt- The date and time that the report was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-