Class UpdateScheduledTaskResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.responses.UpdateScheduledTaskResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<UpdateScheduledTaskResponse>
- Enclosing class:
- UpdateScheduledTaskResponse
public static class UpdateScheduledTaskResponse.Builder extends Object implements BmcResponse.Builder<UpdateScheduledTaskResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateScheduledTaskResponse.Builder
__httpStatusCode__(int __httpStatusCode__)
UpdateScheduledTaskResponse
build()
Build the response object.UpdateScheduledTaskResponse.Builder
copy(UpdateScheduledTaskResponse o)
Copy method to populate the builder with values from the given instance.UpdateScheduledTaskResponse.Builder
etag(String etag)
For optimistic concurrency control.UpdateScheduledTaskResponse.Builder
headers(Map<String,List<String>> headers)
UpdateScheduledTaskResponse.Builder
isNotModified(boolean isNotModified)
Flag to indicate whether or not the object was modified.UpdateScheduledTaskResponse.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.UpdateScheduledTaskResponse.Builder
scheduledTask(ScheduledTask scheduledTask)
The returned ScheduledTask instance, or null ifUpdateScheduledTaskResponse.isNotModified()
is true.
-
-
-
Method Detail
-
__httpStatusCode__
public UpdateScheduledTaskResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__
in interfaceBmcResponse.Builder<UpdateScheduledTaskResponse>
-
headers
public UpdateScheduledTaskResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headers
in interfaceBmcResponse.Builder<UpdateScheduledTaskResponse>
-
opcRequestId
public UpdateScheduledTaskResponse.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.When you contact Oracle about a specific request, provide the request ID.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder
-
etag
public UpdateScheduledTaskResponse.Builder etag(String etag)
For optimistic concurrency control.See if-match.
- Parameters:
etag
- the value to set- Returns:
- this builder
-
scheduledTask
public UpdateScheduledTaskResponse.Builder scheduledTask(ScheduledTask scheduledTask)
The returned ScheduledTask instance, or null ifUpdateScheduledTaskResponse.isNotModified()
is true.- Parameters:
scheduledTask
- the value to set- Returns:
- this builder
-
isNotModified
public UpdateScheduledTaskResponse.Builder isNotModified(boolean isNotModified)
Flag to indicate whether or not the object was modified.If this is true, the getter for the object itself will return null. Callers should check this if they specified one of the request params that might result in a conditional response (like ‘if-match’/‘if-none-match’).
- Specified by:
isNotModified
in interfaceBmcResponse.Builder<UpdateScheduledTaskResponse>
- Parameters:
true
- if the object was not modified
-
copy
public UpdateScheduledTaskResponse.Builder copy(UpdateScheduledTaskResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcResponse.Builder<UpdateScheduledTaskResponse>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateScheduledTaskResponse build()
Build the response object.- Specified by:
build
in interfaceBmcResponse.Builder<UpdateScheduledTaskResponse>
- Returns:
- the response object
-
-