Package com.oracle.bmc.datasafe.requests
Class CreateTargetDatabaseRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<CreateTargetDatabaseDetails>
-
- com.oracle.bmc.datasafe.requests.CreateTargetDatabaseRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public class CreateTargetDatabaseRequest extends BmcRequest<CreateTargetDatabaseDetails>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datasafe/CreateTargetDatabaseExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateTargetDatabaseRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateTargetDatabaseRequest.Builder
-
Constructor Summary
Constructors Constructor Description CreateTargetDatabaseRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateTargetDatabaseRequest.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’.CreateTargetDatabaseDetailsgetBody$()Alternative accessor for the body parameter.CreateTargetDatabaseDetailsgetCreateTargetDatabaseDetails()Details of the target database.StringgetOpcRequestId()Unique identifier for the request.StringgetOpcRetryToken()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.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.CreateTargetDatabaseRequest.BuildertoBuilder()Return an instance ofCreateTargetDatabaseRequest.Builderthat allows you to modify request properties.StringtoString()-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getCreateTargetDatabaseDetails
public CreateTargetDatabaseDetails getCreateTargetDatabaseDetails()
Details of the target database.
-
getOpcRetryToken
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. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
-
getOpcRequestId
public String getOpcRequestId()
Unique identifier for the request.
-
getBody$
public CreateTargetDatabaseDetails getBody$()
Alternative accessor for the body parameter.- Overrides:
getBody$in classBmcRequest<CreateTargetDatabaseDetails>- Returns:
- body parameter
-
toBuilder
public CreateTargetDatabaseRequest.Builder toBuilder()
Return an instance ofCreateTargetDatabaseRequest.Builderthat allows you to modify request properties.- Returns:
- instance of
CreateTargetDatabaseRequest.Builderthat allows you to modify request properties.
-
builder
public static CreateTargetDatabaseRequest.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<CreateTargetDatabaseDetails>
-
hashCode
public int hashCode()
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCodein classBmcRequest<CreateTargetDatabaseDetails>
-
-