Class Source
- java.lang.Object
-
- software.amazon.awssdk.services.iotsitewise.model.Source
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Source.Builder,Source>
@Generated("software.amazon.awssdk:codegen") public final class Source extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Source.Builder,Source>
The data source for the dataset.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSource.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()Contains the ARN of the dataset.static Source.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Locationlocation()Contains the location information where the cited text is originally stored.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Source.Builder>serializableBuilderClass()Source.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
-
arn
public final String arn()
Contains the ARN of the dataset. If the source is Kendra, it's the ARN of the Kendra index.
- Returns:
- Contains the ARN of the dataset. If the source is Kendra, it's the ARN of the Kendra index.
-
location
public final Location location()
Contains the location information where the cited text is originally stored. For example, if the data source is Kendra, and the text synchronized is from an S3 bucket, then the location refers to an S3 object.
- Returns:
- Contains the location information where the cited text is originally stored. For example, if the data source is Kendra, and the text synchronized is from an S3 bucket, then the location refers to an S3 object.
-
toBuilder
public Source.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Source.Builder,Source>
-
builder
public static Source.Builder builder()
-
serializableBuilderClass
public static Class<? extends Source.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-