Package com.oracle.bmc.opsi.requests
Class CreateOpsiConfigurationRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<CreateOpsiConfigurationDetails>
-
- com.oracle.bmc.opsi.requests.CreateOpsiConfigurationRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public class CreateOpsiConfigurationRequest extends BmcRequest<CreateOpsiConfigurationDetails>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/opsi/CreateOpsiConfigurationExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateOpsiConfigurationRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateOpsiConfigurationRequest.Builder
static class
CreateOpsiConfigurationRequest.ConfigItemCustomStatus
Specifies whether only customized configuration items or only non-customized configuration items or both have to be returned.static class
CreateOpsiConfigurationRequest.ConfigItemField
Specifies the fields to return in a config item summary.static class
CreateOpsiConfigurationRequest.OpsiConfigField
Optional fields to return as part of OpsiConfiguration object.
-
Constructor Summary
Constructors Constructor Description CreateOpsiConfigurationRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateOpsiConfigurationRequest.Builder
builder()
Return a new builder for this request object.boolean
equals(Object o)
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.CreateOpsiConfigurationDetails
getBody$()
Alternative accessor for the body parameter.List<CreateOpsiConfigurationRequest.ConfigItemCustomStatus>
getConfigItemCustomStatus()
Specifies whether only customized configuration items or only non-customized configuration items or both have to be returned.List<CreateOpsiConfigurationRequest.ConfigItemField>
getConfigItemField()
Specifies the fields to return in a config item summary.List<String>
getConfigItemsApplicableContext()
Returns the configuration items filtered by applicable contexts sent in this param.CreateOpsiConfigurationDetails
getCreateOpsiConfigurationDetails()
Information about OPSI configuration resource to be created.String
getOpcRequestId()
Unique Oracle-assigned identifier for the request.String
getOpcRetryToken()
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.List<CreateOpsiConfigurationRequest.OpsiConfigField>
getOpsiConfigField()
Optional fields to return as part of OpsiConfiguration object.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.CreateOpsiConfigurationRequest.Builder
toBuilder()
Return an instance ofCreateOpsiConfigurationRequest.Builder
that allows you to modify request properties.String
toString()
-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getCreateOpsiConfigurationDetails
public CreateOpsiConfigurationDetails getCreateOpsiConfigurationDetails()
Information about OPSI configuration resource to be created.
-
getOpcRetryToken
public String getOpcRetryToken()
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.
-
getOpcRequestId
public String getOpcRequestId()
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
-
getOpsiConfigField
public List<CreateOpsiConfigurationRequest.OpsiConfigField> getOpsiConfigField()
Optional fields to return as part of OpsiConfiguration object.Unless requested, these fields will not be returned by default.
-
getConfigItemCustomStatus
public List<CreateOpsiConfigurationRequest.ConfigItemCustomStatus> getConfigItemCustomStatus()
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.
-
getConfigItemsApplicableContext
public List<String> getConfigItemsApplicableContext()
Returns the configuration items filtered by applicable contexts sent in this param.By default configuration items of all applicable contexts are returned.
-
getConfigItemField
public List<CreateOpsiConfigurationRequest.ConfigItemField> getConfigItemField()
Specifies the fields to return in a config item summary.
-
getBody$
public CreateOpsiConfigurationDetails getBody$()
Alternative accessor for the body parameter.- Overrides:
getBody$
in classBmcRequest<CreateOpsiConfigurationDetails>
- Returns:
- body parameter
-
toBuilder
public CreateOpsiConfigurationRequest.Builder toBuilder()
Return an instance ofCreateOpsiConfigurationRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
CreateOpsiConfigurationRequest.Builder
that allows you to modify request properties.
-
builder
public static CreateOpsiConfigurationRequest.Builder builder()
Return a new builder for this request object.- Returns:
- builder for the request object
-
equals
public boolean equals(Object o)
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equals
in classBmcRequest<CreateOpsiConfigurationDetails>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<CreateOpsiConfigurationDetails>
-
-