Package com.oracle.bmc.core.requests
Class GetPublicIpByPrivateIpIdRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.core.requests.GetPublicIpByPrivateIpIdRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<GetPublicIpByPrivateIpIdRequest,GetPublicIpByPrivateIpIdDetails>
- Enclosing class:
- GetPublicIpByPrivateIpIdRequest
public static class GetPublicIpByPrivateIpIdRequest.Builder extends Object implements BmcRequest.Builder<GetPublicIpByPrivateIpIdRequest,GetPublicIpByPrivateIpIdDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetPublicIpByPrivateIpIdRequest.Builderbody$(GetPublicIpByPrivateIpIdDetails body)Alternative setter for the body parameter.GetPublicIpByPrivateIpIdRequestbuild()Build the instance of GetPublicIpByPrivateIpIdRequest as configured by this builderGetPublicIpByPrivateIpIdRequestbuildWithoutInvocationCallback()Build the instance of GetPublicIpByPrivateIpIdRequest as configured by this builderGetPublicIpByPrivateIpIdRequest.Buildercopy(GetPublicIpByPrivateIpIdRequest o)Copy method to populate the builder with values from the given instance.GetPublicIpByPrivateIpIdRequest.BuildergetPublicIpByPrivateIpIdDetails(GetPublicIpByPrivateIpIdDetails getPublicIpByPrivateIpIdDetails)Private IP details for fetching the public IP.GetPublicIpByPrivateIpIdRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.GetPublicIpByPrivateIpIdRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.
-
-
-
Method Detail
-
getPublicIpByPrivateIpIdDetails
public GetPublicIpByPrivateIpIdRequest.Builder getPublicIpByPrivateIpIdDetails(GetPublicIpByPrivateIpIdDetails getPublicIpByPrivateIpIdDetails)
Private IP details for fetching the public IP.- Parameters:
getPublicIpByPrivateIpIdDetails- the value to set- Returns:
- this builder instance
-
invocationCallback
public GetPublicIpByPrivateIpIdRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.- Parameters:
invocationCallback- the invocation callback to be set for the request- Returns:
- this builder instance
-
retryConfiguration
public GetPublicIpByPrivateIpIdRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.- Parameters:
retryConfiguration- the retry configuration to be used for the request- Returns:
- this builder instance
-
copy
public GetPublicIpByPrivateIpIdRequest.Builder copy(GetPublicIpByPrivateIpIdRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<GetPublicIpByPrivateIpIdRequest,GetPublicIpByPrivateIpIdDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public GetPublicIpByPrivateIpIdRequest build()
Build the instance of GetPublicIpByPrivateIpIdRequest as configured by this builderNote that this method takes calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuildWithoutInvocationCallback()does not.This is the preferred method to build an instance.
- Specified by:
buildin interfaceBmcRequest.Builder<GetPublicIpByPrivateIpIdRequest,GetPublicIpByPrivateIpIdDetails>- Returns:
- instance of GetPublicIpByPrivateIpIdRequest
-
body$
public GetPublicIpByPrivateIpIdRequest.Builder body$(GetPublicIpByPrivateIpIdDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<GetPublicIpByPrivateIpIdRequest,GetPublicIpByPrivateIpIdDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public GetPublicIpByPrivateIpIdRequest buildWithoutInvocationCallback()
Build the instance of GetPublicIpByPrivateIpIdRequest as configured by this builderNote that this method does not take calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuild()does- Returns:
- instance of GetPublicIpByPrivateIpIdRequest
-
-