@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LicenseInfo extends Object implements Serializable, Cloneable, StructuredPojo
Details of the license data.
Constructor and Description |
---|
LicenseInfo() |
Modifier and Type | Method and Description |
---|---|
LicenseInfo |
clone() |
boolean |
equals(Object obj) |
String |
getName()
Name of the license.
|
String |
getUrl()
The URL for license data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
Name of the license.
|
void |
setUrl(String url)
The URL for license data.
|
String |
toString()
Returns a string representation of this object.
|
LicenseInfo |
withName(String name)
Name of the license.
|
LicenseInfo |
withUrl(String url)
The URL for license data.
|
public void setName(String name)
Name of the license.
name
- Name of the license.public String getName()
Name of the license.
public LicenseInfo withName(String name)
Name of the license.
name
- Name of the license.public void setUrl(String url)
The URL for license data.
url
- The URL for license data.public String getUrl()
The URL for license data.
public LicenseInfo withUrl(String url)
The URL for license data.
url
- The URL for license data.public String toString()
toString
in class Object
Object.toString()
public LicenseInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.