@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LicenseUsage extends Object implements Serializable, Cloneable, StructuredPojo
Describes the entitlement usage associated with a license.
Constructor and Description |
---|
LicenseUsage() |
Modifier and Type | Method and Description |
---|---|
LicenseUsage |
clone() |
boolean |
equals(Object obj) |
List<EntitlementUsage> |
getEntitlementUsages()
License entitlement usages.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEntitlementUsages(Collection<EntitlementUsage> entitlementUsages)
License entitlement usages.
|
String |
toString()
Returns a string representation of this object.
|
LicenseUsage |
withEntitlementUsages(Collection<EntitlementUsage> entitlementUsages)
License entitlement usages.
|
LicenseUsage |
withEntitlementUsages(EntitlementUsage... entitlementUsages)
License entitlement usages.
|
public List<EntitlementUsage> getEntitlementUsages()
License entitlement usages.
public void setEntitlementUsages(Collection<EntitlementUsage> entitlementUsages)
License entitlement usages.
entitlementUsages
- License entitlement usages.public LicenseUsage withEntitlementUsages(EntitlementUsage... entitlementUsages)
License entitlement usages.
NOTE: This method appends the values to the existing list (if any). Use
setEntitlementUsages(java.util.Collection)
or withEntitlementUsages(java.util.Collection)
if
you want to override the existing values.
entitlementUsages
- License entitlement usages.public LicenseUsage withEntitlementUsages(Collection<EntitlementUsage> entitlementUsages)
License entitlement usages.
entitlementUsages
- License entitlement usages.public String toString()
toString
in class Object
Object.toString()
public LicenseUsage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.