@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LicenseSpecification extends Object implements Serializable, Cloneable, StructuredPojo
Details for associating a license configuration with a resource.
Constructor and Description |
---|
LicenseSpecification() |
Modifier and Type | Method and Description |
---|---|
LicenseSpecification |
clone() |
boolean |
equals(Object obj) |
String |
getAmiAssociationScope()
Scope of AMI associations.
|
String |
getLicenseConfigurationArn()
Amazon Resource Name (ARN) of the license configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAmiAssociationScope(String amiAssociationScope)
Scope of AMI associations.
|
void |
setLicenseConfigurationArn(String licenseConfigurationArn)
Amazon Resource Name (ARN) of the license configuration.
|
String |
toString()
Returns a string representation of this object.
|
LicenseSpecification |
withAmiAssociationScope(String amiAssociationScope)
Scope of AMI associations.
|
LicenseSpecification |
withLicenseConfigurationArn(String licenseConfigurationArn)
Amazon Resource Name (ARN) of the license configuration.
|
public void setLicenseConfigurationArn(String licenseConfigurationArn)
Amazon Resource Name (ARN) of the license configuration.
licenseConfigurationArn
- Amazon Resource Name (ARN) of the license configuration.public String getLicenseConfigurationArn()
Amazon Resource Name (ARN) of the license configuration.
public LicenseSpecification withLicenseConfigurationArn(String licenseConfigurationArn)
Amazon Resource Name (ARN) of the license configuration.
licenseConfigurationArn
- Amazon Resource Name (ARN) of the license configuration.public void setAmiAssociationScope(String amiAssociationScope)
Scope of AMI associations. The possible value is cross-account
.
amiAssociationScope
- Scope of AMI associations. The possible value is cross-account
.public String getAmiAssociationScope()
Scope of AMI associations. The possible value is cross-account
.
cross-account
.public LicenseSpecification withAmiAssociationScope(String amiAssociationScope)
Scope of AMI associations. The possible value is cross-account
.
amiAssociationScope
- Scope of AMI associations. The possible value is cross-account
.public String toString()
toString
in class Object
Object.toString()
public LicenseSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.