@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LicenseConfigurationAssociation extends Object implements Serializable, Cloneable, StructuredPojo
Describes a server resource that is associated with a license configuration.
| Constructor and Description |
|---|
LicenseConfigurationAssociation() |
| Modifier and Type | Method and Description |
|---|---|
LicenseConfigurationAssociation |
clone() |
boolean |
equals(Object obj) |
Date |
getAssociationTime()
Time when the license configuration was associated with the resource.
|
String |
getResourceArn()
ARN of the resource associated with the license configuration.
|
String |
getResourceOwnerId()
ID of the AWS account that owns the resource consuming licenses.
|
String |
getResourceType()
Type of server resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAssociationTime(Date associationTime)
Time when the license configuration was associated with the resource.
|
void |
setResourceArn(String resourceArn)
ARN of the resource associated with the license configuration.
|
void |
setResourceOwnerId(String resourceOwnerId)
ID of the AWS account that owns the resource consuming licenses.
|
void |
setResourceType(String resourceType)
Type of server resource.
|
String |
toString()
Returns a string representation of this object.
|
LicenseConfigurationAssociation |
withAssociationTime(Date associationTime)
Time when the license configuration was associated with the resource.
|
LicenseConfigurationAssociation |
withResourceArn(String resourceArn)
ARN of the resource associated with the license configuration.
|
LicenseConfigurationAssociation |
withResourceOwnerId(String resourceOwnerId)
ID of the AWS account that owns the resource consuming licenses.
|
LicenseConfigurationAssociation |
withResourceType(ResourceType resourceType)
Type of server resource.
|
LicenseConfigurationAssociation |
withResourceType(String resourceType)
Type of server resource.
|
public void setResourceArn(String resourceArn)
ARN of the resource associated with the license configuration.
resourceArn - ARN of the resource associated with the license configuration.public String getResourceArn()
ARN of the resource associated with the license configuration.
public LicenseConfigurationAssociation withResourceArn(String resourceArn)
ARN of the resource associated with the license configuration.
resourceArn - ARN of the resource associated with the license configuration.public void setResourceType(String resourceType)
Type of server resource.
resourceType - Type of server resource.ResourceTypepublic String getResourceType()
Type of server resource.
ResourceTypepublic LicenseConfigurationAssociation withResourceType(String resourceType)
Type of server resource.
resourceType - Type of server resource.ResourceTypepublic LicenseConfigurationAssociation withResourceType(ResourceType resourceType)
Type of server resource.
resourceType - Type of server resource.ResourceTypepublic void setResourceOwnerId(String resourceOwnerId)
ID of the AWS account that owns the resource consuming licenses.
resourceOwnerId - ID of the AWS account that owns the resource consuming licenses.public String getResourceOwnerId()
ID of the AWS account that owns the resource consuming licenses.
public LicenseConfigurationAssociation withResourceOwnerId(String resourceOwnerId)
ID of the AWS account that owns the resource consuming licenses.
resourceOwnerId - ID of the AWS account that owns the resource consuming licenses.public void setAssociationTime(Date associationTime)
Time when the license configuration was associated with the resource.
associationTime - Time when the license configuration was associated with the resource.public Date getAssociationTime()
Time when the license configuration was associated with the resource.
public LicenseConfigurationAssociation withAssociationTime(Date associationTime)
Time when the license configuration was associated with the resource.
associationTime - Time when the license configuration was associated with the resource.public String toString()
toString in class ObjectObject.toString()public LicenseConfigurationAssociation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.