Class CreateOracleAwsS3DataTransferMediumDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.databasemigration.model.CreateOracleDataTransferMediumDetails
-
- com.oracle.bmc.databasemigration.model.CreateOracleAwsS3DataTransferMediumDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20230518") public final class CreateOracleAwsS3DataTransferMediumDetails extends CreateOracleDataTransferMediumDetails
AWS S3 bucket details used for source Connection resources with RDS_ORACLE type.Only supported for source Connection resources with RDS_ORACLE type.
Note: Objects should always be created or deserialized using theCreateOracleAwsS3DataTransferMediumDetails.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theCreateOracleAwsS3DataTransferMediumDetails.Builder
, which maintain a set of all explicitly set fields calledCreateOracleAwsS3DataTransferMediumDetails.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateOracleAwsS3DataTransferMediumDetails.Builder
-
Nested classes/interfaces inherited from class com.oracle.bmc.databasemigration.model.CreateOracleDataTransferMediumDetails
CreateOracleDataTransferMediumDetails.Type
-
-
Constructor Summary
Constructors Constructor Description CreateOracleAwsS3DataTransferMediumDetails(String name, String region, String accessKeyId, String secretAccessKey, ObjectStoreBucket objectStorageBucket)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateOracleAwsS3DataTransferMediumDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getAccessKeyId()
AWS access key credentials identifier Details: https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keysString
getName()
S3 bucket name.ObjectStoreBucket
getObjectStorageBucket()
String
getRegion()
AWS region code where the S3 bucket is located.String
getSecretAccessKey()
AWS secret access key credentials Details: https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keysint
hashCode()
CreateOracleAwsS3DataTransferMediumDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
CreateOracleAwsS3DataTransferMediumDetails
@Deprecated public CreateOracleAwsS3DataTransferMediumDetails(String name, String region, String accessKeyId, String secretAccessKey, ObjectStoreBucket objectStorageBucket)
Deprecated.
-
-
Method Detail
-
builder
public static CreateOracleAwsS3DataTransferMediumDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateOracleAwsS3DataTransferMediumDetails.Builder toBuilder()
-
getName
public String getName()
S3 bucket name.- Returns:
- the value
-
getRegion
public String getRegion()
AWS region code where the S3 bucket is located.Region code should match the documented available regions: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions
- Returns:
- the value
-
getAccessKeyId
public String getAccessKeyId()
AWS access key credentials identifier Details: https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys- Returns:
- the value
-
getSecretAccessKey
public String getSecretAccessKey()
AWS secret access key credentials Details: https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys- Returns:
- the value
-
getObjectStorageBucket
public ObjectStoreBucket getObjectStorageBucket()
-
toString
public String toString()
- Overrides:
toString
in classCreateOracleDataTransferMediumDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classCreateOracleDataTransferMediumDetails
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classCreateOracleDataTransferMediumDetails
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classCreateOracleDataTransferMediumDetails
-
-