public static class GetViewRequest.Builder extends Object implements BmcRequest.Builder<GetViewRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GetViewRequest |
build()
Build the instance of GetViewRequest as configured by this builder
|
GetViewRequest |
buildWithoutInvocationCallback()
Build the instance of GetViewRequest as configured by this builder
|
GetViewRequest.Builder |
copy(GetViewRequest o)
Copy method to populate the builder with values from the given instance.
|
GetViewRequest.Builder |
ifModifiedSince(String ifModifiedSince)
The
If-Modified-Since header field makes a GET or HEAD request method conditional
on the selected representation’s modification date being more recent than the date
provided in the field-value. |
GetViewRequest.Builder |
ifNoneMatch(String ifNoneMatch)
The
If-None-Match header field makes the request method conditional on the
absence of any current representation of the target resource, when the field-value is
* , or having a selected representation with an entity-tag that does not match any
of those listed in the field-value. |
GetViewRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
GetViewRequest.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
GetViewRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
GetViewRequest.Builder |
scope(Scope scope)
Specifies to operate only on resources that have a matching DNS scope.
|
GetViewRequest.Builder |
viewId(String viewId)
The OCID of the target view.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public GetViewRequest.Builder viewId(String viewId)
The OCID of the target view.
viewId
- the value to setpublic GetViewRequest.Builder ifModifiedSince(String ifModifiedSince)
The If-Modified-Since
header field makes a GET or HEAD request method conditional
on the selected representation’s modification date being more recent than the date
provided in the field-value. Transfer of the selected representation’s data is avoided if
that data has not changed.
ifModifiedSince
- the value to setpublic GetViewRequest.Builder ifNoneMatch(String ifNoneMatch)
The If-None-Match
header field makes the request method conditional on the
absence of any current representation of the target resource, when the field-value is
*
, or having a selected representation with an entity-tag that does not match any
of those listed in the field-value.
ifNoneMatch
- the value to setpublic GetViewRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
opcRequestId
- the value to setpublic GetViewRequest.Builder scope(Scope scope)
Specifies to operate only on resources that have a matching DNS scope.
scope
- the value to setpublic GetViewRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic GetViewRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic GetViewRequest.Builder copy(GetViewRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<GetViewRequest,Void>
o
- other request from which to copy valuespublic GetViewRequest build()
Build the instance of GetViewRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<GetViewRequest,Void>
public GetViewRequest buildWithoutInvocationCallback()
Build the instance of GetViewRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.