public static class GetSoftwarePackageRequest.Builder extends Object implements BmcRequest.Builder<GetSoftwarePackageRequest,Void>
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
GetSoftwarePackageRequest |
build()
Build the instance of GetSoftwarePackageRequest as configured by this builder
|
GetSoftwarePackageRequest |
buildWithoutInvocationCallback()
Build the instance of GetSoftwarePackageRequest as configured by this builder
|
GetSoftwarePackageRequest.Builder |
copy(GetSoftwarePackageRequest o)
Copy method to populate the builder with values from the given instance.
|
GetSoftwarePackageRequest.Builder |
invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
|
GetSoftwarePackageRequest.Builder |
opcRequestId(String opcRequestId)
The client request ID for tracing.
|
GetSoftwarePackageRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
GetSoftwarePackageRequest.Builder |
softwarePackageName(String softwarePackageName)
The id of the software package.
|
GetSoftwarePackageRequest.Builder |
softwareSourceId(String softwareSourceId)
The OCID of the software source.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbody$public GetSoftwarePackageRequest.Builder softwareSourceId(String softwareSourceId)
The OCID of the software source.
softwareSourceId - the value to setpublic GetSoftwarePackageRequest.Builder softwarePackageName(String softwarePackageName)
The id of the software package.
softwarePackageName - the value to setpublic GetSoftwarePackageRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
opcRequestId - the value to setpublic GetSoftwarePackageRequest.Builder invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback - the invocation callback to be set for the requestpublic GetSoftwarePackageRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration - the retry configuration to be used for the requestpublic GetSoftwarePackageRequest.Builder copy(GetSoftwarePackageRequest o)
Copy method to populate the builder with values from the given instance.
copy in interface BmcRequest.Builder<GetSoftwarePackageRequest,Void>public GetSoftwarePackageRequest build()
Build the instance of GetSoftwarePackageRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.util.internal.Consumer) into account,
while the method buildWithoutInvocationCallback() does not.
This is the preferred method to build an instance.
build in interface BmcRequest.Builder<GetSoftwarePackageRequest,Void>public GetSoftwarePackageRequest buildWithoutInvocationCallback()
Build the instance of GetSoftwarePackageRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.util.internal.Consumer) into account,
while the method build() does
Copyright © 2016–2022. All rights reserved.