Interface CheckoutLicenseResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CheckoutLicenseResponse.Builder,CheckoutLicenseResponse>,LicenseManagerResponse.Builder,SdkBuilder<CheckoutLicenseResponse.Builder,CheckoutLicenseResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CheckoutLicenseResponse
public static interface CheckoutLicenseResponse.Builder extends LicenseManagerResponse.Builder, SdkPojo, CopyableBuilder<CheckoutLicenseResponse.Builder,CheckoutLicenseResponse>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.licensemanager.model.LicenseManagerResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
checkoutType
CheckoutLicenseResponse.Builder checkoutType(String checkoutType)
Checkout type.
- Parameters:
checkoutType- Checkout type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CheckoutType,CheckoutType
-
checkoutType
CheckoutLicenseResponse.Builder checkoutType(CheckoutType checkoutType)
Checkout type.
- Parameters:
checkoutType- Checkout type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CheckoutType,CheckoutType
-
licenseConsumptionToken
CheckoutLicenseResponse.Builder licenseConsumptionToken(String licenseConsumptionToken)
License consumption token.
- Parameters:
licenseConsumptionToken- License consumption token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitlementsAllowed
CheckoutLicenseResponse.Builder entitlementsAllowed(Collection<EntitlementData> entitlementsAllowed)
Allowed license entitlements.
- Parameters:
entitlementsAllowed- Allowed license entitlements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitlementsAllowed
CheckoutLicenseResponse.Builder entitlementsAllowed(EntitlementData... entitlementsAllowed)
Allowed license entitlements.
- Parameters:
entitlementsAllowed- Allowed license entitlements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitlementsAllowed
CheckoutLicenseResponse.Builder entitlementsAllowed(Consumer<EntitlementData.Builder>... entitlementsAllowed)
Allowed license entitlements.
This is a convenience method that creates an instance of theEntitlementData.Builderavoiding the need to create one manually viaEntitlementData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#entitlementsAllowed(List.) - Parameters:
entitlementsAllowed- a consumer that will call methods onEntitlementData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#entitlementsAllowed(java.util.Collection)
-
signedToken
CheckoutLicenseResponse.Builder signedToken(String signedToken)
Signed token.
- Parameters:
signedToken- Signed token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeId
CheckoutLicenseResponse.Builder nodeId(String nodeId)
Node ID.
- Parameters:
nodeId- Node ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issuedAt
CheckoutLicenseResponse.Builder issuedAt(String issuedAt)
Date and time at which the license checkout is issued.
- Parameters:
issuedAt- Date and time at which the license checkout is issued.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiration
CheckoutLicenseResponse.Builder expiration(String expiration)
Date and time at which the license checkout expires.
- Parameters:
expiration- Date and time at which the license checkout expires.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseArn
CheckoutLicenseResponse.Builder licenseArn(String licenseArn)
Amazon Resource Name (ARN) of the checkout license.
- Parameters:
licenseArn- Amazon Resource Name (ARN) of the checkout license.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-