org.jclouds.cloudstack.options
Class ListUsageRecordsOptions

java.lang.Object
  extended by org.jclouds.http.options.BaseHttpRequestOptions
      extended by org.jclouds.cloudstack.options.AccountInDomainOptions
          extended by org.jclouds.cloudstack.options.ListUsageRecordsOptions
All Implemented Interfaces:
HttpRequestOptions

public class ListUsageRecordsOptions
extends AccountInDomainOptions

Options to the GlobalUsageClient.listUsageOptions() API call

Author:
Richard Downer

Nested Class Summary
static class ListUsageRecordsOptions.Builder
           
 
Field Summary
static ListUsageRecordsOptions NONE
           
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
 
Constructor Summary
ListUsageRecordsOptions()
           
 
Method Summary
 ListUsageRecordsOptions accountId(long accountId)
           
 ListUsageRecordsOptions accountInDomain(String account, long domain)
           
 ListUsageRecordsOptions domainId(long domainId)
           
 ListUsageRecordsOptions keyword(String keyword)
           
 
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final ListUsageRecordsOptions NONE
Constructor Detail

ListUsageRecordsOptions

public ListUsageRecordsOptions()
Method Detail

accountInDomain

public ListUsageRecordsOptions accountInDomain(String account,
                                               long domain)
Overrides:
accountInDomain in class AccountInDomainOptions
Parameters:
account - an optional account for the resource
domain - domain id

domainId

public ListUsageRecordsOptions domainId(long domainId)
Overrides:
domainId in class AccountInDomainOptions
Parameters:
domainId - The domain for the resource

accountId

public ListUsageRecordsOptions accountId(long accountId)

keyword

public ListUsageRecordsOptions keyword(String keyword)


Copyright © 2009-2012 jclouds. All Rights Reserved.