public static class GetSubscriptionResponse.Builder extends Object implements BmcResponse.Builder<GetSubscriptionResponse>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GetSubscriptionResponse.Builder |
__httpStatusCode__(int __httpStatusCode__) |
GetSubscriptionResponse |
build()
Build the response object.
|
GetSubscriptionResponse.Builder |
copy(GetSubscriptionResponse o)
Copy method to populate the builder with values from the given instance.
|
GetSubscriptionResponse.Builder |
etag(String etag)
For optimistic concurrency control.
|
GetSubscriptionResponse.Builder |
headers(Map<String,List<String>> headers) |
GetSubscriptionResponse.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
GetSubscriptionResponse.Builder |
subscription(Subscription subscription)
The returned
Subscription instance. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isNotModified
public GetSubscriptionResponse.Builder __httpStatusCode__(int __httpStatusCode__)
__httpStatusCode__
in interface BmcResponse.Builder<GetSubscriptionResponse>
public GetSubscriptionResponse.Builder headers(Map<String,List<String>> headers)
headers
in interface BmcResponse.Builder<GetSubscriptionResponse>
public GetSubscriptionResponse.Builder etag(String etag)
For optimistic concurrency control. See if-match
.
etag
- the value to setpublic GetSubscriptionResponse.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 GetSubscriptionResponse.Builder subscription(Subscription subscription)
The returned Subscription
instance.
subscription
- the value to setpublic GetSubscriptionResponse.Builder copy(GetSubscriptionResponse o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcResponse.Builder<GetSubscriptionResponse>
o
- other request from which to copy valuespublic GetSubscriptionResponse build()
Build the response object.
build
in interface BmcResponse.Builder<GetSubscriptionResponse>
Copyright © 2016–2024. All rights reserved.