@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonopensearchserviceDestinationDescription extends Object implements Serializable, Cloneable, StructuredPojo
The destination description in Amazon OpenSearch Service.
Constructor and Description |
---|
AmazonopensearchserviceDestinationDescription() |
public AmazonopensearchserviceDestinationDescription()
public void setRoleARN(String roleARN)
The Amazon Resource Name (ARN) of the Amazon Web Services credentials.
roleARN
- The Amazon Resource Name (ARN) of the Amazon Web Services credentials.public String getRoleARN()
The Amazon Resource Name (ARN) of the Amazon Web Services credentials.
public AmazonopensearchserviceDestinationDescription withRoleARN(String roleARN)
The Amazon Resource Name (ARN) of the Amazon Web Services credentials.
roleARN
- The Amazon Resource Name (ARN) of the Amazon Web Services credentials.public void setDomainARN(String domainARN)
The ARN of the Amazon OpenSearch Service domain.
domainARN
- The ARN of the Amazon OpenSearch Service domain.public String getDomainARN()
The ARN of the Amazon OpenSearch Service domain.
public AmazonopensearchserviceDestinationDescription withDomainARN(String domainARN)
The ARN of the Amazon OpenSearch Service domain.
domainARN
- The ARN of the Amazon OpenSearch Service domain.public void setClusterEndpoint(String clusterEndpoint)
The endpoint to use when communicating with the cluster. Firehose uses either this ClusterEndpoint or the DomainARN field to send data to Amazon OpenSearch Service.
clusterEndpoint
- The endpoint to use when communicating with the cluster. Firehose uses either this ClusterEndpoint or the
DomainARN field to send data to Amazon OpenSearch Service.public String getClusterEndpoint()
The endpoint to use when communicating with the cluster. Firehose uses either this ClusterEndpoint or the DomainARN field to send data to Amazon OpenSearch Service.
public AmazonopensearchserviceDestinationDescription withClusterEndpoint(String clusterEndpoint)
The endpoint to use when communicating with the cluster. Firehose uses either this ClusterEndpoint or the DomainARN field to send data to Amazon OpenSearch Service.
clusterEndpoint
- The endpoint to use when communicating with the cluster. Firehose uses either this ClusterEndpoint or the
DomainARN field to send data to Amazon OpenSearch Service.public void setIndexName(String indexName)
The Amazon OpenSearch Service index name.
indexName
- The Amazon OpenSearch Service index name.public String getIndexName()
The Amazon OpenSearch Service index name.
public AmazonopensearchserviceDestinationDescription withIndexName(String indexName)
The Amazon OpenSearch Service index name.
indexName
- The Amazon OpenSearch Service index name.public void setTypeName(String typeName)
The Amazon OpenSearch Service type name. This applies to Elasticsearch 6.x and lower versions. For Elasticsearch 7.x and OpenSearch Service 1.x, there's no value for TypeName.
typeName
- The Amazon OpenSearch Service type name. This applies to Elasticsearch 6.x and lower versions. For
Elasticsearch 7.x and OpenSearch Service 1.x, there's no value for TypeName.public String getTypeName()
The Amazon OpenSearch Service type name. This applies to Elasticsearch 6.x and lower versions. For Elasticsearch 7.x and OpenSearch Service 1.x, there's no value for TypeName.
public AmazonopensearchserviceDestinationDescription withTypeName(String typeName)
The Amazon OpenSearch Service type name. This applies to Elasticsearch 6.x and lower versions. For Elasticsearch 7.x and OpenSearch Service 1.x, there's no value for TypeName.
typeName
- The Amazon OpenSearch Service type name. This applies to Elasticsearch 6.x and lower versions. For
Elasticsearch 7.x and OpenSearch Service 1.x, there's no value for TypeName.public void setIndexRotationPeriod(String indexRotationPeriod)
The Amazon OpenSearch Service index rotation period
indexRotationPeriod
- The Amazon OpenSearch Service index rotation periodAmazonopensearchserviceIndexRotationPeriod
public String getIndexRotationPeriod()
The Amazon OpenSearch Service index rotation period
AmazonopensearchserviceIndexRotationPeriod
public AmazonopensearchserviceDestinationDescription withIndexRotationPeriod(String indexRotationPeriod)
The Amazon OpenSearch Service index rotation period
indexRotationPeriod
- The Amazon OpenSearch Service index rotation periodAmazonopensearchserviceIndexRotationPeriod
public AmazonopensearchserviceDestinationDescription withIndexRotationPeriod(AmazonopensearchserviceIndexRotationPeriod indexRotationPeriod)
The Amazon OpenSearch Service index rotation period
indexRotationPeriod
- The Amazon OpenSearch Service index rotation periodAmazonopensearchserviceIndexRotationPeriod
public void setBufferingHints(AmazonopensearchserviceBufferingHints bufferingHints)
The buffering options.
bufferingHints
- The buffering options.public AmazonopensearchserviceBufferingHints getBufferingHints()
The buffering options.
public AmazonopensearchserviceDestinationDescription withBufferingHints(AmazonopensearchserviceBufferingHints bufferingHints)
The buffering options.
bufferingHints
- The buffering options.public void setRetryOptions(AmazonopensearchserviceRetryOptions retryOptions)
The Amazon OpenSearch Service retry options.
retryOptions
- The Amazon OpenSearch Service retry options.public AmazonopensearchserviceRetryOptions getRetryOptions()
The Amazon OpenSearch Service retry options.
public AmazonopensearchserviceDestinationDescription withRetryOptions(AmazonopensearchserviceRetryOptions retryOptions)
The Amazon OpenSearch Service retry options.
retryOptions
- The Amazon OpenSearch Service retry options.public void setS3BackupMode(String s3BackupMode)
The Amazon S3 backup mode.
s3BackupMode
- The Amazon S3 backup mode.AmazonopensearchserviceS3BackupMode
public String getS3BackupMode()
The Amazon S3 backup mode.
AmazonopensearchserviceS3BackupMode
public AmazonopensearchserviceDestinationDescription withS3BackupMode(String s3BackupMode)
The Amazon S3 backup mode.
s3BackupMode
- The Amazon S3 backup mode.AmazonopensearchserviceS3BackupMode
public AmazonopensearchserviceDestinationDescription withS3BackupMode(AmazonopensearchserviceS3BackupMode s3BackupMode)
The Amazon S3 backup mode.
s3BackupMode
- The Amazon S3 backup mode.AmazonopensearchserviceS3BackupMode
public void setS3DestinationDescription(S3DestinationDescription s3DestinationDescription)
s3DestinationDescription
- public S3DestinationDescription getS3DestinationDescription()
public AmazonopensearchserviceDestinationDescription withS3DestinationDescription(S3DestinationDescription s3DestinationDescription)
s3DestinationDescription
- public void setProcessingConfiguration(ProcessingConfiguration processingConfiguration)
processingConfiguration
- public ProcessingConfiguration getProcessingConfiguration()
public AmazonopensearchserviceDestinationDescription withProcessingConfiguration(ProcessingConfiguration processingConfiguration)
processingConfiguration
- public void setCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
cloudWatchLoggingOptions
- public CloudWatchLoggingOptions getCloudWatchLoggingOptions()
public AmazonopensearchserviceDestinationDescription withCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
cloudWatchLoggingOptions
- public void setVpcConfigurationDescription(VpcConfigurationDescription vpcConfigurationDescription)
vpcConfigurationDescription
- public VpcConfigurationDescription getVpcConfigurationDescription()
public AmazonopensearchserviceDestinationDescription withVpcConfigurationDescription(VpcConfigurationDescription vpcConfigurationDescription)
vpcConfigurationDescription
- public void setDocumentIdOptions(DocumentIdOptions documentIdOptions)
Indicates the method for setting up document ID. The supported methods are Firehose generated document ID and OpenSearch Service generated document ID.
documentIdOptions
- Indicates the method for setting up document ID. The supported methods are Firehose generated document ID
and OpenSearch Service generated document ID.public DocumentIdOptions getDocumentIdOptions()
Indicates the method for setting up document ID. The supported methods are Firehose generated document ID and OpenSearch Service generated document ID.
public AmazonopensearchserviceDestinationDescription withDocumentIdOptions(DocumentIdOptions documentIdOptions)
Indicates the method for setting up document ID. The supported methods are Firehose generated document ID and OpenSearch Service generated document ID.
documentIdOptions
- Indicates the method for setting up document ID. The supported methods are Firehose generated document ID
and OpenSearch Service generated document ID.public String toString()
toString
in class Object
Object.toString()
public AmazonopensearchserviceDestinationDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.