public static class CreateOpsiConfigurationRequest.Builder extends Object implements BmcRequest.Builder<CreateOpsiConfigurationRequest,CreateOpsiConfigurationDetails>
Constructor and Description |
---|
Builder() |
public CreateOpsiConfigurationRequest.Builder createOpsiConfigurationDetails(CreateOpsiConfigurationDetails createOpsiConfigurationDetails)
Information about OPSI configuration resource to be created.
createOpsiConfigurationDetails
- the value to setpublic CreateOpsiConfigurationRequest.Builder opcRetryToken(String opcRetryToken)
A token that uniquely identifies a request that can be retried in case of a timeout or server error without risk of executing the same action again. Retry tokens expire after 24 hours.
Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting operations, such as a resource being deleted or purged from the system.
opcRetryToken
- the value to setpublic CreateOpsiConfigurationRequest.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.
opcRequestId
- the value to setpublic CreateOpsiConfigurationRequest.Builder opsiConfigField(List<CreateOpsiConfigurationRequest.OpsiConfigField> opsiConfigField)
Optional fields to return as part of OpsiConfiguration object. Unless requested, these fields will not be returned by default.
opsiConfigField
- the value to setpublic CreateOpsiConfigurationRequest.Builder opsiConfigField(CreateOpsiConfigurationRequest.OpsiConfigField singularValue)
Singular setter. Optional fields to return as part of OpsiConfiguration object. Unless requested, these fields will not be returned by default.
singularValue
- the singular value to setpublic CreateOpsiConfigurationRequest.Builder configItemCustomStatus(List<CreateOpsiConfigurationRequest.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.
configItemCustomStatus
- the value to setpublic CreateOpsiConfigurationRequest.Builder configItemCustomStatus(CreateOpsiConfigurationRequest.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.
singularValue
- the singular value to setpublic CreateOpsiConfigurationRequest.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.
configItemsApplicableContext
- the value to setpublic CreateOpsiConfigurationRequest.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.
singularValue
- the singular value to setpublic CreateOpsiConfigurationRequest.Builder configItemField(List<CreateOpsiConfigurationRequest.ConfigItemField> configItemField)
Specifies the fields to return in a config item summary.
configItemField
- the value to setpublic CreateOpsiConfigurationRequest.Builder configItemField(CreateOpsiConfigurationRequest.ConfigItemField singularValue)
Singular setter. Specifies the fields to return in a config item summary.
singularValue
- the singular value to setpublic CreateOpsiConfigurationRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic CreateOpsiConfigurationRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic CreateOpsiConfigurationRequest.Builder copy(CreateOpsiConfigurationRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<CreateOpsiConfigurationRequest,CreateOpsiConfigurationDetails>
o
- other request from which to copy valuespublic CreateOpsiConfigurationRequest build()
Build the instance of CreateOpsiConfigurationRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<CreateOpsiConfigurationRequest,CreateOpsiConfigurationDetails>
public CreateOpsiConfigurationRequest.Builder body$(CreateOpsiConfigurationDetails body)
Alternative setter for the body parameter.
body$
in interface BmcRequest.Builder<CreateOpsiConfigurationRequest,CreateOpsiConfigurationDetails>
body
- the body parameterpublic CreateOpsiConfigurationRequest buildWithoutInvocationCallback()
Build the instance of CreateOpsiConfigurationRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.