@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LicenseConfigurationAssociation extends Object implements Serializable, Cloneable, StructuredPojo
Describes an association 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()
Amazon Resource Name (ARN) of the resource.
|
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)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssociationTime(Date associationTime)
Time when the license configuration was associated with the resource.
|
void |
setResourceArn(String resourceArn)
Amazon Resource Name (ARN) of the resource.
|
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)
Amazon Resource Name (ARN) of the resource.
|
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)
Amazon Resource Name (ARN) of the resource.
resourceArn
- Amazon Resource Name (ARN) of the resource.public String getResourceArn()
Amazon Resource Name (ARN) of the resource.
public LicenseConfigurationAssociation withResourceArn(String resourceArn)
Amazon Resource Name (ARN) of the resource.
resourceArn
- Amazon Resource Name (ARN) of the resource.public void setResourceType(String resourceType)
Type of server resource.
resourceType
- Type of server resource.ResourceType
public String getResourceType()
Type of server resource.
ResourceType
public LicenseConfigurationAssociation withResourceType(String resourceType)
Type of server resource.
resourceType
- Type of server resource.ResourceType
public LicenseConfigurationAssociation withResourceType(ResourceType resourceType)
Type of server resource.
resourceType
- Type of server resource.ResourceType
public 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 Object
Object.toString()
public LicenseConfigurationAssociation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.