@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OpenSearchServiceDataSourceConfig extends Object implements Serializable, Cloneable, StructuredPojo
Describes an OpenSearch data source configuration.
| Constructor and Description | 
|---|
| OpenSearchServiceDataSourceConfig() | 
| Modifier and Type | Method and Description | 
|---|---|
| OpenSearchServiceDataSourceConfig | 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. | 
| OpenSearchServiceDataSourceConfig | withAwsRegion(String awsRegion)
 The Amazon Web Services Region. | 
| OpenSearchServiceDataSourceConfig | withEndpoint(String endpoint)
 The endpoint. | 
public void setEndpoint(String endpoint)
The endpoint.
endpoint - The endpoint.public String getEndpoint()
The endpoint.
public OpenSearchServiceDataSourceConfig 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 OpenSearchServiceDataSourceConfig withAwsRegion(String awsRegion)
The Amazon Web Services Region.
awsRegion - The Amazon Web Services Region.public String toString()
toString in class ObjectObject.toString()public OpenSearchServiceDataSourceConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.