Class GetCredentialRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.databasetoolsruntime.requests.GetCredentialRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20230222") public class GetCredentialRequest extends BmcRequest<Void>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.86.2/databasetoolsruntime/GetCredentialExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetCredentialRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetCredentialRequest.Builder
-
Constructor Summary
Constructors Constructor Description GetCredentialRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetCredentialRequest.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’.StringgetCredentialKey()The name of the credentialStringgetDatabaseToolsConnectionId()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.GetCredentialRequest.BuildertoBuilder()Return an instance ofGetCredentialRequest.Builderthat allows you to modify request properties.StringtoString()-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getDatabaseToolsConnectionId
public String getDatabaseToolsConnectionId()
The OCID of a Database Tools connection.
-
getCredentialKey
public String getCredentialKey()
The name of the 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.
-
toBuilder
public GetCredentialRequest.Builder toBuilder()
Return an instance ofGetCredentialRequest.Builderthat allows you to modify request properties.- Returns:
- instance of
GetCredentialRequest.Builderthat allows you to modify request properties.
-
builder
public static GetCredentialRequest.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<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCodein classBmcRequest<Void>
-
-