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__)UpdateScheduledTaskResponsebuild()Build the response object.UpdateScheduledTaskResponse.Buildercopy(UpdateScheduledTaskResponse o)Copy method to populate the builder with values from the given instance.UpdateScheduledTaskResponse.Builderetag(String etag)For optimistic concurrency control.UpdateScheduledTaskResponse.Builderheaders(Map<String,List<String>> headers)UpdateScheduledTaskResponse.BuilderisNotModified(boolean isNotModified)Flag to indicate whether or not the object was modified.UpdateScheduledTaskResponse.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.UpdateScheduledTaskResponse.BuilderscheduledTask(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:
headersin 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:
isNotModifiedin 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:
copyin 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:
buildin interfaceBmcResponse.Builder<UpdateScheduledTaskResponse>- Returns:
- the response object
-
-