public static class GetViewRequest.Builder extends Object implements BmcRequest.Builder<GetViewRequest,Void>
Modifier and Type | Method and Description |
---|---|
GetViewRequest |
build()
Build the instance of GetViewRequest as configured by this builder
|
GetViewRequest |
buildWithoutInvocationCallback() |
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(Consumer<javax.ws.rs.client.Invocation.Builder> 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.
|
String |
toString() |
GetViewRequest.Builder |
viewId(String viewId)
The OCID of the target view.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
body$
public GetViewRequest.Builder invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> 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.util.internal.Consumer)
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.Builder viewId(String viewId)
The OCID of the target view.
this
.public 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.
this
.public 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.
this
.public 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.
this
.public GetViewRequest.Builder scope(Scope scope)
Specifies to operate only on resources that have a matching DNS scope.
this
.public GetViewRequest buildWithoutInvocationCallback()
Copyright © 2016–2022. All rights reserved.