Class AddDataSourceRequest
java.lang.Object
software.amazon.awssdk.core.SdkRequest
software.amazon.awssdk.awscore.AwsRequest
software.amazon.awssdk.services.opensearch.model.OpenSearchRequest
software.amazon.awssdk.services.opensearch.model.AddDataSourceRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<AddDataSourceRequest.Builder,AddDataSourceRequest>
@Generated("software.amazon.awssdk:codegen")
public final class AddDataSourceRequest
extends OpenSearchRequest
implements ToCopyableBuilder<AddDataSourceRequest.Builder,AddDataSourceRequest>
Container for the parameters to the AddDataSource operation.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic AddDataSourceRequest.Builderbuilder()final DataSourceTypeThe type of data source.final StringA description of the data source.final StringThe name of the domain to add the data source to.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringname()A name for the data source.static Class<? extends AddDataSourceRequest.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
domainName
The name of the domain to add the data source to.
- Returns:
- The name of the domain to add the data source to.
-
name
A name for the data source.
- Returns:
- A name for the data source.
-
dataSourceType
The type of data source.
- Returns:
- The type of data source.
-
description
A description of the data source.
- Returns:
- A description of the data source.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<AddDataSourceRequest.Builder,AddDataSourceRequest> - Specified by:
toBuilderin classOpenSearchRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-