@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateLicenseResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateLicenseResult() |
Modifier and Type | Method and Description |
---|---|
CreateLicenseResult |
clone() |
boolean |
equals(Object obj) |
String |
getLicenseArn()
Amazon Resource Name (ARN) of the license.
|
String |
getStatus()
License status.
|
String |
getVersion()
License version.
|
int |
hashCode() |
void |
setLicenseArn(String licenseArn)
Amazon Resource Name (ARN) of the license.
|
void |
setStatus(String status)
License status.
|
void |
setVersion(String version)
License version.
|
String |
toString()
Returns a string representation of this object.
|
CreateLicenseResult |
withLicenseArn(String licenseArn)
Amazon Resource Name (ARN) of the license.
|
CreateLicenseResult |
withStatus(LicenseStatus status)
License status.
|
CreateLicenseResult |
withStatus(String status)
License status.
|
CreateLicenseResult |
withVersion(String version)
License version.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setLicenseArn(String licenseArn)
Amazon Resource Name (ARN) of the license.
licenseArn
- Amazon Resource Name (ARN) of the license.public String getLicenseArn()
Amazon Resource Name (ARN) of the license.
public CreateLicenseResult withLicenseArn(String licenseArn)
Amazon Resource Name (ARN) of the license.
licenseArn
- Amazon Resource Name (ARN) of the license.public void setStatus(String status)
License status.
status
- License status.LicenseStatus
public String getStatus()
License status.
LicenseStatus
public CreateLicenseResult withStatus(String status)
License status.
status
- License status.LicenseStatus
public CreateLicenseResult withStatus(LicenseStatus status)
License status.
status
- License status.LicenseStatus
public void setVersion(String version)
License version.
version
- License version.public String getVersion()
License version.
public CreateLicenseResult withVersion(String version)
License version.
version
- License version.public String toString()
toString
in class Object
Object.toString()
public CreateLicenseResult clone()