Class CreateScheduleResponse.Builder
- java.lang.Object
- 
- com.oracle.bmc.resourcescheduler.responses.CreateScheduleResponse.Builder
 
- 
- All Implemented Interfaces:
- BmcResponse.Builder<CreateScheduleResponse>
 - Enclosing class:
- CreateScheduleResponse
 
 public static class CreateScheduleResponse.Builder extends Object implements BmcResponse.Builder<CreateScheduleResponse> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateScheduleResponse.Builder__httpStatusCode__(int __httpStatusCode__)CreateScheduleResponsebuild()Build the response object.CreateScheduleResponse.BuildercontentLocation(String contentLocation)This is the same as locationCreateScheduleResponse.Buildercopy(CreateScheduleResponse o)Copy method to populate the builder with values from the given instance.CreateScheduleResponse.Builderetag(String etag)For optimistic concurrency control.CreateScheduleResponse.Builderheaders(Map<String,List<String>> headers)CreateScheduleResponse.Builderlocation(String location)This is the URL for the created schedule.CreateScheduleResponse.BuilderopcRequestId(String opcRequestId)This is a unique Oracle-assigned identifier for the request.CreateScheduleResponse.BuilderopcWorkRequestId(String opcWorkRequestId)The OCID of the asynchronous work request.CreateScheduleResponse.Builderschedule(Schedule schedule)The returned Schedule instance.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.oracle.bmc.responses.BmcResponse.BuilderisNotModified
 
- 
 
- 
- 
- 
Method Detail- 
__httpStatusCode__public CreateScheduleResponse.Builder __httpStatusCode__(int __httpStatusCode__) - Specified by:
- __httpStatusCode__in interface- BmcResponse.Builder<CreateScheduleResponse>
 
 - 
headerspublic CreateScheduleResponse.Builder headers(Map<String,List<String>> headers) - Specified by:
- headersin interface- BmcResponse.Builder<CreateScheduleResponse>
 
 - 
locationpublic CreateScheduleResponse.Builder location(String location) This is the URL for the created schedule.The schedule OCID is generated after this request is sent. - Parameters:
- location- the value to set
- Returns:
- this builder
 
 - 
contentLocationpublic CreateScheduleResponse.Builder contentLocation(String contentLocation) This is the same as location- Parameters:
- contentLocation- the value to set
- Returns:
- this builder
 
 - 
etagpublic CreateScheduleResponse.Builder etag(String etag) For optimistic concurrency control.See if-match. - Parameters:
- etag- the value to set
- Returns:
- this builder
 
 - 
opcWorkRequestIdpublic CreateScheduleResponse.Builder opcWorkRequestId(String opcWorkRequestId) The OCID of the asynchronous work request.Use GetWorkRequest with this ID to track the status of the request. - Parameters:
- opcWorkRequestId- the value to set
- Returns:
- this builder
 
 - 
opcRequestIdpublic CreateScheduleResponse.Builder opcRequestId(String opcRequestId) This is a unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID. - Parameters:
- opcRequestId- the value to set
- Returns:
- this builder
 
 - 
schedulepublic CreateScheduleResponse.Builder schedule(Schedule schedule) The returned Schedule instance.- Parameters:
- schedule- the value to set
- Returns:
- this builder
 
 - 
copypublic CreateScheduleResponse.Builder copy(CreateScheduleResponse o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcResponse.Builder<CreateScheduleResponse>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic CreateScheduleResponse build() Build the response object.- Specified by:
- buildin interface- BmcResponse.Builder<CreateScheduleResponse>
- Returns:
- the response object
 
 
- 
 
-