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 UpdateOracleDataTransferMediumDetails
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 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 class
UpdateOracleAwsS3DataTransferMediumDetails.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, String accessKeyId, String secretAccessKey, ObjectStoreBucket objectStorageBucket)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateOracleAwsS3DataTransferMediumDetails.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()
UpdateOracleAwsS3DataTransferMediumDetails.Builder
toBuilder()
String
toString()
String
toString(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.
-
-
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
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 classUpdateOracleDataTransferMediumDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classUpdateOracleDataTransferMediumDetails
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classUpdateOracleDataTransferMediumDetails
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classUpdateOracleDataTransferMediumDetails
-
-