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