Class GlossaryItem
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GlossaryItem.Builder,GlossaryItem>
The details of a business glossary.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionThe additional attributes of an Amazon DataZone glossary.static GlossaryItem.Builderbuilder()final InstantThe timestamp of when the glossary was created.final StringThe Amazon DataZone user who created the glossary.final StringThe business glossary description.final StringdomainId()The identifier of the Amazon DataZone domain in which the business glossary exists.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final booleanFor responses, this returns true if the service returned a value for the UsageRestrictions property.final Stringid()The identifier of the glossary.final Stringname()The name of the glossary.final StringThe identifier of the project that owns the business glosary.static Class<? extends GlossaryItem.Builder> final GlossaryStatusstatus()The business glossary status.final StringThe business glossary status.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final InstantThe timestamp of when the business glossary was updated.final StringThe Amazon DataZone user who updated the business glossary.final List<GlossaryUsageRestriction> The usage restrictions associated with a goverened glossary term.The usage restrictions associated with a goverened glossary term.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
additionalAttributes
The additional attributes of an Amazon DataZone glossary.
- Returns:
- The additional attributes of an Amazon DataZone glossary.
-
createdAt
The timestamp of when the glossary was created.
- Returns:
- The timestamp of when the glossary was created.
-
createdBy
The Amazon DataZone user who created the glossary.
- Returns:
- The Amazon DataZone user who created the glossary.
-
description
The business glossary description.
- Returns:
- The business glossary description.
-
domainId
The identifier of the Amazon DataZone domain in which the business glossary exists.
- Returns:
- The identifier of the Amazon DataZone domain in which the business glossary exists.
-
id
-
name
-
owningProjectId
The identifier of the project that owns the business glosary.
- Returns:
- The identifier of the project that owns the business glosary.
-
status
The business glossary status.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnGlossaryStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The business glossary status.
- See Also:
-
statusAsString
The business glossary status.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnGlossaryStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The business glossary status.
- See Also:
-
updatedAt
The timestamp of when the business glossary was updated.
- Returns:
- The timestamp of when the business glossary was updated.
-
updatedBy
The Amazon DataZone user who updated the business glossary.
- Returns:
- The Amazon DataZone user who updated the business glossary.
-
usageRestrictions
The usage restrictions associated with a goverened glossary term.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasUsageRestrictions()method.- Returns:
- The usage restrictions associated with a goverened glossary term.
-
hasUsageRestrictions
public final boolean hasUsageRestrictions()For responses, this returns true if the service returned a value for the UsageRestrictions property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
usageRestrictionsAsStrings
The usage restrictions associated with a goverened glossary term.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasUsageRestrictions()method.- Returns:
- The usage restrictions associated with a goverened glossary term.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<GlossaryItem.Builder,GlossaryItem> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-