@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonOpenSearchServerlessDestinationConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Describes the configuration of a destination in the Serverless offering for Amazon OpenSearch Service.
Constructor and Description |
---|
AmazonOpenSearchServerlessDestinationConfiguration() |
Modifier and Type | Method and Description |
---|---|
AmazonOpenSearchServerlessDestinationConfiguration |
clone() |
boolean |
equals(Object obj) |
AmazonOpenSearchServerlessBufferingHints |
getBufferingHints()
The buffering options.
|
CloudWatchLoggingOptions |
getCloudWatchLoggingOptions() |
String |
getCollectionEndpoint()
The endpoint to use when communicating with the collection in the Serverless offering for Amazon OpenSearch
Service.
|
String |
getIndexName()
The Serverless offering for Amazon OpenSearch Service index name.
|
ProcessingConfiguration |
getProcessingConfiguration() |
AmazonOpenSearchServerlessRetryOptions |
getRetryOptions()
The retry behavior in case Firehose is unable to deliver documents to the Serverless offering for Amazon
OpenSearch Service.
|
String |
getRoleARN()
The Amazon Resource Name (ARN) of the IAM role to be assumed by Firehose for calling the Serverless offering for
Amazon OpenSearch Service Configuration API and for indexing documents.
|
String |
getS3BackupMode()
Defines how documents should be delivered to Amazon S3.
|
S3DestinationConfiguration |
getS3Configuration() |
VpcConfiguration |
getVpcConfiguration() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBufferingHints(AmazonOpenSearchServerlessBufferingHints bufferingHints)
The buffering options.
|
void |
setCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions) |
void |
setCollectionEndpoint(String collectionEndpoint)
The endpoint to use when communicating with the collection in the Serverless offering for Amazon OpenSearch
Service.
|
void |
setIndexName(String indexName)
The Serverless offering for Amazon OpenSearch Service index name.
|
void |
setProcessingConfiguration(ProcessingConfiguration processingConfiguration) |
void |
setRetryOptions(AmazonOpenSearchServerlessRetryOptions retryOptions)
The retry behavior in case Firehose is unable to deliver documents to the Serverless offering for Amazon
OpenSearch Service.
|
void |
setRoleARN(String roleARN)
The Amazon Resource Name (ARN) of the IAM role to be assumed by Firehose for calling the Serverless offering for
Amazon OpenSearch Service Configuration API and for indexing documents.
|
void |
setS3BackupMode(String s3BackupMode)
Defines how documents should be delivered to Amazon S3.
|
void |
setS3Configuration(S3DestinationConfiguration s3Configuration) |
void |
setVpcConfiguration(VpcConfiguration vpcConfiguration) |
String |
toString()
Returns a string representation of this object.
|
AmazonOpenSearchServerlessDestinationConfiguration |
withBufferingHints(AmazonOpenSearchServerlessBufferingHints bufferingHints)
The buffering options.
|
AmazonOpenSearchServerlessDestinationConfiguration |
withCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions) |
AmazonOpenSearchServerlessDestinationConfiguration |
withCollectionEndpoint(String collectionEndpoint)
The endpoint to use when communicating with the collection in the Serverless offering for Amazon OpenSearch
Service.
|
AmazonOpenSearchServerlessDestinationConfiguration |
withIndexName(String indexName)
The Serverless offering for Amazon OpenSearch Service index name.
|
AmazonOpenSearchServerlessDestinationConfiguration |
withProcessingConfiguration(ProcessingConfiguration processingConfiguration) |
AmazonOpenSearchServerlessDestinationConfiguration |
withRetryOptions(AmazonOpenSearchServerlessRetryOptions retryOptions)
The retry behavior in case Firehose is unable to deliver documents to the Serverless offering for Amazon
OpenSearch Service.
|
AmazonOpenSearchServerlessDestinationConfiguration |
withRoleARN(String roleARN)
The Amazon Resource Name (ARN) of the IAM role to be assumed by Firehose for calling the Serverless offering for
Amazon OpenSearch Service Configuration API and for indexing documents.
|
AmazonOpenSearchServerlessDestinationConfiguration |
withS3BackupMode(AmazonOpenSearchServerlessS3BackupMode s3BackupMode)
Defines how documents should be delivered to Amazon S3.
|
AmazonOpenSearchServerlessDestinationConfiguration |
withS3BackupMode(String s3BackupMode)
Defines how documents should be delivered to Amazon S3.
|
AmazonOpenSearchServerlessDestinationConfiguration |
withS3Configuration(S3DestinationConfiguration s3Configuration) |
AmazonOpenSearchServerlessDestinationConfiguration |
withVpcConfiguration(VpcConfiguration vpcConfiguration) |
public AmazonOpenSearchServerlessDestinationConfiguration()
public void setRoleARN(String roleARN)
The Amazon Resource Name (ARN) of the IAM role to be assumed by Firehose for calling the Serverless offering for Amazon OpenSearch Service Configuration API and for indexing documents.
roleARN
- The Amazon Resource Name (ARN) of the IAM role to be assumed by Firehose for calling the Serverless
offering for Amazon OpenSearch Service Configuration API and for indexing documents.public String getRoleARN()
The Amazon Resource Name (ARN) of the IAM role to be assumed by Firehose for calling the Serverless offering for Amazon OpenSearch Service Configuration API and for indexing documents.
public AmazonOpenSearchServerlessDestinationConfiguration withRoleARN(String roleARN)
The Amazon Resource Name (ARN) of the IAM role to be assumed by Firehose for calling the Serverless offering for Amazon OpenSearch Service Configuration API and for indexing documents.
roleARN
- The Amazon Resource Name (ARN) of the IAM role to be assumed by Firehose for calling the Serverless
offering for Amazon OpenSearch Service Configuration API and for indexing documents.public void setCollectionEndpoint(String collectionEndpoint)
The endpoint to use when communicating with the collection in the Serverless offering for Amazon OpenSearch Service.
collectionEndpoint
- The endpoint to use when communicating with the collection in the Serverless offering for Amazon
OpenSearch Service.public String getCollectionEndpoint()
The endpoint to use when communicating with the collection in the Serverless offering for Amazon OpenSearch Service.
public AmazonOpenSearchServerlessDestinationConfiguration withCollectionEndpoint(String collectionEndpoint)
The endpoint to use when communicating with the collection in the Serverless offering for Amazon OpenSearch Service.
collectionEndpoint
- The endpoint to use when communicating with the collection in the Serverless offering for Amazon
OpenSearch Service.public void setIndexName(String indexName)
The Serverless offering for Amazon OpenSearch Service index name.
indexName
- The Serverless offering for Amazon OpenSearch Service index name.public String getIndexName()
The Serverless offering for Amazon OpenSearch Service index name.
public AmazonOpenSearchServerlessDestinationConfiguration withIndexName(String indexName)
The Serverless offering for Amazon OpenSearch Service index name.
indexName
- The Serverless offering for Amazon OpenSearch Service index name.public void setBufferingHints(AmazonOpenSearchServerlessBufferingHints bufferingHints)
The buffering options. If no value is specified, the default values for AmazonopensearchserviceBufferingHints are used.
bufferingHints
- The buffering options. If no value is specified, the default values for
AmazonopensearchserviceBufferingHints are used.public AmazonOpenSearchServerlessBufferingHints getBufferingHints()
The buffering options. If no value is specified, the default values for AmazonopensearchserviceBufferingHints are used.
public AmazonOpenSearchServerlessDestinationConfiguration withBufferingHints(AmazonOpenSearchServerlessBufferingHints bufferingHints)
The buffering options. If no value is specified, the default values for AmazonopensearchserviceBufferingHints are used.
bufferingHints
- The buffering options. If no value is specified, the default values for
AmazonopensearchserviceBufferingHints are used.public void setRetryOptions(AmazonOpenSearchServerlessRetryOptions retryOptions)
The retry behavior in case Firehose is unable to deliver documents to the Serverless offering for Amazon OpenSearch Service. The default value is 300 (5 minutes).
retryOptions
- The retry behavior in case Firehose is unable to deliver documents to the Serverless offering for Amazon
OpenSearch Service. The default value is 300 (5 minutes).public AmazonOpenSearchServerlessRetryOptions getRetryOptions()
The retry behavior in case Firehose is unable to deliver documents to the Serverless offering for Amazon OpenSearch Service. The default value is 300 (5 minutes).
public AmazonOpenSearchServerlessDestinationConfiguration withRetryOptions(AmazonOpenSearchServerlessRetryOptions retryOptions)
The retry behavior in case Firehose is unable to deliver documents to the Serverless offering for Amazon OpenSearch Service. The default value is 300 (5 minutes).
retryOptions
- The retry behavior in case Firehose is unable to deliver documents to the Serverless offering for Amazon
OpenSearch Service. The default value is 300 (5 minutes).public void setS3BackupMode(String s3BackupMode)
Defines how documents should be delivered to Amazon S3. When it is set to FailedDocumentsOnly, Firehose writes any documents that could not be indexed to the configured Amazon S3 destination, with AmazonOpenSearchService-failed/ appended to the key prefix. When set to AllDocuments, Firehose delivers all incoming records to Amazon S3, and also writes failed documents with AmazonOpenSearchService-failed/ appended to the prefix.
s3BackupMode
- Defines how documents should be delivered to Amazon S3. When it is set to FailedDocumentsOnly, Firehose
writes any documents that could not be indexed to the configured Amazon S3 destination, with
AmazonOpenSearchService-failed/ appended to the key prefix. When set to AllDocuments, Firehose delivers
all incoming records to Amazon S3, and also writes failed documents with AmazonOpenSearchService-failed/
appended to the prefix.AmazonOpenSearchServerlessS3BackupMode
public String getS3BackupMode()
Defines how documents should be delivered to Amazon S3. When it is set to FailedDocumentsOnly, Firehose writes any documents that could not be indexed to the configured Amazon S3 destination, with AmazonOpenSearchService-failed/ appended to the key prefix. When set to AllDocuments, Firehose delivers all incoming records to Amazon S3, and also writes failed documents with AmazonOpenSearchService-failed/ appended to the prefix.
AmazonOpenSearchServerlessS3BackupMode
public AmazonOpenSearchServerlessDestinationConfiguration withS3BackupMode(String s3BackupMode)
Defines how documents should be delivered to Amazon S3. When it is set to FailedDocumentsOnly, Firehose writes any documents that could not be indexed to the configured Amazon S3 destination, with AmazonOpenSearchService-failed/ appended to the key prefix. When set to AllDocuments, Firehose delivers all incoming records to Amazon S3, and also writes failed documents with AmazonOpenSearchService-failed/ appended to the prefix.
s3BackupMode
- Defines how documents should be delivered to Amazon S3. When it is set to FailedDocumentsOnly, Firehose
writes any documents that could not be indexed to the configured Amazon S3 destination, with
AmazonOpenSearchService-failed/ appended to the key prefix. When set to AllDocuments, Firehose delivers
all incoming records to Amazon S3, and also writes failed documents with AmazonOpenSearchService-failed/
appended to the prefix.AmazonOpenSearchServerlessS3BackupMode
public AmazonOpenSearchServerlessDestinationConfiguration withS3BackupMode(AmazonOpenSearchServerlessS3BackupMode s3BackupMode)
Defines how documents should be delivered to Amazon S3. When it is set to FailedDocumentsOnly, Firehose writes any documents that could not be indexed to the configured Amazon S3 destination, with AmazonOpenSearchService-failed/ appended to the key prefix. When set to AllDocuments, Firehose delivers all incoming records to Amazon S3, and also writes failed documents with AmazonOpenSearchService-failed/ appended to the prefix.
s3BackupMode
- Defines how documents should be delivered to Amazon S3. When it is set to FailedDocumentsOnly, Firehose
writes any documents that could not be indexed to the configured Amazon S3 destination, with
AmazonOpenSearchService-failed/ appended to the key prefix. When set to AllDocuments, Firehose delivers
all incoming records to Amazon S3, and also writes failed documents with AmazonOpenSearchService-failed/
appended to the prefix.AmazonOpenSearchServerlessS3BackupMode
public void setS3Configuration(S3DestinationConfiguration s3Configuration)
s3Configuration
- public S3DestinationConfiguration getS3Configuration()
public AmazonOpenSearchServerlessDestinationConfiguration withS3Configuration(S3DestinationConfiguration s3Configuration)
s3Configuration
- public void setProcessingConfiguration(ProcessingConfiguration processingConfiguration)
processingConfiguration
- public ProcessingConfiguration getProcessingConfiguration()
public AmazonOpenSearchServerlessDestinationConfiguration withProcessingConfiguration(ProcessingConfiguration processingConfiguration)
processingConfiguration
- public void setCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
cloudWatchLoggingOptions
- public CloudWatchLoggingOptions getCloudWatchLoggingOptions()
public AmazonOpenSearchServerlessDestinationConfiguration withCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
cloudWatchLoggingOptions
- public void setVpcConfiguration(VpcConfiguration vpcConfiguration)
vpcConfiguration
- public VpcConfiguration getVpcConfiguration()
public AmazonOpenSearchServerlessDestinationConfiguration withVpcConfiguration(VpcConfiguration vpcConfiguration)
vpcConfiguration
- public String toString()
toString
in class Object
Object.toString()
public AmazonOpenSearchServerlessDestinationConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.