public static class GetSubnetRequest.Builder extends Object implements BmcRequest.Builder<GetSubnetRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GetSubnetRequest |
build()
Build the instance of GetSubnetRequest as configured by this builder
|
GetSubnetRequest |
buildWithoutInvocationCallback()
Build the instance of GetSubnetRequest as configured by this builder
|
GetSubnetRequest.Builder |
copy(GetSubnetRequest o)
Copy method to populate the builder with values from the given instance.
|
GetSubnetRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
GetSubnetRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
GetSubnetRequest.Builder |
subnetId(String subnetId)
Specify the OCID
of the subnet.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public GetSubnetRequest.Builder subnetId(String subnetId)
Specify the OCID of the subnet.
subnetId
- the value to setpublic GetSubnetRequest.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 GetSubnetRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic GetSubnetRequest.Builder copy(GetSubnetRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<GetSubnetRequest,Void>
o
- other request from which to copy valuespublic GetSubnetRequest build()
Build the instance of GetSubnetRequest 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<GetSubnetRequest,Void>
public GetSubnetRequest buildWithoutInvocationCallback()
Build the instance of GetSubnetRequest 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–2025. All rights reserved.