Class DataSourceSyncJobMetricTarget
- java.lang.Object
-
- software.amazon.awssdk.services.kendra.model.DataSourceSyncJobMetricTarget
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DataSourceSyncJobMetricTarget.Builder,DataSourceSyncJobMetricTarget>
@Generated("software.amazon.awssdk:codegen") public final class DataSourceSyncJobMetricTarget extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DataSourceSyncJobMetricTarget.Builder,DataSourceSyncJobMetricTarget>
Maps a particular data source sync job to a particular data source.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDataSourceSyncJobMetricTarget.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataSourceSyncJobMetricTarget.Builderbuilder()StringdataSourceId()The ID of the data source that is running the sync job.StringdataSourceSyncJobId()The ID of the sync job that is running on the data source.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends DataSourceSyncJobMetricTarget.Builder>serializableBuilderClass()DataSourceSyncJobMetricTarget.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
dataSourceId
public final String dataSourceId()
The ID of the data source that is running the sync job.
- Returns:
- The ID of the data source that is running the sync job.
-
dataSourceSyncJobId
public final String dataSourceSyncJobId()
The ID of the sync job that is running on the data source.
If the ID of a sync job is not provided and there is a sync job running, then the ID of this sync job is used and metrics are generated for this sync job.
If the ID of a sync job is not provided and there is no sync job running, then no metrics are generated and documents are indexed/deleted at the index level without sync job metrics included.
- Returns:
- The ID of the sync job that is running on the data source.
If the ID of a sync job is not provided and there is a sync job running, then the ID of this sync job is used and metrics are generated for this sync job.
If the ID of a sync job is not provided and there is no sync job running, then no metrics are generated and documents are indexed/deleted at the index level without sync job metrics included.
-
toBuilder
public DataSourceSyncJobMetricTarget.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DataSourceSyncJobMetricTarget.Builder,DataSourceSyncJobMetricTarget>
-
builder
public static DataSourceSyncJobMetricTarget.Builder builder()
-
serializableBuilderClass
public static Class<? extends DataSourceSyncJobMetricTarget.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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.
-
-