@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CheckoutBorrowLicenseResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CheckoutBorrowLicenseResult() |
Modifier and Type | Method and Description |
---|---|
CheckoutBorrowLicenseResult |
clone() |
boolean |
equals(Object obj) |
List<Metadata> |
getCheckoutMetadata()
Information about constraints.
|
List<EntitlementData> |
getEntitlementsAllowed()
Allowed license entitlements.
|
String |
getExpiration()
Date and time at which the license checkout expires.
|
String |
getIssuedAt()
Date and time at which the license checkout is issued.
|
String |
getLicenseArn()
Amazon Resource Name (ARN) of the license.
|
String |
getLicenseConsumptionToken()
License consumption token.
|
String |
getNodeId()
Node ID.
|
String |
getSignedToken()
Signed token.
|
int |
hashCode() |
void |
setCheckoutMetadata(Collection<Metadata> checkoutMetadata)
Information about constraints.
|
void |
setEntitlementsAllowed(Collection<EntitlementData> entitlementsAllowed)
Allowed license entitlements.
|
void |
setExpiration(String expiration)
Date and time at which the license checkout expires.
|
void |
setIssuedAt(String issuedAt)
Date and time at which the license checkout is issued.
|
void |
setLicenseArn(String licenseArn)
Amazon Resource Name (ARN) of the license.
|
void |
setLicenseConsumptionToken(String licenseConsumptionToken)
License consumption token.
|
void |
setNodeId(String nodeId)
Node ID.
|
void |
setSignedToken(String signedToken)
Signed token.
|
String |
toString()
Returns a string representation of this object.
|
CheckoutBorrowLicenseResult |
withCheckoutMetadata(Collection<Metadata> checkoutMetadata)
Information about constraints.
|
CheckoutBorrowLicenseResult |
withCheckoutMetadata(Metadata... checkoutMetadata)
Information about constraints.
|
CheckoutBorrowLicenseResult |
withEntitlementsAllowed(Collection<EntitlementData> entitlementsAllowed)
Allowed license entitlements.
|
CheckoutBorrowLicenseResult |
withEntitlementsAllowed(EntitlementData... entitlementsAllowed)
Allowed license entitlements.
|
CheckoutBorrowLicenseResult |
withExpiration(String expiration)
Date and time at which the license checkout expires.
|
CheckoutBorrowLicenseResult |
withIssuedAt(String issuedAt)
Date and time at which the license checkout is issued.
|
CheckoutBorrowLicenseResult |
withLicenseArn(String licenseArn)
Amazon Resource Name (ARN) of the license.
|
CheckoutBorrowLicenseResult |
withLicenseConsumptionToken(String licenseConsumptionToken)
License consumption token.
|
CheckoutBorrowLicenseResult |
withNodeId(String nodeId)
Node ID.
|
CheckoutBorrowLicenseResult |
withSignedToken(String signedToken)
Signed token.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setLicenseArn(String licenseArn)
Amazon Resource Name (ARN) of the license.
licenseArn
- Amazon Resource Name (ARN) of the license.public String getLicenseArn()
Amazon Resource Name (ARN) of the license.
public CheckoutBorrowLicenseResult withLicenseArn(String licenseArn)
Amazon Resource Name (ARN) of the license.
licenseArn
- Amazon Resource Name (ARN) of the license.public void setLicenseConsumptionToken(String licenseConsumptionToken)
License consumption token.
licenseConsumptionToken
- License consumption token.public String getLicenseConsumptionToken()
License consumption token.
public CheckoutBorrowLicenseResult withLicenseConsumptionToken(String licenseConsumptionToken)
License consumption token.
licenseConsumptionToken
- License consumption token.public List<EntitlementData> getEntitlementsAllowed()
Allowed license entitlements.
public void setEntitlementsAllowed(Collection<EntitlementData> entitlementsAllowed)
Allowed license entitlements.
entitlementsAllowed
- Allowed license entitlements.public CheckoutBorrowLicenseResult withEntitlementsAllowed(EntitlementData... entitlementsAllowed)
Allowed license entitlements.
NOTE: This method appends the values to the existing list (if any). Use
setEntitlementsAllowed(java.util.Collection)
or withEntitlementsAllowed(java.util.Collection)
if you want to override the existing values.
entitlementsAllowed
- Allowed license entitlements.public CheckoutBorrowLicenseResult withEntitlementsAllowed(Collection<EntitlementData> entitlementsAllowed)
Allowed license entitlements.
entitlementsAllowed
- Allowed license entitlements.public void setNodeId(String nodeId)
Node ID.
nodeId
- Node ID.public String getNodeId()
Node ID.
public CheckoutBorrowLicenseResult withNodeId(String nodeId)
Node ID.
nodeId
- Node ID.public void setSignedToken(String signedToken)
Signed token.
signedToken
- Signed token.public String getSignedToken()
Signed token.
public CheckoutBorrowLicenseResult withSignedToken(String signedToken)
Signed token.
signedToken
- Signed token.public void setIssuedAt(String issuedAt)
Date and time at which the license checkout is issued.
issuedAt
- Date and time at which the license checkout is issued.public String getIssuedAt()
Date and time at which the license checkout is issued.
public CheckoutBorrowLicenseResult withIssuedAt(String issuedAt)
Date and time at which the license checkout is issued.
issuedAt
- Date and time at which the license checkout is issued.public void setExpiration(String expiration)
Date and time at which the license checkout expires.
expiration
- Date and time at which the license checkout expires.public String getExpiration()
Date and time at which the license checkout expires.
public CheckoutBorrowLicenseResult withExpiration(String expiration)
Date and time at which the license checkout expires.
expiration
- Date and time at which the license checkout expires.public List<Metadata> getCheckoutMetadata()
Information about constraints.
public void setCheckoutMetadata(Collection<Metadata> checkoutMetadata)
Information about constraints.
checkoutMetadata
- Information about constraints.public CheckoutBorrowLicenseResult 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 CheckoutBorrowLicenseResult withCheckoutMetadata(Collection<Metadata> checkoutMetadata)
Information about constraints.
checkoutMetadata
- Information about constraints.public String toString()
toString
in class Object
Object.toString()
public CheckoutBorrowLicenseResult clone()