Class GetOpsiConfigurationRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.opsi.requests.GetOpsiConfigurationRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<GetOpsiConfigurationRequest,Void>
- Enclosing class:
- GetOpsiConfigurationRequest
public static class GetOpsiConfigurationRequest.Builder extends Object implements BmcRequest.Builder<GetOpsiConfigurationRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetOpsiConfigurationRequest
build()
Build the instance of GetOpsiConfigurationRequest as configured by this builderGetOpsiConfigurationRequest
buildWithoutInvocationCallback()
Build the instance of GetOpsiConfigurationRequest as configured by this builderGetOpsiConfigurationRequest.Builder
configItemCustomStatus(GetOpsiConfigurationRequest.ConfigItemCustomStatus singularValue)
Singular setter.GetOpsiConfigurationRequest.Builder
configItemCustomStatus(List<GetOpsiConfigurationRequest.ConfigItemCustomStatus> configItemCustomStatus)
Specifies whether only customized configuration items or only non-customized configuration items or both have to be returned.GetOpsiConfigurationRequest.Builder
configItemField(GetOpsiConfigurationRequest.ConfigItemField singularValue)
Singular setter.GetOpsiConfigurationRequest.Builder
configItemField(List<GetOpsiConfigurationRequest.ConfigItemField> configItemField)
Specifies the fields to return in a config item summary.GetOpsiConfigurationRequest.Builder
configItemsApplicableContext(String singularValue)
Singular setter.GetOpsiConfigurationRequest.Builder
configItemsApplicableContext(List<String> configItemsApplicableContext)
Returns the configuration items filtered by applicable contexts sent in this param.GetOpsiConfigurationRequest.Builder
copy(GetOpsiConfigurationRequest o)
Copy method to populate the builder with values from the given instance.GetOpsiConfigurationRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.GetOpsiConfigurationRequest.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.GetOpsiConfigurationRequest.Builder
opsiConfigField(GetOpsiConfigurationRequest.OpsiConfigField singularValue)
Singular setter.GetOpsiConfigurationRequest.Builder
opsiConfigField(List<GetOpsiConfigurationRequest.OpsiConfigField> opsiConfigField)
Optional fields to return as part of OpsiConfiguration object.GetOpsiConfigurationRequest.Builder
opsiConfigurationId(String opsiConfigurationId)
OCID of OPSI configuration resource.GetOpsiConfigurationRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
opsiConfigurationId
public GetOpsiConfigurationRequest.Builder opsiConfigurationId(String opsiConfigurationId)
OCID of OPSI configuration resource.- Parameters:
opsiConfigurationId
- the value to set- Returns:
- this builder instance
-
opsiConfigField
public GetOpsiConfigurationRequest.Builder opsiConfigField(List<GetOpsiConfigurationRequest.OpsiConfigField> opsiConfigField)
Optional fields to return as part of OpsiConfiguration object.Unless requested, these fields will not be returned by default.
- Parameters:
opsiConfigField
- the value to set- Returns:
- this builder instance
-
opsiConfigField
public GetOpsiConfigurationRequest.Builder opsiConfigField(GetOpsiConfigurationRequest.OpsiConfigField singularValue)
Singular setter.Optional fields to return as part of OpsiConfiguration object. Unless requested, these fields will not be returned by default.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
configItemCustomStatus
public GetOpsiConfigurationRequest.Builder configItemCustomStatus(List<GetOpsiConfigurationRequest.ConfigItemCustomStatus> configItemCustomStatus)
Specifies whether only customized configuration items or only non-customized configuration items or both have to be returned.By default only customized configuration items are returned.
- Parameters:
configItemCustomStatus
- the value to set- Returns:
- this builder instance
-
configItemCustomStatus
public GetOpsiConfigurationRequest.Builder configItemCustomStatus(GetOpsiConfigurationRequest.ConfigItemCustomStatus singularValue)
Singular setter.Specifies whether only customized configuration items or only non-customized configuration items or both have to be returned. By default only customized configuration items are returned.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
configItemsApplicableContext
public GetOpsiConfigurationRequest.Builder configItemsApplicableContext(List<String> configItemsApplicableContext)
Returns the configuration items filtered by applicable contexts sent in this param.By default configuration items of all applicable contexts are returned.
- Parameters:
configItemsApplicableContext
- the value to set- Returns:
- this builder instance
-
configItemsApplicableContext
public GetOpsiConfigurationRequest.Builder configItemsApplicableContext(String singularValue)
Singular setter.Returns the configuration items filtered by applicable contexts sent in this param. By default configuration items of all applicable contexts are returned.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
configItemField
public GetOpsiConfigurationRequest.Builder configItemField(List<GetOpsiConfigurationRequest.ConfigItemField> configItemField)
Specifies the fields to return in a config item summary.- Parameters:
configItemField
- the value to set- Returns:
- this builder instance
-
configItemField
public GetOpsiConfigurationRequest.Builder configItemField(GetOpsiConfigurationRequest.ConfigItemField singularValue)
Singular setter.Specifies the fields to return in a config item summary.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
opcRequestId
public GetOpsiConfigurationRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public GetOpsiConfigurationRequest.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 GetOpsiConfigurationRequest.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 GetOpsiConfigurationRequest.Builder copy(GetOpsiConfigurationRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<GetOpsiConfigurationRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public GetOpsiConfigurationRequest build()
Build the instance of GetOpsiConfigurationRequest 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<GetOpsiConfigurationRequest,Void>
- Returns:
- instance of GetOpsiConfigurationRequest
-
buildWithoutInvocationCallback
public GetOpsiConfigurationRequest buildWithoutInvocationCallback()
Build the instance of GetOpsiConfigurationRequest 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 GetOpsiConfigurationRequest
-
-