Class CreateOccCustomerGroupResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.capacitymanagement.responses.CreateOccCustomerGroupResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<CreateOccCustomerGroupResponse>
- Enclosing class:
- CreateOccCustomerGroupResponse
public static class CreateOccCustomerGroupResponse.Builder extends Object implements BmcResponse.Builder<CreateOccCustomerGroupResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateOccCustomerGroupResponse.Builder
__httpStatusCode__(int __httpStatusCode__)
CreateOccCustomerGroupResponse
build()
Build the response object.CreateOccCustomerGroupResponse.Builder
copy(CreateOccCustomerGroupResponse o)
Copy method to populate the builder with values from the given instance.CreateOccCustomerGroupResponse.Builder
etag(String etag)
For optimistic concurrency control.CreateOccCustomerGroupResponse.Builder
headers(Map<String,List<String>> headers)
CreateOccCustomerGroupResponse.Builder
occCustomerGroup(OccCustomerGroup occCustomerGroup)
The returned OccCustomerGroup instance.CreateOccCustomerGroupResponse.Builder
opcRequestId(String opcRequestId)
For pagination of a list of items.CreateOccCustomerGroupResponse.Builder
retryAfter(Integer retryAfter)
A decimal number representing the number of seconds the client should wait before polling this endpoint again.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.responses.BmcResponse.Builder
isNotModified
-
-
-
-
Method Detail
-
__httpStatusCode__
public CreateOccCustomerGroupResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__
in interfaceBmcResponse.Builder<CreateOccCustomerGroupResponse>
-
headers
public CreateOccCustomerGroupResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headers
in interfaceBmcResponse.Builder<CreateOccCustomerGroupResponse>
-
etag
public CreateOccCustomerGroupResponse.Builder etag(String etag)
For optimistic concurrency control.See if-match.
- Parameters:
etag
- the value to set- Returns:
- this builder
-
opcRequestId
public CreateOccCustomerGroupResponse.Builder opcRequestId(String opcRequestId)
For pagination of a list of items.When paging through a list, if this header appears in the response, then a partial list might have been returned. Include this value as the page parameter for the subsequent GET request to get the next batch of items.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder
-
retryAfter
public CreateOccCustomerGroupResponse.Builder retryAfter(Integer retryAfter)
A decimal number representing the number of seconds the client should wait before polling this endpoint again.- Parameters:
retryAfter
- the value to set- Returns:
- this builder
-
occCustomerGroup
public CreateOccCustomerGroupResponse.Builder occCustomerGroup(OccCustomerGroup occCustomerGroup)
The returned OccCustomerGroup instance.- Parameters:
occCustomerGroup
- the value to set- Returns:
- this builder
-
copy
public CreateOccCustomerGroupResponse.Builder copy(CreateOccCustomerGroupResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcResponse.Builder<CreateOccCustomerGroupResponse>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public CreateOccCustomerGroupResponse build()
Build the response object.- Specified by:
build
in interfaceBmcResponse.Builder<CreateOccCustomerGroupResponse>
- Returns:
- the response object
-
-