Package com.oracle.bmc.goldengate.model
Class AmazonS3IcebergStorage
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.goldengate.model.IcebergStorage
-
- com.oracle.bmc.goldengate.model.AmazonS3IcebergStorage
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200407") public final class AmazonS3IcebergStorage extends IcebergStorage
Represents an Amazon S3 storage used in the Iceberg connection.
Note: Objects should always be created or deserialized using theAmazonS3IcebergStorage.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 theAmazonS3IcebergStorage.Builder
, which maintain a set of all explicitly set fields calledAmazonS3IcebergStorage.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
AmazonS3IcebergStorage.Builder
static class
AmazonS3IcebergStorage.SchemeType
The scheme of the storage.
-
Constructor Summary
Constructors Constructor Description AmazonS3IcebergStorage(AmazonS3IcebergStorage.SchemeType schemeType, String endpoint, String accessKeyId, String secretAccessKeySecretId, String region, String bucket)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AmazonS3IcebergStorage.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getAccessKeyId()
Access key ID to access the Amazon S3 bucket.String
getBucket()
S3 bucket where Iceberg stores metadata and data files.String
getEndpoint()
The endpoint URL of the Amazon S3 storage service.String
getRegion()
The AMAZON region where the S3 bucket is hosted.AmazonS3IcebergStorage.SchemeType
getSchemeType()
The scheme of the storage.String
getSecretAccessKeySecretId()
The OCID of the Secret where the Secret Access Key is stored.int
hashCode()
AmazonS3IcebergStorage.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
AmazonS3IcebergStorage
@Deprecated public AmazonS3IcebergStorage(AmazonS3IcebergStorage.SchemeType schemeType, String endpoint, String accessKeyId, String secretAccessKeySecretId, String region, String bucket)
Deprecated.
-
-
Method Detail
-
builder
public static AmazonS3IcebergStorage.Builder builder()
Create a new builder.
-
toBuilder
public AmazonS3IcebergStorage.Builder toBuilder()
-
getSchemeType
public AmazonS3IcebergStorage.SchemeType getSchemeType()
The scheme of the storage.- Returns:
- the value
-
getEndpoint
public String getEndpoint()
The endpoint URL of the Amazon S3 storage service.e.g.: ‘https://s3.amazonaws.com’
- Returns:
- the value
-
getAccessKeyId
public String getAccessKeyId()
Access key ID to access the Amazon S3 bucket.- Returns:
- the value
-
getSecretAccessKeySecretId
public String getSecretAccessKeySecretId()
The OCID of the Secret where the Secret Access Key is stored.- Returns:
- the value
-
getRegion
public String getRegion()
The AMAZON region where the S3 bucket is hosted.e.g.: ‘us-east-2’
- Returns:
- the value
-
getBucket
public String getBucket()
S3 bucket where Iceberg stores metadata and data files.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classIcebergStorage
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classIcebergStorage
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classIcebergStorage
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classIcebergStorage
-
-