@Generated(value="software.amazon.awssdk:codegen") public final class CheckoutBorrowLicenseRequest extends LicenseManagerRequest implements ToCopyableBuilder<CheckoutBorrowLicenseRequest.Builder,CheckoutBorrowLicenseRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CheckoutBorrowLicenseRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CheckoutBorrowLicenseRequest.Builder |
builder() |
List<Metadata> |
checkoutMetadata()
Information about constraints.
|
String |
clientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
DigitalSignatureMethod |
digitalSignatureMethod()
Digital signature method.
|
String |
digitalSignatureMethodAsString()
Digital signature method.
|
List<EntitlementData> |
entitlements()
License entitlements.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasCheckoutMetadata()
Returns true if the CheckoutMetadata property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasEntitlements()
Returns true if the Entitlements property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
String |
licenseArn()
Amazon Resource Name (ARN) of the license.
|
String |
nodeId()
Node ID.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CheckoutBorrowLicenseRequest.Builder> |
serializableBuilderClass() |
CheckoutBorrowLicenseRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String licenseArn()
Amazon Resource Name (ARN) of the license. The license must use the borrow consumption configuration.
public final boolean hasEntitlements()
public final List<EntitlementData> entitlements()
License entitlements. Partial checkouts are not supported.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEntitlements() to see if a value was sent in this field.
public final 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.
If the service returns an enum value that is not available in the current SDK version,
digitalSignatureMethod will return DigitalSignatureMethod.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from digitalSignatureMethodAsString().
DigitalSignatureMethodpublic final String digitalSignatureMethodAsString()
Digital signature method. The possible value is JSON Web Signature (JWS) algorithm PS384. For more information, see RFC 7518 Digital Signature with RSASSA-PSS.
If the service returns an enum value that is not available in the current SDK version,
digitalSignatureMethod will return DigitalSignatureMethod.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from digitalSignatureMethodAsString().
DigitalSignatureMethodpublic final String nodeId()
Node ID.
public final boolean hasCheckoutMetadata()
public final List<Metadata> checkoutMetadata()
Information about constraints.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasCheckoutMetadata() to see if a value was sent in this field.
public final String clientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public CheckoutBorrowLicenseRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CheckoutBorrowLicenseRequest.Builder,CheckoutBorrowLicenseRequest>toBuilder in class LicenseManagerRequestpublic static CheckoutBorrowLicenseRequest.Builder builder()
public static Class<? extends CheckoutBorrowLicenseRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.