org.jclouds.cloudstack.options
Class UpdateNetworkOfferingOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.cloudstack.options.AccountInDomainOptions
org.jclouds.cloudstack.options.UpdateNetworkOfferingOptions
- All Implemented Interfaces:
- HttpRequestOptions
public class UpdateNetworkOfferingOptions
- extends AccountInDomainOptions
Options to control how network offerings are created
- Author:
- Andrei Savu
- 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 UpdateNetworkOfferingOptions NONE
UpdateNetworkOfferingOptions
public UpdateNetworkOfferingOptions()
name
public UpdateNetworkOfferingOptions name(String name)
- Parameters:
name
- service offering name
displayText
public UpdateNetworkOfferingOptions displayText(String displayText)
- Parameters:
displayText
- service offering display text
availability
public UpdateNetworkOfferingOptions availability(NetworkOfferingAvailabilityType availability)
- Parameters:
availability
- the availability of network offering. Default value is Required for Guest
Virtual network offering; Optional for Guest Direct network offering
accountInDomain
public UpdateNetworkOfferingOptions accountInDomain(String account,
long domain)
-
- Overrides:
accountInDomain
in class AccountInDomainOptions
- Parameters:
account
- an optional account for the resourcedomain
- domain id
domainId
public UpdateNetworkOfferingOptions domainId(long domainId)
-
- Overrides:
domainId
in class AccountInDomainOptions
- Parameters:
domainId
- The domain for the resource
Copyright © 2009-2012 jclouds. All Rights Reserved.