Interface CheckoutBorrowLicenseResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CheckoutBorrowLicenseResponse.Builder,
,CheckoutBorrowLicenseResponse> LicenseManagerResponse.Builder
,SdkBuilder<CheckoutBorrowLicenseResponse.Builder,
,CheckoutBorrowLicenseResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CheckoutBorrowLicenseResponse
@Mutable
@NotThreadSafe
public static interface CheckoutBorrowLicenseResponse.Builder
extends LicenseManagerResponse.Builder, SdkPojo, CopyableBuilder<CheckoutBorrowLicenseResponse.Builder,CheckoutBorrowLicenseResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncheckoutMetadata
(Collection<Metadata> checkoutMetadata) Information about constraints.checkoutMetadata
(Consumer<Metadata.Builder>... checkoutMetadata) Information about constraints.checkoutMetadata
(Metadata... checkoutMetadata) Information about constraints.entitlementsAllowed
(Collection<EntitlementData> entitlementsAllowed) Allowed license entitlements.entitlementsAllowed
(Consumer<EntitlementData.Builder>... entitlementsAllowed) Allowed license entitlements.entitlementsAllowed
(EntitlementData... entitlementsAllowed) Allowed license entitlements.expiration
(String expiration) Date and time at which the license checkout expires.Date and time at which the license checkout is issued.licenseArn
(String licenseArn) Amazon Resource Name (ARN) of the license.licenseConsumptionToken
(String licenseConsumptionToken) License consumption token.Node ID.signedToken
(String signedToken) Signed token.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
licenseArn
Amazon Resource Name (ARN) of the license.
- Parameters:
licenseArn
- Amazon Resource Name (ARN) of the license.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
CheckoutBorrowLicenseResponse.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
Allowed license entitlements.
- Parameters:
entitlementsAllowed
- Allowed license entitlements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitlementsAllowed
CheckoutBorrowLicenseResponse.Builder entitlementsAllowed(Consumer<EntitlementData.Builder>... entitlementsAllowed) Allowed license entitlements.
This is a convenience method that creates an instance of theEntitlementData.Builder
avoiding the need to create one manually viaEntitlementData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toentitlementsAllowed(List<EntitlementData>)
.- 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:
-
nodeId
Node ID.
- Parameters:
nodeId
- Node ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signedToken
Signed token.
- Parameters:
signedToken
- Signed token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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.
-
checkoutMetadata
Information about constraints.
- Parameters:
checkoutMetadata
- Information about constraints.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checkoutMetadata
Information about constraints.
- Parameters:
checkoutMetadata
- Information about constraints.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checkoutMetadata
CheckoutBorrowLicenseResponse.Builder checkoutMetadata(Consumer<Metadata.Builder>... checkoutMetadata) Information about constraints.
This is a convenience method that creates an instance of theMetadata.Builder
avoiding the need to create one manually viaMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocheckoutMetadata(List<Metadata>)
.- Parameters:
checkoutMetadata
- a consumer that will call methods onMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-