@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ElasticsearchDataSourceConfig extends Object implements Serializable, Cloneable, StructuredPojo
Describes an OpenSearch data source configuration.
As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. For new data sources, use OpenSearchServiceDataSourceConfig to specify an OpenSearch data source.
Constructor and Description |
---|
ElasticsearchDataSourceConfig() |
Modifier and Type | Method and Description |
---|---|
ElasticsearchDataSourceConfig |
clone() |
boolean |
equals(Object obj) |
String |
getAwsRegion()
The Amazon Web Services Region.
|
String |
getEndpoint()
The endpoint.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAwsRegion(String awsRegion)
The Amazon Web Services Region.
|
void |
setEndpoint(String endpoint)
The endpoint.
|
String |
toString()
Returns a string representation of this object.
|
ElasticsearchDataSourceConfig |
withAwsRegion(String awsRegion)
The Amazon Web Services Region.
|
ElasticsearchDataSourceConfig |
withEndpoint(String endpoint)
The endpoint.
|
public void setEndpoint(String endpoint)
The endpoint.
endpoint
- The endpoint.public String getEndpoint()
The endpoint.
public ElasticsearchDataSourceConfig withEndpoint(String endpoint)
The endpoint.
endpoint
- The endpoint.public void setAwsRegion(String awsRegion)
The Amazon Web Services Region.
awsRegion
- The Amazon Web Services Region.public String getAwsRegion()
The Amazon Web Services Region.
public ElasticsearchDataSourceConfig withAwsRegion(String awsRegion)
The Amazon Web Services Region.
awsRegion
- The Amazon Web Services Region.public String toString()
toString
in class Object
Object.toString()
public ElasticsearchDataSourceConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.