public static class GetSoftwarePackageRequest.Builder extends Object implements BmcRequest.Builder<GetSoftwarePackageRequest,Void>
| Modifier and Type | Method and Description |
|---|---|
GetSoftwarePackageRequest |
build()
Build the instance of GetSoftwarePackageRequest as configured by this builder
|
GetSoftwarePackageRequest |
buildWithoutInvocationCallback() |
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.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbody$public 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.Builder softwareSourceId(String softwareSourceId)
The OCID of the software source.
this.public GetSoftwarePackageRequest.Builder softwarePackageName(String softwarePackageName)
The id of the software package.
this.public GetSoftwarePackageRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
this.public GetSoftwarePackageRequest buildWithoutInvocationCallback()
Copyright © 2016–2022. All rights reserved.