Class GetResourceUsageResourceGroupOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.platform_services.usage_reports.v4.model.GetResourceUsageResourceGroupOptions.Builder
-
- Enclosing class:
- GetResourceUsageResourceGroupOptions
public static class GetResourceUsageResourceGroupOptions.Builder extends java.lang.Object
Builder.
-
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(java.lang.String accountId, java.lang.String resourceGroupId, java.lang.String billingmonth)
Instantiates a new builder with required properties.- Parameters:
accountId
- the accountIdresourceGroupId
- the resourceGroupIdbillingmonth
- the billingmonth
-
-
Method Detail
-
build
public GetResourceUsageResourceGroupOptions build()
Builds a GetResourceUsageResourceGroupOptions.- Returns:
- the new GetResourceUsageResourceGroupOptions instance
-
accountId
public GetResourceUsageResourceGroupOptions.Builder accountId(java.lang.String accountId)
Set the accountId.- Parameters:
accountId
- the accountId- Returns:
- the GetResourceUsageResourceGroupOptions builder
-
resourceGroupId
public GetResourceUsageResourceGroupOptions.Builder resourceGroupId(java.lang.String resourceGroupId)
Set the resourceGroupId.- Parameters:
resourceGroupId
- the resourceGroupId- Returns:
- the GetResourceUsageResourceGroupOptions builder
-
billingmonth
public GetResourceUsageResourceGroupOptions.Builder billingmonth(java.lang.String billingmonth)
Set the billingmonth.- Parameters:
billingmonth
- the billingmonth- Returns:
- the GetResourceUsageResourceGroupOptions builder
-
names
public GetResourceUsageResourceGroupOptions.Builder names(java.lang.Boolean names)
Set the names.- Parameters:
names
- the names- Returns:
- the GetResourceUsageResourceGroupOptions builder
-
tags
public GetResourceUsageResourceGroupOptions.Builder tags(java.lang.Boolean tags)
Set the tags.- Parameters:
tags
- the tags- Returns:
- the GetResourceUsageResourceGroupOptions builder
-
acceptLanguage
public GetResourceUsageResourceGroupOptions.Builder acceptLanguage(java.lang.String acceptLanguage)
Set the acceptLanguage.- Parameters:
acceptLanguage
- the acceptLanguage- Returns:
- the GetResourceUsageResourceGroupOptions builder
-
limit
public GetResourceUsageResourceGroupOptions.Builder limit(long limit)
Set the limit.- Parameters:
limit
- the limit- Returns:
- the GetResourceUsageResourceGroupOptions builder
-
start
public GetResourceUsageResourceGroupOptions.Builder start(java.lang.String start)
Set the start.- Parameters:
start
- the start- Returns:
- the GetResourceUsageResourceGroupOptions builder
-
resourceInstanceId
public GetResourceUsageResourceGroupOptions.Builder resourceInstanceId(java.lang.String resourceInstanceId)
Set the resourceInstanceId.- Parameters:
resourceInstanceId
- the resourceInstanceId- Returns:
- the GetResourceUsageResourceGroupOptions builder
-
resourceId
public GetResourceUsageResourceGroupOptions.Builder resourceId(java.lang.String resourceId)
Set the resourceId.- Parameters:
resourceId
- the resourceId- Returns:
- the GetResourceUsageResourceGroupOptions builder
-
planId
public GetResourceUsageResourceGroupOptions.Builder planId(java.lang.String planId)
Set the planId.- Parameters:
planId
- the planId- Returns:
- the GetResourceUsageResourceGroupOptions builder
-
region
public GetResourceUsageResourceGroupOptions.Builder region(java.lang.String region)
Set the region.- Parameters:
region
- the region- Returns:
- the GetResourceUsageResourceGroupOptions builder
-
-