Class GetResourceUsageOrgOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.platform_services.usage_reports.v4.model.GetResourceUsageOrgOptions.Builder
-
- Enclosing class:
- GetResourceUsageOrgOptions
public static class GetResourceUsageOrgOptions.Builder extends java.lang.Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetResourceUsageOrgOptions.Builder
acceptLanguage(java.lang.String acceptLanguage)
Set the acceptLanguage.GetResourceUsageOrgOptions.Builder
accountId(java.lang.String accountId)
Set the accountId.GetResourceUsageOrgOptions.Builder
billingmonth(java.lang.String billingmonth)
Set the billingmonth.GetResourceUsageOrgOptions
build()
Builds a GetResourceUsageOrgOptions.GetResourceUsageOrgOptions.Builder
limit(long limit)
Set the limit.GetResourceUsageOrgOptions.Builder
names(java.lang.Boolean names)
Set the names.GetResourceUsageOrgOptions.Builder
organizationId(java.lang.String organizationId)
Set the organizationId.GetResourceUsageOrgOptions.Builder
planId(java.lang.String planId)
Set the planId.GetResourceUsageOrgOptions.Builder
region(java.lang.String region)
Set the region.GetResourceUsageOrgOptions.Builder
resourceId(java.lang.String resourceId)
Set the resourceId.GetResourceUsageOrgOptions.Builder
resourceInstanceId(java.lang.String resourceInstanceId)
Set the resourceInstanceId.GetResourceUsageOrgOptions.Builder
start(java.lang.String start)
Set the start.GetResourceUsageOrgOptions.Builder
tags(java.lang.Boolean tags)
Set the tags.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(java.lang.String accountId, java.lang.String organizationId, java.lang.String billingmonth)
Instantiates a new builder with required properties.- Parameters:
accountId
- the accountIdorganizationId
- the organizationIdbillingmonth
- the billingmonth
-
-
Method Detail
-
build
public GetResourceUsageOrgOptions build()
Builds a GetResourceUsageOrgOptions.- Returns:
- the new GetResourceUsageOrgOptions instance
-
accountId
public GetResourceUsageOrgOptions.Builder accountId(java.lang.String accountId)
Set the accountId.- Parameters:
accountId
- the accountId- Returns:
- the GetResourceUsageOrgOptions builder
-
organizationId
public GetResourceUsageOrgOptions.Builder organizationId(java.lang.String organizationId)
Set the organizationId.- Parameters:
organizationId
- the organizationId- Returns:
- the GetResourceUsageOrgOptions builder
-
billingmonth
public GetResourceUsageOrgOptions.Builder billingmonth(java.lang.String billingmonth)
Set the billingmonth.- Parameters:
billingmonth
- the billingmonth- Returns:
- the GetResourceUsageOrgOptions builder
-
names
public GetResourceUsageOrgOptions.Builder names(java.lang.Boolean names)
Set the names.- Parameters:
names
- the names- Returns:
- the GetResourceUsageOrgOptions builder
-
tags
public GetResourceUsageOrgOptions.Builder tags(java.lang.Boolean tags)
Set the tags.- Parameters:
tags
- the tags- Returns:
- the GetResourceUsageOrgOptions builder
-
acceptLanguage
public GetResourceUsageOrgOptions.Builder acceptLanguage(java.lang.String acceptLanguage)
Set the acceptLanguage.- Parameters:
acceptLanguage
- the acceptLanguage- Returns:
- the GetResourceUsageOrgOptions builder
-
limit
public GetResourceUsageOrgOptions.Builder limit(long limit)
Set the limit.- Parameters:
limit
- the limit- Returns:
- the GetResourceUsageOrgOptions builder
-
start
public GetResourceUsageOrgOptions.Builder start(java.lang.String start)
Set the start.- Parameters:
start
- the start- Returns:
- the GetResourceUsageOrgOptions builder
-
resourceInstanceId
public GetResourceUsageOrgOptions.Builder resourceInstanceId(java.lang.String resourceInstanceId)
Set the resourceInstanceId.- Parameters:
resourceInstanceId
- the resourceInstanceId- Returns:
- the GetResourceUsageOrgOptions builder
-
resourceId
public GetResourceUsageOrgOptions.Builder resourceId(java.lang.String resourceId)
Set the resourceId.- Parameters:
resourceId
- the resourceId- Returns:
- the GetResourceUsageOrgOptions builder
-
planId
public GetResourceUsageOrgOptions.Builder planId(java.lang.String planId)
Set the planId.- Parameters:
planId
- the planId- Returns:
- the GetResourceUsageOrgOptions builder
-
region
public GetResourceUsageOrgOptions.Builder region(java.lang.String region)
Set the region.- Parameters:
region
- the region- Returns:
- the GetResourceUsageOrgOptions builder
-
-