Interface ImageUsageReportEntry.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ImageUsageReportEntry.Builder,ImageUsageReportEntry>,SdkBuilder<ImageUsageReportEntry.Builder,ImageUsageReportEntry>,SdkPojo
- Enclosing class:
- ImageUsageReportEntry
@Mutable @NotThreadSafe public static interface ImageUsageReportEntry.Builder extends SdkPojo, CopyableBuilder<ImageUsageReportEntry.Builder,ImageUsageReportEntry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImageUsageReportEntry.BuilderaccountId(String accountId)The ID of the account that uses the image.ImageUsageReportEntry.BuilderimageId(String imageId)The ID of the image.ImageUsageReportEntry.BuilderreportCreationTime(Instant reportCreationTime)The date and time the report creation was initiated.ImageUsageReportEntry.BuilderreportId(String reportId)The ID of the report.ImageUsageReportEntry.BuilderresourceType(String resourceType)The type of resource (ec2:Instanceorec2:LaunchTemplate).ImageUsageReportEntry.BuilderusageCount(Long usageCount)The number of times resources of this type reference this image in 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
resourceType
ImageUsageReportEntry.Builder resourceType(String resourceType)
The type of resource (
ec2:Instanceorec2:LaunchTemplate).- Parameters:
resourceType- The type of resource (ec2:Instanceorec2:LaunchTemplate).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reportId
ImageUsageReportEntry.Builder reportId(String reportId)
The ID of the report.
- Parameters:
reportId- The ID of the report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageCount
ImageUsageReportEntry.Builder usageCount(Long usageCount)
The number of times resources of this type reference this image in the account.
- Parameters:
usageCount- The number of times resources of this type reference this image in the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountId
ImageUsageReportEntry.Builder accountId(String accountId)
The ID of the account that uses the image.
- Parameters:
accountId- The ID of the account that uses the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageId
ImageUsageReportEntry.Builder imageId(String imageId)
The ID of the image.
- Parameters:
imageId- The ID of the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reportCreationTime
ImageUsageReportEntry.Builder reportCreationTime(Instant reportCreationTime)
The date and time the report creation was initiated.
- Parameters:
reportCreationTime- The date and time the report creation was initiated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-