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
Modifier and TypeMethodDescriptionThe ID of the account that uses the image.The ID of the image.reportCreationTime
(Instant reportCreationTime) The date and time the report creation was initiated.The ID of the report.resourceType
(String resourceType) The type of resource (ec2:Instance
orec2:LaunchTemplate
).usageCount
(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 Details
-
resourceType
The type of resource (
ec2:Instance
orec2:LaunchTemplate
).- Parameters:
resourceType
- The type of resource (ec2:Instance
orec2:LaunchTemplate
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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
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
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.
-