Class UpdateOracleAwsS3DataTransferMediumDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.databasemigration.model.UpdateOracleDataTransferMediumDetails
-
- com.oracle.bmc.databasemigration.model.UpdateOracleAwsS3DataTransferMediumDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20230518") public final class UpdateOracleAwsS3DataTransferMediumDetails extends UpdateOracleDataTransferMediumDetailsAWS 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 theUpdateOracleAwsS3DataTransferMediumDetails.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 theUpdateOracleAwsS3DataTransferMediumDetails.Builder, which maintain a set of all explicitly set fields calledUpdateOracleAwsS3DataTransferMediumDetails.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 classUpdateOracleAwsS3DataTransferMediumDetails.Builder-
Nested classes/interfaces inherited from class com.oracle.bmc.databasemigration.model.UpdateOracleDataTransferMediumDetails
UpdateOracleDataTransferMediumDetails.Type
-
-
Constructor Summary
Constructors Constructor Description UpdateOracleAwsS3DataTransferMediumDetails(String name, String region, char[] accessKeyId, char[] secretAccessKey, ObjectStoreBucket objectStorageBucket)Deprecated.UpdateOracleAwsS3DataTransferMediumDetails(String name, String region, String accessKeyId, String secretAccessKey, ObjectStoreBucket objectStorageBucket)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static UpdateOracleAwsS3DataTransferMediumDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAccessKeyId()Deprecated.Use getAccessKeyId__AsCharArray() instead.char[]getAccessKeyId__AsCharArray()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()Deprecated.Use getSecretAccessKey__AsCharArray() instead.char[]getSecretAccessKey__AsCharArray()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()UpdateOracleAwsS3DataTransferMediumDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
UpdateOracleAwsS3DataTransferMediumDetails
@Deprecated public UpdateOracleAwsS3DataTransferMediumDetails(String name, String region, String accessKeyId, String secretAccessKey, ObjectStoreBucket objectStorageBucket)
Deprecated.
-
UpdateOracleAwsS3DataTransferMediumDetails
@Deprecated public UpdateOracleAwsS3DataTransferMediumDetails(String name, String region, char[] accessKeyId, char[] secretAccessKey, ObjectStoreBucket objectStorageBucket)
Deprecated.
-
-
Method Detail
-
builder
public static UpdateOracleAwsS3DataTransferMediumDetails.Builder builder()
Create a new builder.
-
toBuilder
public UpdateOracleAwsS3DataTransferMediumDetails.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
@Deprecated public String getAccessKeyId()
Deprecated.Use getAccessKeyId__AsCharArray() instead.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
-
getAccessKeyId__AsCharArray
public char[] getAccessKeyId__AsCharArray()
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
@Deprecated public String getSecretAccessKey()
Deprecated.Use getSecretAccessKey__AsCharArray() instead.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
-
getSecretAccessKey__AsCharArray
public char[] getSecretAccessKey__AsCharArray()
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 classUpdateOracleDataTransferMediumDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classUpdateOracleDataTransferMediumDetails- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classUpdateOracleDataTransferMediumDetails
-
hashCode
public int hashCode()
- Overrides:
hashCodein classUpdateOracleDataTransferMediumDetails
-
-