Class OracleAwsS3DataTransferMediumDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.databasemigration.model.OracleDataTransferMediumDetails
-
- com.oracle.bmc.databasemigration.model.OracleAwsS3DataTransferMediumDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20230518") public final class OracleAwsS3DataTransferMediumDetails extends OracleDataTransferMediumDetailsAWS 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 theOracleAwsS3DataTransferMediumDetails.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 theOracleAwsS3DataTransferMediumDetails.Builder, which maintain a set of all explicitly set fields calledOracleAwsS3DataTransferMediumDetails.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 classOracleAwsS3DataTransferMediumDetails.Builder-
Nested classes/interfaces inherited from class com.oracle.bmc.databasemigration.model.OracleDataTransferMediumDetails
OracleDataTransferMediumDetails.Type
-
-
Constructor Summary
Constructors Constructor Description OracleAwsS3DataTransferMediumDetails(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 OracleAwsS3DataTransferMediumDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAccessKeyId()AWS access key credentials identifier Details: https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keysStringgetName()S3 bucket name.ObjectStoreBucketgetObjectStorageBucket()StringgetRegion()AWS region code where the S3 bucket is located.StringgetSecretAccessKey()AWS secret access key credentials Details: https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keysinthashCode()OracleAwsS3DataTransferMediumDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
OracleAwsS3DataTransferMediumDetails
@Deprecated public OracleAwsS3DataTransferMediumDetails(String name, String region, String accessKeyId, String secretAccessKey, ObjectStoreBucket objectStorageBucket)
Deprecated.
-
-
Method Detail
-
builder
public static OracleAwsS3DataTransferMediumDetails.Builder builder()
Create a new builder.
-
toBuilder
public OracleAwsS3DataTransferMediumDetails.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:
toStringin classOracleDataTransferMediumDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classOracleDataTransferMediumDetails- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classOracleDataTransferMediumDetails
-
hashCode
public int hashCode()
- Overrides:
hashCodein classOracleDataTransferMediumDetails
-
-