@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CheckoutLicenseResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CheckoutLicenseResult() |
Modifier and Type | Method and Description |
---|---|
CheckoutLicenseResult |
clone() |
boolean |
equals(Object obj) |
String |
getCheckoutType()
Checkout type.
|
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 checkout license.
|
String |
getLicenseConsumptionToken()
License consumption token.
|
String |
getNodeId()
Node ID.
|
String |
getSignedToken()
Signed token.
|
int |
hashCode() |
void |
setCheckoutType(String checkoutType)
Checkout type.
|
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 checkout 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.
|
CheckoutLicenseResult |
withCheckoutType(CheckoutType checkoutType)
Checkout type.
|
CheckoutLicenseResult |
withCheckoutType(String checkoutType)
Checkout type.
|
CheckoutLicenseResult |
withEntitlementsAllowed(Collection<EntitlementData> entitlementsAllowed)
Allowed license entitlements.
|
CheckoutLicenseResult |
withEntitlementsAllowed(EntitlementData... entitlementsAllowed)
Allowed license entitlements.
|
CheckoutLicenseResult |
withExpiration(String expiration)
Date and time at which the license checkout expires.
|
CheckoutLicenseResult |
withIssuedAt(String issuedAt)
Date and time at which the license checkout is issued.
|
CheckoutLicenseResult |
withLicenseArn(String licenseArn)
Amazon Resource Name (ARN) of the checkout license.
|
CheckoutLicenseResult |
withLicenseConsumptionToken(String licenseConsumptionToken)
License consumption token.
|
CheckoutLicenseResult |
withNodeId(String nodeId)
Node ID.
|
CheckoutLicenseResult |
withSignedToken(String signedToken)
Signed token.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setCheckoutType(String checkoutType)
Checkout type.
checkoutType
- Checkout type.CheckoutType
public String getCheckoutType()
Checkout type.
CheckoutType
public CheckoutLicenseResult withCheckoutType(String checkoutType)
Checkout type.
checkoutType
- Checkout type.CheckoutType
public CheckoutLicenseResult withCheckoutType(CheckoutType checkoutType)
Checkout type.
checkoutType
- Checkout type.CheckoutType
public void setLicenseConsumptionToken(String licenseConsumptionToken)
License consumption token.
licenseConsumptionToken
- License consumption token.public String getLicenseConsumptionToken()
License consumption token.
public CheckoutLicenseResult 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 CheckoutLicenseResult 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 CheckoutLicenseResult withEntitlementsAllowed(Collection<EntitlementData> entitlementsAllowed)
Allowed license entitlements.
entitlementsAllowed
- Allowed license entitlements.public void setSignedToken(String signedToken)
Signed token.
signedToken
- Signed token.public String getSignedToken()
Signed token.
public CheckoutLicenseResult withSignedToken(String signedToken)
Signed token.
signedToken
- Signed token.public void setNodeId(String nodeId)
Node ID.
nodeId
- Node ID.public String getNodeId()
Node ID.
public CheckoutLicenseResult withNodeId(String nodeId)
Node ID.
nodeId
- Node ID.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 CheckoutLicenseResult 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 CheckoutLicenseResult withExpiration(String expiration)
Date and time at which the license checkout expires.
expiration
- Date and time at which the license checkout expires.public void setLicenseArn(String licenseArn)
Amazon Resource Name (ARN) of the checkout license.
licenseArn
- Amazon Resource Name (ARN) of the checkout license.public String getLicenseArn()
Amazon Resource Name (ARN) of the checkout license.
public CheckoutLicenseResult withLicenseArn(String licenseArn)
Amazon Resource Name (ARN) of the checkout license.
licenseArn
- Amazon Resource Name (ARN) of the checkout license.public String toString()
toString
in class Object
Object.toString()
public CheckoutLicenseResult clone()