Class UpdateDataSourceRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.appsync.model.AppSyncRequest
-
- software.amazon.awssdk.services.appsync.model.UpdateDataSourceRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<UpdateDataSourceRequest.Builder,UpdateDataSourceRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateDataSourceRequest extends AppSyncRequest implements ToCopyableBuilder<UpdateDataSourceRequest.Builder,UpdateDataSourceRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
UpdateDataSourceRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
apiId()
The API ID.static UpdateDataSourceRequest.Builder
builder()
String
description()
The new description for the data source.DynamodbDataSourceConfig
dynamodbConfig()
The new Amazon DynamoDB configuration.ElasticsearchDataSourceConfig
elasticsearchConfig()
The new OpenSearch configuration.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
EventBridgeDataSourceConfig
eventBridgeConfig()
The new Amazon EventBridge settings.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
HttpDataSourceConfig
httpConfig()
The new HTTP endpoint configuration.LambdaDataSourceConfig
lambdaConfig()
The new Lambda configuration.String
name()
The new name for the data source.OpenSearchServiceDataSourceConfig
openSearchServiceConfig()
The new OpenSearch configuration.RelationalDatabaseDataSourceConfig
relationalDatabaseConfig()
The new relational database configuration.List<SdkField<?>>
sdkFields()
static Class<? extends UpdateDataSourceRequest.Builder>
serializableBuilderClass()
String
serviceRoleArn()
The new service role Amazon Resource Name (ARN) for the data source.UpdateDataSourceRequest.Builder
toBuilder()
String
toString()
Returns a string representation of this object.DataSourceType
type()
The new data source type.String
typeAsString()
The new data source type.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
apiId
public final String apiId()
The API ID.
- Returns:
- The API ID.
-
name
public final String name()
The new name for the data source.
- Returns:
- The new name for the data source.
-
description
public final String description()
The new description for the data source.
- Returns:
- The new description for the data source.
-
type
public final DataSourceType type()
The new data source type.
If the service returns an enum value that is not available in the current SDK version,
type
will returnDataSourceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtypeAsString()
.- Returns:
- The new data source type.
- See Also:
DataSourceType
-
typeAsString
public final String typeAsString()
The new data source type.
If the service returns an enum value that is not available in the current SDK version,
type
will returnDataSourceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtypeAsString()
.- Returns:
- The new data source type.
- See Also:
DataSourceType
-
serviceRoleArn
public final String serviceRoleArn()
The new service role Amazon Resource Name (ARN) for the data source.
- Returns:
- The new service role Amazon Resource Name (ARN) for the data source.
-
dynamodbConfig
public final DynamodbDataSourceConfig dynamodbConfig()
The new Amazon DynamoDB configuration.
- Returns:
- The new Amazon DynamoDB configuration.
-
lambdaConfig
public final LambdaDataSourceConfig lambdaConfig()
The new Lambda configuration.
- Returns:
- The new Lambda configuration.
-
elasticsearchConfig
public final ElasticsearchDataSourceConfig elasticsearchConfig()
The new OpenSearch configuration.
As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. Instead, use UpdateDataSourceRequest$openSearchServiceConfig to update an OpenSearch data source.
- Returns:
- The new OpenSearch configuration.
As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. Instead, use UpdateDataSourceRequest$openSearchServiceConfig to update an OpenSearch data source.
-
openSearchServiceConfig
public final OpenSearchServiceDataSourceConfig openSearchServiceConfig()
The new OpenSearch configuration.
- Returns:
- The new OpenSearch configuration.
-
httpConfig
public final HttpDataSourceConfig httpConfig()
The new HTTP endpoint configuration.
- Returns:
- The new HTTP endpoint configuration.
-
relationalDatabaseConfig
public final RelationalDatabaseDataSourceConfig relationalDatabaseConfig()
The new relational database configuration.
- Returns:
- The new relational database configuration.
-
eventBridgeConfig
public final EventBridgeDataSourceConfig eventBridgeConfig()
The new Amazon EventBridge settings.
- Returns:
- The new Amazon EventBridge settings.
-
toBuilder
public UpdateDataSourceRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<UpdateDataSourceRequest.Builder,UpdateDataSourceRequest>
- Specified by:
toBuilder
in classAppSyncRequest
-
builder
public static UpdateDataSourceRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateDataSourceRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String 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
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkRequest
-
-