Class CustomProperty
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<CustomProperty.Builder,
CustomProperty>
Represents a member of the complex data structure. The data type of the property can be either primitive or another
struct
.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CustomProperty.Builder
builder()
final String
comment()
A comment in addition to the description.final NodeDataEncoding
Indicates whether the property is binary data.final String
Indicates whether the property is binary data.final NodeDataType
dataType()
The data type for the custom property.final String
The data type for the custom property.final String
The deprecation message for the node or the branch that was moved or deleted.final String
A brief description of the custom property.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final String
The fully qualified name of the custom property.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
static Class
<? extends CustomProperty.Builder> final String
The fully qualified name of the struct node for the custom property if the data type of the custom property isStruct
orStructArray
.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
fullyQualifiedName
The fully qualified name of the custom property. For example, the fully qualified name of a custom property might be
ComplexDataTypes.VehicleDataTypes.SVMCamera.FPS
.- Returns:
- The fully qualified name of the custom property. For example, the fully qualified name of a custom
property might be
ComplexDataTypes.VehicleDataTypes.SVMCamera.FPS
.
-
dataType
The data type for the custom property.
If the service returns an enum value that is not available in the current SDK version,
dataType
will returnNodeDataType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdataTypeAsString()
.- Returns:
- The data type for the custom property.
- See Also:
-
dataTypeAsString
The data type for the custom property.
If the service returns an enum value that is not available in the current SDK version,
dataType
will returnNodeDataType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdataTypeAsString()
.- Returns:
- The data type for the custom property.
- See Also:
-
dataEncoding
Indicates whether the property is binary data.
If the service returns an enum value that is not available in the current SDK version,
dataEncoding
will returnNodeDataEncoding.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdataEncodingAsString()
.- Returns:
- Indicates whether the property is binary data.
- See Also:
-
dataEncodingAsString
Indicates whether the property is binary data.
If the service returns an enum value that is not available in the current SDK version,
dataEncoding
will returnNodeDataEncoding.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdataEncodingAsString()
.- Returns:
- Indicates whether the property is binary data.
- See Also:
-
description
A brief description of the custom property.
- Returns:
- A brief description of the custom property.
-
deprecationMessage
The deprecation message for the node or the branch that was moved or deleted.
- Returns:
- The deprecation message for the node or the branch that was moved or deleted.
-
comment
A comment in addition to the description.
- Returns:
- A comment in addition to the description.
-
structFullyQualifiedName
The fully qualified name of the struct node for the custom property if the data type of the custom property is
Struct
orStructArray
.- Returns:
- The fully qualified name of the struct node for the custom property if the data type of the custom
property is
Struct
orStructArray
.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<CustomProperty.Builder,
CustomProperty> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
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
-
sdkFields
-