public class DescribeLicensesResult extends Object implements Serializable
Constructor and Description |
---|
DescribeLicensesResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<License> |
getLicenses()
Specifies active licenses in use and attached to an Amazon EC2
instance.
|
int |
hashCode() |
void |
setLicenses(Collection<License> licenses)
Specifies active licenses in use and attached to an Amazon EC2
instance.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeLicensesResult |
withLicenses(Collection<License> licenses)
Specifies active licenses in use and attached to an Amazon EC2
instance.
|
DescribeLicensesResult |
withLicenses(License... licenses)
Specifies active licenses in use and attached to an Amazon EC2
instance.
|
public List<License> getLicenses()
public void setLicenses(Collection<License> licenses)
licenses
- Specifies active licenses in use and attached to an Amazon EC2
instance.public DescribeLicensesResult withLicenses(License... licenses)
Returns a reference to this object so that method calls can be chained together.
licenses
- Specifies active licenses in use and attached to an Amazon EC2
instance.public DescribeLicensesResult withLicenses(Collection<License> licenses)
Returns a reference to this object so that method calls can be chained together.
licenses
- Specifies active licenses in use and attached to an Amazon EC2
instance.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.