Interface InventoryUsage.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InventoryUsage.Builder,,InventoryUsage> SdkBuilder<InventoryUsage.Builder,,InventoryUsage> SdkPojo
- Enclosing class:
InventoryUsage
-
Method Summary
Modifier and TypeMethodDescriptionThe account that holds the target.default InventoryUsage.BuilderagentReported(Consumer<AgentUsageDetail.Builder> agentReported) Detail about a usage that a provider reported.agentReported(AgentUsageDetail agentReported) Detail about a usage that a provider reported.certificateIdentifier(String certificateIdentifier) The identifier of the certificate in use.lastObservedAt(Instant lastObservedAt) When the certificate was last observed at the target, to the second.The Region of the target.default InventoryUsage.Buildertarget(Consumer<UsageTarget.Builder> target) Where the certificate is used.target(UsageTarget target) Where the certificate is used.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
-
certificateIdentifier
The identifier of the certificate in use.
- Parameters:
certificateIdentifier- The identifier of the certificate in use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
Where the certificate is used.
- Parameters:
target- Where the certificate is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
Where the certificate is used.
This is a convenience method that creates an instance of theUsageTarget.Builderavoiding the need to create one manually viaUsageTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totarget(UsageTarget).- Parameters:
target- a consumer that will call methods onUsageTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastObservedAt
When the certificate was last observed at the target, to the second.
- Parameters:
lastObservedAt- When the certificate was last observed at the target, to the second.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountId
The account that holds the target. Absent when it is not known.
- Parameters:
accountId- The account that holds the target. Absent when it is not known.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
region
The Region of the target. Absent for a global resource, such as an Amazon CloudFront distribution, and when it is not known.
- Parameters:
region- The Region of the target. Absent for a global resource, such as an Amazon CloudFront distribution, and when it is not known.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentReported
Detail about a usage that a provider reported. Absent for a usage that AWS Certificate Manager (ACM) reports.
- Parameters:
agentReported- Detail about a usage that a provider reported. Absent for a usage that AWS Certificate Manager (ACM) reports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentReported
Detail about a usage that a provider reported. Absent for a usage that AWS Certificate Manager (ACM) reports.
This is a convenience method that creates an instance of theAgentUsageDetail.Builderavoiding the need to create one manually viaAgentUsageDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toagentReported(AgentUsageDetail).- Parameters:
agentReported- a consumer that will call methods onAgentUsageDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-