org.jclouds.cloudstack.options
Class ListServiceOfferingsOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.cloudstack.options.ListServiceOfferingsOptions
- All Implemented Interfaces:
- HttpRequestOptions
public class ListServiceOfferingsOptions
- extends BaseHttpRequestOptions
Options used to control what service offerings are returned
- Author:
- Adrian Cole
- See Also:
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions |
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString |
NONE
public static final ListServiceOfferingsOptions NONE
ListServiceOfferingsOptions
public ListServiceOfferingsOptions()
id
public ListServiceOfferingsOptions id(long id)
- Parameters:
id
- the ID of the service offering
domainId
public ListServiceOfferingsOptions domainId(long domainId)
- Parameters:
domainId
- the ID of the domain associated with the service offering
name
public ListServiceOfferingsOptions name(String name)
- Parameters:
name
- the service offering name
virtualMachineId
public ListServiceOfferingsOptions virtualMachineId(long virtualMachineId)
- Parameters:
virtualMachineId
- the ID of the virtual machine. Pass this in if you want to see
the available service offering that a virtual machine can be
changed to.
Copyright © 2009-2012 jclouds. All Rights Reserved.