@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListLicenseSpecificationsForResourceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListLicenseSpecificationsForResourceResult() |
Modifier and Type | Method and Description |
---|---|
ListLicenseSpecificationsForResourceResult |
clone() |
boolean |
equals(Object obj) |
List<LicenseSpecification> |
getLicenseSpecifications()
License configurations associated with a resource.
|
String |
getNextToken()
Token for the next set of results.
|
int |
hashCode() |
void |
setLicenseSpecifications(Collection<LicenseSpecification> licenseSpecifications)
License configurations associated with a resource.
|
void |
setNextToken(String nextToken)
Token for the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListLicenseSpecificationsForResourceResult |
withLicenseSpecifications(Collection<LicenseSpecification> licenseSpecifications)
License configurations associated with a resource.
|
ListLicenseSpecificationsForResourceResult |
withLicenseSpecifications(LicenseSpecification... licenseSpecifications)
License configurations associated with a resource.
|
ListLicenseSpecificationsForResourceResult |
withNextToken(String nextToken)
Token for the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ListLicenseSpecificationsForResourceResult()
public List<LicenseSpecification> getLicenseSpecifications()
License configurations associated with a resource.
public void setLicenseSpecifications(Collection<LicenseSpecification> licenseSpecifications)
License configurations associated with a resource.
licenseSpecifications
- License configurations associated with a resource.public ListLicenseSpecificationsForResourceResult withLicenseSpecifications(LicenseSpecification... licenseSpecifications)
License configurations associated with a resource.
NOTE: This method appends the values to the existing list (if any). Use
setLicenseSpecifications(java.util.Collection)
or
withLicenseSpecifications(java.util.Collection)
if you want to override the existing values.
licenseSpecifications
- License configurations associated with a resource.public ListLicenseSpecificationsForResourceResult withLicenseSpecifications(Collection<LicenseSpecification> licenseSpecifications)
License configurations associated with a resource.
licenseSpecifications
- License configurations associated with a resource.public void setNextToken(String nextToken)
Token for the next set of results.
nextToken
- Token for the next set of results.public String getNextToken()
Token for the next set of results.
public ListLicenseSpecificationsForResourceResult withNextToken(String nextToken)
Token for the next set of results.
nextToken
- Token for the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListLicenseSpecificationsForResourceResult clone()