Class OccCustomer.Builder
- java.lang.Object
-
- com.oracle.bmc.capacitymanagement.model.OccCustomer.Builder
-
- Enclosing class:
- OccCustomer
public static class OccCustomer.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OccCustomer
build()
OccCustomer.Builder
copy(OccCustomer model)
OccCustomer.Builder
description(String description)
The description about the customer group.OccCustomer.Builder
displayName(String displayName)
The display name for the customerOccCustomer.Builder
occCustomerGroupId(String occCustomerGroupId)
The OCID of the customer group.OccCustomer.Builder
status(OccCustomer.Status status)
To determine whether the customer is enabled/disabled.OccCustomer.Builder
tenancyId(String tenancyId)
The OCID of the tenancy belonging to the customer.
-
-
-
Method Detail
-
occCustomerGroupId
public OccCustomer.Builder occCustomerGroupId(String occCustomerGroupId)
The OCID of the customer group.- Parameters:
occCustomerGroupId
- the value to set- Returns:
- this builder
-
tenancyId
public OccCustomer.Builder tenancyId(String tenancyId)
The OCID of the tenancy belonging to the customer.- Parameters:
tenancyId
- the value to set- Returns:
- this builder
-
displayName
public OccCustomer.Builder displayName(String displayName)
The display name for the customer- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public OccCustomer.Builder description(String description)
The description about the customer group.- Parameters:
description
- the value to set- Returns:
- this builder
-
status
public OccCustomer.Builder status(OccCustomer.Status status)
To determine whether the customer is enabled/disabled.- Parameters:
status
- the value to set- Returns:
- this builder
-
build
public OccCustomer build()
-
copy
public OccCustomer.Builder copy(OccCustomer model)
-
-