Interface CheckoutBorrowLicenseRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CheckoutBorrowLicenseRequest.Builder,CheckoutBorrowLicenseRequest>,LicenseManagerRequest.Builder,SdkBuilder<CheckoutBorrowLicenseRequest.Builder,CheckoutBorrowLicenseRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CheckoutBorrowLicenseRequest
public static interface CheckoutBorrowLicenseRequest.Builder extends LicenseManagerRequest.Builder, SdkPojo, CopyableBuilder<CheckoutBorrowLicenseRequest.Builder,CheckoutBorrowLicenseRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.licensemanager.model.LicenseManagerRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
licenseArn
CheckoutBorrowLicenseRequest.Builder licenseArn(String licenseArn)
Amazon Resource Name (ARN) of the license. The license must use the borrow consumption configuration.
- Parameters:
licenseArn- Amazon Resource Name (ARN) of the license. The license must use the borrow consumption configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitlements
CheckoutBorrowLicenseRequest.Builder entitlements(Collection<EntitlementData> entitlements)
License entitlements. Partial checkouts are not supported.
- Parameters:
entitlements- License entitlements. Partial checkouts are not supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitlements
CheckoutBorrowLicenseRequest.Builder entitlements(EntitlementData... entitlements)
License entitlements. Partial checkouts are not supported.
- Parameters:
entitlements- License entitlements. Partial checkouts are not supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitlements
CheckoutBorrowLicenseRequest.Builder entitlements(Consumer<EntitlementData.Builder>... entitlements)
License entitlements. Partial checkouts are not supported.
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#entitlements(List.) - Parameters:
entitlements- 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:
#entitlements(java.util.Collection)
-
digitalSignatureMethod
CheckoutBorrowLicenseRequest.Builder digitalSignatureMethod(String digitalSignatureMethod)
Digital signature method. The possible value is JSON Web Signature (JWS) algorithm PS384. For more information, see RFC 7518 Digital Signature with RSASSA-PSS.
- Parameters:
digitalSignatureMethod- Digital signature method. The possible value is JSON Web Signature (JWS) algorithm PS384. For more information, see RFC 7518 Digital Signature with RSASSA-PSS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DigitalSignatureMethod,DigitalSignatureMethod
-
digitalSignatureMethod
CheckoutBorrowLicenseRequest.Builder digitalSignatureMethod(DigitalSignatureMethod digitalSignatureMethod)
Digital signature method. The possible value is JSON Web Signature (JWS) algorithm PS384. For more information, see RFC 7518 Digital Signature with RSASSA-PSS.
- Parameters:
digitalSignatureMethod- Digital signature method. The possible value is JSON Web Signature (JWS) algorithm PS384. For more information, see RFC 7518 Digital Signature with RSASSA-PSS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DigitalSignatureMethod,DigitalSignatureMethod
-
nodeId
CheckoutBorrowLicenseRequest.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.
-
checkoutMetadata
CheckoutBorrowLicenseRequest.Builder checkoutMetadata(Collection<Metadata> 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
CheckoutBorrowLicenseRequest.Builder checkoutMetadata(Metadata... 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
CheckoutBorrowLicenseRequest.Builder checkoutMetadata(Consumer<Metadata.Builder>... checkoutMetadata)
Information about constraints.
This is a convenience method that creates an instance of theMetadata.Builderavoiding the need to create one manually viaMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#checkoutMetadata(List.) - 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:
#checkoutMetadata(java.util.Collection)
-
clientToken
CheckoutBorrowLicenseRequest.Builder clientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Parameters:
clientToken- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CheckoutBorrowLicenseRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CheckoutBorrowLicenseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-