Interface AgreementEntitlement.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AgreementEntitlement.Builder,,AgreementEntitlement> SdkBuilder<AgreementEntitlement.Builder,,AgreementEntitlement> SdkPojo
- Enclosing class:
AgreementEntitlement
-
Method Summary
Modifier and TypeMethodDescriptionlicenseArn(String licenseArn) The Amazon Resource Name (ARN) of the AWS License Manager license associated with the entitlement.registrationToken(String registrationToken) A short-lived token required by acceptors to register their account with the product provider.default AgreementEntitlement.Builderresource(Consumer<Resource.Builder> resource) The resource that the entitlement is provisioned to, such as a product.The resource that the entitlement is provisioned to, such as a product.The current state of an entitlement.status(AgreementEntitlementStatus status) The current state of an entitlement.statusReasonCode(String statusReasonCode) Provides more information about the status of an entitlement.statusReasonCode(AgreementEntitlementStatusReasonCode statusReasonCode) Provides more information about the status of an entitlement.The type of entitlement.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
-
resource
The resource that the entitlement is provisioned to, such as a product.
- Parameters:
resource- The resource that the entitlement is provisioned to, such as a product.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
The resource that the entitlement is provisioned to, such as a product.
This is a convenience method that creates an instance of theResource.Builderavoiding the need to create one manually viaResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresource(Resource).- Parameters:
resource- a consumer that will call methods onResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of entitlement.
- Parameters:
type- The type of entitlement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registrationToken
A short-lived token required by acceptors to register their account with the product provider. The token is only valid for 30 minutes after creation and is only applicable for purchase agreements.
- Parameters:
registrationToken- A short-lived token required by acceptors to register their account with the product provider. The token is only valid for 30 minutes after creation and is only applicable for purchase agreements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current state of an entitlement.
- Parameters:
status- The current state of an entitlement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current state of an entitlement.
- Parameters:
status- The current state of an entitlement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReasonCode
Provides more information about the status of an entitlement.
- Parameters:
statusReasonCode- Provides more information about the status of an entitlement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReasonCode
AgreementEntitlement.Builder statusReasonCode(AgreementEntitlementStatusReasonCode statusReasonCode) Provides more information about the status of an entitlement.
- Parameters:
statusReasonCode- Provides more information about the status of an entitlement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
licenseArn
The Amazon Resource Name (ARN) of the AWS License Manager license associated with the entitlement.
- Parameters:
licenseArn- The Amazon Resource Name (ARN) of the AWS License Manager license associated with the entitlement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-