Package com.oracle.bmc.mysql.responses
Class GetChannelResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.mysql.responses.GetChannelResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<GetChannelResponse>
- Enclosing class:
- GetChannelResponse
public static class GetChannelResponse.Builder extends Object implements BmcResponse.Builder<GetChannelResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetChannelResponse.Builder__httpStatusCode__(int __httpStatusCode__)GetChannelResponsebuild()Build the response object.GetChannelResponse.Builderchannel(Channel channel)The returned Channel instance, or null ifGetChannelResponse.isNotModified()is true.GetChannelResponse.Buildercopy(GetChannelResponse o)Copy method to populate the builder with values from the given instance.GetChannelResponse.Builderetag(String etag)For optimistic concurrency control.GetChannelResponse.Builderheaders(Map<String,List<String>> headers)GetChannelResponse.BuilderisNotModified(boolean isNotModified)Flag to indicate whether or not the object was modified.GetChannelResponse.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.
-
-
-
Method Detail
-
__httpStatusCode__
public GetChannelResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__in interfaceBmcResponse.Builder<GetChannelResponse>
-
headers
public GetChannelResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headersin interfaceBmcResponse.Builder<GetChannelResponse>
-
etag
public GetChannelResponse.Builder etag(String etag)
For optimistic concurrency control.See if-match.
- Parameters:
etag- the value to set- Returns:
- this builder
-
opcRequestId
public GetChannelResponse.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.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder
-
channel
public GetChannelResponse.Builder channel(Channel channel)
The returned Channel instance, or null ifGetChannelResponse.isNotModified()is true.- Parameters:
channel- the value to set- Returns:
- this builder
-
isNotModified
public GetChannelResponse.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<GetChannelResponse>- Parameters:
true- if the object was not modified
-
copy
public GetChannelResponse.Builder copy(GetChannelResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcResponse.Builder<GetChannelResponse>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public GetChannelResponse build()
Build the response object.- Specified by:
buildin interfaceBmcResponse.Builder<GetChannelResponse>- Returns:
- the response object
-
-