Class GetResourceUsageAccountOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.usage_reports.v4.model.GetResourceUsageAccountOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class GetResourceUsageAccountOptions extends com.ibm.cloud.sdk.core.service.model.GenericModel
The getResourceUsageAccount options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetResourceUsageAccountOptions.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
acceptLanguage()
Gets the acceptLanguage.java.lang.String
accountId()
Gets the accountId.java.lang.String
billingmonth()
Gets the billingmonth.java.lang.Long
limit()
Gets the limit.java.lang.Boolean
names()
Gets the names.GetResourceUsageAccountOptions.Builder
newBuilder()
New builder.java.lang.String
organizationId()
Gets the organizationId.java.lang.String
planId()
Gets the planId.java.lang.String
region()
Gets the region.java.lang.String
resourceGroupId()
Gets the resourceGroupId.java.lang.String
resourceId()
Gets the resourceId.java.lang.String
resourceInstanceId()
Gets the resourceInstanceId.java.lang.String
start()
Gets the start.java.lang.Boolean
tags()
Gets the tags.
-
-
-
Method Detail
-
newBuilder
public GetResourceUsageAccountOptions.Builder newBuilder()
New builder.- Returns:
- a GetResourceUsageAccountOptions builder
-
accountId
public java.lang.String accountId()
Gets the accountId. Account ID for which the usage report is requested.- Returns:
- the accountId
-
billingmonth
public java.lang.String billingmonth()
Gets the billingmonth. The billing month for which the usage report is requested. Format is yyyy-mm.- Returns:
- the billingmonth
-
names
public java.lang.Boolean names()
Gets the names. Include the name of every resource, plan, resource instance, organization, and resource group.- Returns:
- the names
-
tags
public java.lang.Boolean tags()
Gets the tags. Include the tags associated with every resource instance. By default it is always `true`.- Returns:
- the tags
-
acceptLanguage
public java.lang.String acceptLanguage()
Gets the acceptLanguage. Prioritize the names returned in the order of the specified languages. Language will default to English.- Returns:
- the acceptLanguage
-
limit
public java.lang.Long limit()
Gets the limit. Number of usage records returned. The default value is 30. Maximum value is 200.- Returns:
- the limit
-
start
public java.lang.String start()
Gets the start. The offset from which the records must be fetched. Offset information is included in the response.- Returns:
- the start
-
resourceGroupId
public java.lang.String resourceGroupId()
Gets the resourceGroupId. Filter by resource group.- Returns:
- the resourceGroupId
-
organizationId
public java.lang.String organizationId()
Gets the organizationId. Filter by organization_id.- Returns:
- the organizationId
-
resourceInstanceId
public java.lang.String resourceInstanceId()
Gets the resourceInstanceId. Filter by resource instance_id.- Returns:
- the resourceInstanceId
-
resourceId
public java.lang.String resourceId()
Gets the resourceId. Filter by resource_id.- Returns:
- the resourceId
-
planId
public java.lang.String planId()
Gets the planId. Filter by plan_id.- Returns:
- the planId
-
region
public java.lang.String region()
Gets the region. Region in which the resource instance is provisioned.- Returns:
- the region
-
-