Class UpdateDataSourceRequest

    • 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.
      • 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.
      • 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.
      • metricsConfig

        public final DataSourceLevelMetricsConfig metricsConfig()

        Enables or disables enhanced data source metrics for specified data sources. Note that metricsConfig won't be used unless the dataSourceLevelMetricsBehavior value is set to PER_DATA_SOURCE_METRICS. If the dataSourceLevelMetricsBehavior is set to FULL_REQUEST_DATA_SOURCE_METRICS instead, metricsConfig will be ignored. However, you can still set its value.

        metricsConfig can be ENABLED or DISABLED.

        If the service returns an enum value that is not available in the current SDK version, metricsConfig will return DataSourceLevelMetricsConfig.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from metricsConfigAsString().

        Returns:
        Enables or disables enhanced data source metrics for specified data sources. Note that metricsConfig won't be used unless the dataSourceLevelMetricsBehavior value is set to PER_DATA_SOURCE_METRICS. If the dataSourceLevelMetricsBehavior is set to FULL_REQUEST_DATA_SOURCE_METRICS instead, metricsConfig will be ignored. However, you can still set its value.

        metricsConfig can be ENABLED or DISABLED.

        See Also:
        DataSourceLevelMetricsConfig
      • metricsConfigAsString

        public final String metricsConfigAsString()

        Enables or disables enhanced data source metrics for specified data sources. Note that metricsConfig won't be used unless the dataSourceLevelMetricsBehavior value is set to PER_DATA_SOURCE_METRICS. If the dataSourceLevelMetricsBehavior is set to FULL_REQUEST_DATA_SOURCE_METRICS instead, metricsConfig will be ignored. However, you can still set its value.

        metricsConfig can be ENABLED or DISABLED.

        If the service returns an enum value that is not available in the current SDK version, metricsConfig will return DataSourceLevelMetricsConfig.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from metricsConfigAsString().

        Returns:
        Enables or disables enhanced data source metrics for specified data sources. Note that metricsConfig won't be used unless the dataSourceLevelMetricsBehavior value is set to PER_DATA_SOURCE_METRICS. If the dataSourceLevelMetricsBehavior is set to FULL_REQUEST_DATA_SOURCE_METRICS instead, metricsConfig will be ignored. However, you can still set its value.

        metricsConfig can be ENABLED or DISABLED.

        See Also:
        DataSourceLevelMetricsConfig
      • 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.
        Overrides:
        toString in class Object