Class ExportFilterPropertyAttributes
- java.lang.Object
-
- software.amazon.awssdk.services.neptunegraph.model.ExportFilterPropertyAttributes
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ExportFilterPropertyAttributes.Builder,ExportFilterPropertyAttributes>
@Generated("software.amazon.awssdk:codegen") public final class ExportFilterPropertyAttributes extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ExportFilterPropertyAttributes.Builder,ExportFilterPropertyAttributes>
A structure representing a property's attributes. It is a map object of outputType, sourcePropertyName and multiValueHandling.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceExportFilterPropertyAttributes.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExportFilterPropertyAttributes.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()MultiValueHandlingTypemultiValueHandling()Specifies how to handle properties that have multiple values.StringmultiValueHandlingAsString()Specifies how to handle properties that have multiple values.StringoutputType()Specifies the data type to use for the property in the exported data (e.g.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ExportFilterPropertyAttributes.Builder>serializableBuilderClass()StringsourcePropertyName()The name of the property as it exists in the original graph data.ExportFilterPropertyAttributes.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
-
outputType
public final String outputType()
Specifies the data type to use for the property in the exported data (e.g. "String", "Int", "Float"). If a type is not provided, the export process will determine the type. If a given property is present as multiple types (e.g. one vertex has "height" stored as a double, and another edge has it stored as a string), the type will be of Any type, otherwise, it will be the type of the property as present in vertices.
- Returns:
- Specifies the data type to use for the property in the exported data (e.g. "String", "Int", "Float"). If a type is not provided, the export process will determine the type. If a given property is present as multiple types (e.g. one vertex has "height" stored as a double, and another edge has it stored as a string), the type will be of Any type, otherwise, it will be the type of the property as present in vertices.
-
sourcePropertyName
public final String sourcePropertyName()
The name of the property as it exists in the original graph data. If not provided, it is assumed that the key matches the desired sourcePropertyName.
- Returns:
- The name of the property as it exists in the original graph data. If not provided, it is assumed that the key matches the desired sourcePropertyName.
-
multiValueHandling
public final MultiValueHandlingType multiValueHandling()
Specifies how to handle properties that have multiple values. Can be either
TO_LISTto export all values as a list, orPICK_FIRSTto export the first value encountered. If not specified, the default value isPICK_FIRST.If the service returns an enum value that is not available in the current SDK version,
multiValueHandlingwill returnMultiValueHandlingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommultiValueHandlingAsString().- Returns:
- Specifies how to handle properties that have multiple values. Can be either
TO_LISTto export all values as a list, orPICK_FIRSTto export the first value encountered. If not specified, the default value isPICK_FIRST. - See Also:
MultiValueHandlingType
-
multiValueHandlingAsString
public final String multiValueHandlingAsString()
Specifies how to handle properties that have multiple values. Can be either
TO_LISTto export all values as a list, orPICK_FIRSTto export the first value encountered. If not specified, the default value isPICK_FIRST.If the service returns an enum value that is not available in the current SDK version,
multiValueHandlingwill returnMultiValueHandlingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommultiValueHandlingAsString().- Returns:
- Specifies how to handle properties that have multiple values. Can be either
TO_LISTto export all values as a list, orPICK_FIRSTto export the first value encountered. If not specified, the default value isPICK_FIRST. - See Also:
MultiValueHandlingType
-
toBuilder
public ExportFilterPropertyAttributes.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ExportFilterPropertyAttributes.Builder,ExportFilterPropertyAttributes>
-
builder
public static ExportFilterPropertyAttributes.Builder builder()
-
serializableBuilderClass
public static Class<? extends ExportFilterPropertyAttributes.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
-
-