@Generated(value="OracleSDKGenerator", comments="API Version: 20181116") public class UpdateCustomProtectionRuleRequest extends BmcRequest<UpdateCustomProtectionRuleDetails>
Example: Click here to see how to use UpdateCustomProtectionRuleRequest.
| Modifier and Type | Class and Description |
|---|---|
static class |
UpdateCustomProtectionRuleRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateCustomProtectionRuleRequest.Builder |
builder() |
UpdateCustomProtectionRuleDetails |
getBody$()
Alternative accessor for the body parameter.
|
String |
getCustomProtectionRuleId()
The OCID of the custom protection rule.
|
String |
getIfMatch()
For optimistic concurrency control.
|
String |
getOpcRequestId()
The unique Oracle-assigned identifier for the request.
|
String |
getOpcRetryToken()
A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.
|
UpdateCustomProtectionRuleDetails |
getUpdateCustomProtectionRuleDetails()
The details of the custom protection rule to update.
|
getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfigurationpublic UpdateCustomProtectionRuleDetails getBody$()
Alternative accessor for the body parameter.
getBody$ in class BmcRequest<UpdateCustomProtectionRuleDetails>public static UpdateCustomProtectionRuleRequest.Builder builder()
public String getCustomProtectionRuleId()
The OCID of the custom protection rule. This number is generated when the custom protection rule is added to the compartment.
public UpdateCustomProtectionRuleDetails getUpdateCustomProtectionRuleDetails()
The details of the custom protection rule to update.
public String getOpcRequestId()
The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
public String getOpcRetryToken()
A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations Example: If a resource has been deleted and purged from the system, then a retry of the original delete request may be rejected.
public String getIfMatch()
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag provided matches the resource’s current etag value.
Copyright © 2016–2021. All rights reserved.