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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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 interface- BmcResponse.Builder<GetChannelResponse>
 
 - 
headerspublic GetChannelResponse.Builder headers(Map<String,List<String>> headers) - Specified by:
- headersin interface- BmcResponse.Builder<GetChannelResponse>
 
 - 
etagpublic GetChannelResponse.Builder etag(String etag) For optimistic concurrency control.See if-match. - Parameters:
- etag- the value to set
- Returns:
- this builder
 
 - 
opcRequestIdpublic 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
 
 - 
channelpublic GetChannelResponse.Builder channel(Channel channel) The returned Channel instance, or null ifGetChannelResponse.isNotModified()is true.- Parameters:
- channel- the value to set
- Returns:
- this builder
 
 - 
isNotModifiedpublic 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 interface- BmcResponse.Builder<GetChannelResponse>
- Parameters:
- true- if the object was not modified
 
 - 
copypublic GetChannelResponse.Builder copy(GetChannelResponse o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcResponse.Builder<GetChannelResponse>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic GetChannelResponse build() Build the response object.- Specified by:
- buildin interface- BmcResponse.Builder<GetChannelResponse>
- Returns:
- the response object
 
 
- 
 
-