@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CheckoutBorrowLicenseRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CheckoutBorrowLicenseRequest() |
Modifier and Type | Method and Description |
---|---|
CheckoutBorrowLicenseRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<Metadata> |
getCheckoutMetadata()
Information about constraints.
|
String |
getClientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getDigitalSignatureMethod()
Digital signature method.
|
List<EntitlementData> |
getEntitlements()
License entitlements.
|
String |
getLicenseArn()
Amazon Resource Name (ARN) of the license.
|
String |
getNodeId()
Node ID.
|
int |
hashCode() |
void |
setCheckoutMetadata(Collection<Metadata> checkoutMetadata)
Information about constraints.
|
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setDigitalSignatureMethod(String digitalSignatureMethod)
Digital signature method.
|
void |
setEntitlements(Collection<EntitlementData> entitlements)
License entitlements.
|
void |
setLicenseArn(String licenseArn)
Amazon Resource Name (ARN) of the license.
|
void |
setNodeId(String nodeId)
Node ID.
|
String |
toString()
Returns a string representation of this object.
|
CheckoutBorrowLicenseRequest |
withCheckoutMetadata(Collection<Metadata> checkoutMetadata)
Information about constraints.
|
CheckoutBorrowLicenseRequest |
withCheckoutMetadata(Metadata... checkoutMetadata)
Information about constraints.
|
CheckoutBorrowLicenseRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CheckoutBorrowLicenseRequest |
withDigitalSignatureMethod(DigitalSignatureMethod digitalSignatureMethod)
Digital signature method.
|
CheckoutBorrowLicenseRequest |
withDigitalSignatureMethod(String digitalSignatureMethod)
Digital signature method.
|
CheckoutBorrowLicenseRequest |
withEntitlements(Collection<EntitlementData> entitlements)
License entitlements.
|
CheckoutBorrowLicenseRequest |
withEntitlements(EntitlementData... entitlements)
License entitlements.
|
CheckoutBorrowLicenseRequest |
withLicenseArn(String licenseArn)
Amazon Resource Name (ARN) of the license.
|
CheckoutBorrowLicenseRequest |
withNodeId(String nodeId)
Node ID.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setLicenseArn(String licenseArn)
Amazon Resource Name (ARN) of the license. The license must use the borrow consumption configuration.
licenseArn
- Amazon Resource Name (ARN) of the license. The license must use the borrow consumption configuration.public String getLicenseArn()
Amazon Resource Name (ARN) of the license. The license must use the borrow consumption configuration.
public CheckoutBorrowLicenseRequest withLicenseArn(String licenseArn)
Amazon Resource Name (ARN) of the license. The license must use the borrow consumption configuration.
licenseArn
- Amazon Resource Name (ARN) of the license. The license must use the borrow consumption configuration.public List<EntitlementData> getEntitlements()
License entitlements. Partial checkouts are not supported.
public void setEntitlements(Collection<EntitlementData> entitlements)
License entitlements. Partial checkouts are not supported.
entitlements
- License entitlements. Partial checkouts are not supported.public CheckoutBorrowLicenseRequest withEntitlements(EntitlementData... entitlements)
License entitlements. Partial checkouts are not supported.
NOTE: This method appends the values to the existing list (if any). Use
setEntitlements(java.util.Collection)
or withEntitlements(java.util.Collection)
if you want to
override the existing values.
entitlements
- License entitlements. Partial checkouts are not supported.public CheckoutBorrowLicenseRequest withEntitlements(Collection<EntitlementData> entitlements)
License entitlements. Partial checkouts are not supported.
entitlements
- License entitlements. Partial checkouts are not supported.public void setDigitalSignatureMethod(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.
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.DigitalSignatureMethod
public String getDigitalSignatureMethod()
Digital signature method. The possible value is JSON Web Signature (JWS) algorithm PS384. For more information, see RFC 7518 Digital Signature with RSASSA-PSS.
DigitalSignatureMethod
public CheckoutBorrowLicenseRequest withDigitalSignatureMethod(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.
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.DigitalSignatureMethod
public CheckoutBorrowLicenseRequest withDigitalSignatureMethod(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.
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.DigitalSignatureMethod
public void setNodeId(String nodeId)
Node ID.
nodeId
- Node ID.public String getNodeId()
Node ID.
public CheckoutBorrowLicenseRequest withNodeId(String nodeId)
Node ID.
nodeId
- Node ID.public List<Metadata> getCheckoutMetadata()
Information about constraints.
public void setCheckoutMetadata(Collection<Metadata> checkoutMetadata)
Information about constraints.
checkoutMetadata
- Information about constraints.public CheckoutBorrowLicenseRequest withCheckoutMetadata(Metadata... checkoutMetadata)
Information about constraints.
NOTE: This method appends the values to the existing list (if any). Use
setCheckoutMetadata(java.util.Collection)
or withCheckoutMetadata(java.util.Collection)
if you
want to override the existing values.
checkoutMetadata
- Information about constraints.public CheckoutBorrowLicenseRequest withCheckoutMetadata(Collection<Metadata> checkoutMetadata)
Information about constraints.
checkoutMetadata
- Information about constraints.public void setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public String getClientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public CheckoutBorrowLicenseRequest withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public String toString()
toString
in class Object
Object.toString()
public CheckoutBorrowLicenseRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()