Package com.oracle.bmc.core.requests
Class GetPublicIpByIpAddressRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.core.requests.GetPublicIpByIpAddressRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<GetPublicIpByIpAddressRequest,GetPublicIpByIpAddressDetails>
- Enclosing class:
- GetPublicIpByIpAddressRequest
public static class GetPublicIpByIpAddressRequest.Builder extends Object implements BmcRequest.Builder<GetPublicIpByIpAddressRequest,GetPublicIpByIpAddressDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetPublicIpByIpAddressRequest.Builder
body$(GetPublicIpByIpAddressDetails body)
Alternative setter for the body parameter.GetPublicIpByIpAddressRequest
build()
Build the instance of GetPublicIpByIpAddressRequest as configured by this builderGetPublicIpByIpAddressRequest
buildWithoutInvocationCallback()
Build the instance of GetPublicIpByIpAddressRequest as configured by this builderGetPublicIpByIpAddressRequest.Builder
copy(GetPublicIpByIpAddressRequest o)
Copy method to populate the builder with values from the given instance.GetPublicIpByIpAddressRequest.Builder
getPublicIpByIpAddressDetails(GetPublicIpByIpAddressDetails getPublicIpByIpAddressDetails)
IP address details for fetching the public IP.GetPublicIpByIpAddressRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.GetPublicIpByIpAddressRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
-
-
-
Method Detail
-
getPublicIpByIpAddressDetails
public GetPublicIpByIpAddressRequest.Builder getPublicIpByIpAddressDetails(GetPublicIpByIpAddressDetails getPublicIpByIpAddressDetails)
IP address details for fetching the public IP.- Parameters:
getPublicIpByIpAddressDetails
- the value to set- Returns:
- this builder instance
-
invocationCallback
public GetPublicIpByIpAddressRequest.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 GetPublicIpByIpAddressRequest.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 GetPublicIpByIpAddressRequest.Builder copy(GetPublicIpByIpAddressRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<GetPublicIpByIpAddressRequest,GetPublicIpByIpAddressDetails>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public GetPublicIpByIpAddressRequest build()
Build the instance of GetPublicIpByIpAddressRequest 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:
build
in interfaceBmcRequest.Builder<GetPublicIpByIpAddressRequest,GetPublicIpByIpAddressDetails>
- Returns:
- instance of GetPublicIpByIpAddressRequest
-
body$
public GetPublicIpByIpAddressRequest.Builder body$(GetPublicIpByIpAddressDetails body)
Alternative setter for the body parameter.- Specified by:
body$
in interfaceBmcRequest.Builder<GetPublicIpByIpAddressRequest,GetPublicIpByIpAddressDetails>
- Parameters:
body
- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public GetPublicIpByIpAddressRequest buildWithoutInvocationCallback()
Build the instance of GetPublicIpByIpAddressRequest 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 GetPublicIpByIpAddressRequest
-
-