Class PublisherReport
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PublisherReport.Builder,PublisherReport>
An object that describes a publisher report for a public registry.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic PublisherReport.Builderbuilder()final InstantThe date and time that the report was created.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) The time period that the report covers.final StringThe time period that the report covers.final inthashCode()final PublisherReportPeriodperiod()The first and last dates of the time period that the report covers.final StringreportId()The ID of the report.final PublisherReportTypeThe type of the report.final StringThe type of the report.static Class<? extends PublisherReport.Builder> final LongThe size of the compressed report file, in bytes.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
reportId
The ID of the report. Use this ID with
GetDownloadUrlForPublisherReportto download the report.- Returns:
- The ID of the report. Use this ID with
GetDownloadUrlForPublisherReportto download the report.
-
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.
If the service returns an enum value that is not available in the current SDK version,
reportTypewill returnPublisherReportType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreportTypeAsString().- Returns:
- 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.
-
- See Also:
-
-
reportTypeAsString
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.
If the service returns an enum value that is not available in the current SDK version,
reportTypewill returnPublisherReportType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreportTypeAsString().- Returns:
- 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.
-
- 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.
If the service returns an enum value that is not available in the current SDK version,
granularitywill returnPublisherReportGranularity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromgranularityAsString().- Returns:
- 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.
-
- See Also:
-
-
granularityAsString
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.
If the service returns an enum value that is not available in the current SDK version,
granularitywill returnPublisherReportGranularity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromgranularityAsString().- Returns:
- 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.
-
- See Also:
-
-
period
The first and last dates of the time period that the report covers.
- Returns:
- The first and last dates of the time period that the report covers.
-
sizeInBytes
The size of the compressed report file, in bytes.
- Returns:
- The size of the compressed report file, in bytes.
-
createdAt
The date and time that the report was created.
- Returns:
- The date and time that the report was created.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<PublisherReport.Builder,PublisherReport> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-