* Amazon Resource Name (ARN) of the license. *
*/ private String licenseArn; /** ** License consumption token. *
*/ private String licenseConsumptionToken; /** ** Allowed license entitlements. *
*/ private java.util.List* Node ID. *
*/ private String nodeId; /** ** Signed token. *
*/ private String signedToken; /** ** Date and time at which the license checkout is issued. *
*/ private String issuedAt; /** ** Date and time at which the license checkout expires. *
*/ private String expiration; /** ** Information about constraints. *
*/ private java.util.List* Amazon Resource Name (ARN) of the license. *
* * @param licenseArn * Amazon Resource Name (ARN) of the license. */ public void setLicenseArn(String licenseArn) { this.licenseArn = licenseArn; } /** ** Amazon Resource Name (ARN) of the license. *
* * @return Amazon Resource Name (ARN) of the license. */ public String getLicenseArn() { return this.licenseArn; } /** ** Amazon Resource Name (ARN) of the license. *
* * @param licenseArn * Amazon Resource Name (ARN) of the license. * @return Returns a reference to this object so that method calls can be chained together. */ public CheckoutBorrowLicenseResult withLicenseArn(String licenseArn) { setLicenseArn(licenseArn); return this; } /** ** License consumption token. *
* * @param licenseConsumptionToken * License consumption token. */ public void setLicenseConsumptionToken(String licenseConsumptionToken) { this.licenseConsumptionToken = licenseConsumptionToken; } /** ** License consumption token. *
* * @return License consumption token. */ public String getLicenseConsumptionToken() { return this.licenseConsumptionToken; } /** ** License consumption token. *
* * @param licenseConsumptionToken * License consumption token. * @return Returns a reference to this object so that method calls can be chained together. */ public CheckoutBorrowLicenseResult withLicenseConsumptionToken(String licenseConsumptionToken) { setLicenseConsumptionToken(licenseConsumptionToken); return this; } /** ** Allowed license entitlements. *
* * @return Allowed license entitlements. */ public java.util.List* Allowed license entitlements. *
* * @param entitlementsAllowed * Allowed license entitlements. */ public void setEntitlementsAllowed(java.util.Collection* Allowed license entitlements. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setEntitlementsAllowed(java.util.Collection)} or {@link #withEntitlementsAllowed(java.util.Collection)} * if you want to override the existing values. *
* * @param entitlementsAllowed * Allowed license entitlements. * @return Returns a reference to this object so that method calls can be chained together. */ public CheckoutBorrowLicenseResult withEntitlementsAllowed(EntitlementData... entitlementsAllowed) { if (this.entitlementsAllowed == null) { setEntitlementsAllowed(new java.util.ArrayList* Allowed license entitlements. *
* * @param entitlementsAllowed * Allowed license entitlements. * @return Returns a reference to this object so that method calls can be chained together. */ public CheckoutBorrowLicenseResult withEntitlementsAllowed(java.util.Collection* Node ID. *
* * @param nodeId * Node ID. */ public void setNodeId(String nodeId) { this.nodeId = nodeId; } /** ** Node ID. *
* * @return Node ID. */ public String getNodeId() { return this.nodeId; } /** ** Node ID. *
* * @param nodeId * Node ID. * @return Returns a reference to this object so that method calls can be chained together. */ public CheckoutBorrowLicenseResult withNodeId(String nodeId) { setNodeId(nodeId); return this; } /** ** Signed token. *
* * @param signedToken * Signed token. */ public void setSignedToken(String signedToken) { this.signedToken = signedToken; } /** ** Signed token. *
* * @return Signed token. */ public String getSignedToken() { return this.signedToken; } /** ** Signed token. *
* * @param signedToken * Signed token. * @return Returns a reference to this object so that method calls can be chained together. */ public CheckoutBorrowLicenseResult withSignedToken(String signedToken) { setSignedToken(signedToken); return this; } /** ** Date and time at which the license checkout is issued. *
* * @param issuedAt * Date and time at which the license checkout is issued. */ public void setIssuedAt(String issuedAt) { this.issuedAt = issuedAt; } /** ** Date and time at which the license checkout is issued. *
* * @return Date and time at which the license checkout is issued. */ public String getIssuedAt() { return this.issuedAt; } /** ** Date and time at which the license checkout is issued. *
* * @param issuedAt * Date and time at which the license checkout is issued. * @return Returns a reference to this object so that method calls can be chained together. */ public CheckoutBorrowLicenseResult withIssuedAt(String issuedAt) { setIssuedAt(issuedAt); return this; } /** ** Date and time at which the license checkout expires. *
* * @param expiration * Date and time at which the license checkout expires. */ public void setExpiration(String expiration) { this.expiration = expiration; } /** ** Date and time at which the license checkout expires. *
* * @return Date and time at which the license checkout expires. */ public String getExpiration() { return this.expiration; } /** ** Date and time at which the license checkout expires. *
* * @param expiration * Date and time at which the license checkout expires. * @return Returns a reference to this object so that method calls can be chained together. */ public CheckoutBorrowLicenseResult withExpiration(String expiration) { setExpiration(expiration); return this; } /** ** Information about constraints. *
* * @return Information about constraints. */ public java.util.List* Information about constraints. *
* * @param checkoutMetadata * Information about constraints. */ public void setCheckoutMetadata(java.util.Collection* Information about constraints. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setCheckoutMetadata(java.util.Collection)} or {@link #withCheckoutMetadata(java.util.Collection)} if you * want to override the existing values. *
* * @param checkoutMetadata * Information about constraints. * @return Returns a reference to this object so that method calls can be chained together. */ public CheckoutBorrowLicenseResult withCheckoutMetadata(Metadata... checkoutMetadata) { if (this.checkoutMetadata == null) { setCheckoutMetadata(new java.util.ArrayList* Information about constraints. *
* * @param checkoutMetadata * Information about constraints. * @return Returns a reference to this object so that method calls can be chained together. */ public CheckoutBorrowLicenseResult withCheckoutMetadata(java.util.Collection