Class GetOrgUsageOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.platform_services.usage_reports.v4.model.GetOrgUsageOptions.Builder
-
- Enclosing class:
- GetOrgUsageOptions
public static class GetOrgUsageOptions.Builder extends java.lang.ObjectBuilder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetOrgUsageOptions.BuilderacceptLanguage(java.lang.String acceptLanguage)Set the acceptLanguage.GetOrgUsageOptions.BuilderaccountId(java.lang.String accountId)Set the accountId.GetOrgUsageOptions.Builderbillingmonth(java.lang.String billingmonth)Set the billingmonth.GetOrgUsageOptionsbuild()Builds a GetOrgUsageOptions.GetOrgUsageOptions.Buildernames(java.lang.Boolean names)Set the names.GetOrgUsageOptions.BuilderorganizationId(java.lang.String organizationId)Set the organizationId.
-
-
-
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 GetOrgUsageOptions build()
Builds a GetOrgUsageOptions.- Returns:
- the new GetOrgUsageOptions instance
-
accountId
public GetOrgUsageOptions.Builder accountId(java.lang.String accountId)
Set the accountId.- Parameters:
accountId- the accountId- Returns:
- the GetOrgUsageOptions builder
-
organizationId
public GetOrgUsageOptions.Builder organizationId(java.lang.String organizationId)
Set the organizationId.- Parameters:
organizationId- the organizationId- Returns:
- the GetOrgUsageOptions builder
-
billingmonth
public GetOrgUsageOptions.Builder billingmonth(java.lang.String billingmonth)
Set the billingmonth.- Parameters:
billingmonth- the billingmonth- Returns:
- the GetOrgUsageOptions builder
-
names
public GetOrgUsageOptions.Builder names(java.lang.Boolean names)
Set the names.- Parameters:
names- the names- Returns:
- the GetOrgUsageOptions builder
-
acceptLanguage
public GetOrgUsageOptions.Builder acceptLanguage(java.lang.String acceptLanguage)
Set the acceptLanguage.- Parameters:
acceptLanguage- the acceptLanguage- Returns:
- the GetOrgUsageOptions builder
-
-