Class CreateCredentialRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<CreateCredentialDetails>
-
- com.oracle.bmc.databasetoolsruntime.requests.CreateCredentialRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20230222") public class CreateCredentialRequest extends BmcRequest<CreateCredentialDetails>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.86.2/databasetoolsruntime/CreateCredentialExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateCredentialRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateCredentialRequest.Builder
-
Constructor Summary
Constructors Constructor Description CreateCredentialRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateCredentialRequest.Builderbuilder()Return a new builder for this request object.booleanequals(Object o)Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.CreateCredentialDetailsgetBody$()Alternative accessor for the body parameter.CreateCredentialDetailsgetCreateCredentialDetails()The payload to create credential.StringgetDatabaseToolsConnectionId()The OCID of a Database Tools connection.StringgetIfMatch()If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent accidental overwrites when multiple user agentss might be acting in parallel on the same resource (i.e., to prevent the “lost update” problem).StringgetOpcRequestId()The client request ID for tracing.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.CreateCredentialRequest.BuildertoBuilder()Return an instance ofCreateCredentialRequest.Builderthat allows you to modify request properties.StringtoString()-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getDatabaseToolsConnectionId
public String getDatabaseToolsConnectionId()
The OCID of a Database Tools connection.
-
getCreateCredentialDetails
public CreateCredentialDetails getCreateCredentialDetails()
The payload to create credential.
-
getOpcRequestId
public String getOpcRequestId()
The client request ID for tracing.
-
getIfMatch
public String getIfMatch()
If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent accidental overwrites when multiple user agentss might be acting in parallel on the same resource (i.e., to prevent the “lost update” problem).In general, it can be used with any method that involves the selection or modification of a representation to abort the request if the selected representation’s current entity tag is not a member within the If-Match field value. When specified on an action-specific subresource, the ETag value of the resource on which the action is requested should be provided.
-
getBody$
public CreateCredentialDetails getBody$()
Alternative accessor for the body parameter.- Overrides:
getBody$in classBmcRequest<CreateCredentialDetails>- Returns:
- body parameter
-
toBuilder
public CreateCredentialRequest.Builder toBuilder()
Return an instance ofCreateCredentialRequest.Builderthat allows you to modify request properties.- Returns:
- instance of
CreateCredentialRequest.Builderthat allows you to modify request properties.
-
builder
public static CreateCredentialRequest.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:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equalsin classBmcRequest<CreateCredentialDetails>
-
hashCode
public int hashCode()
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCodein classBmcRequest<CreateCredentialDetails>
-
-