Record Class StorageAccessPropertyInfo
java.lang.Object
java.lang.Record
org.apache.polaris.docs.generator.StorageAccessPropertyInfo
public record StorageAccessPropertyInfo(String propertyName, String description, String valueType, boolean isCredential, String storageType, String suffixLabel)
extends Record
Holds information about a
StorageAccessProperty enum constant.
When suffixLabel is non-null the property is a prefix property: the actual runtime key
is propertyName + "." + runtimeSuffix, and suffixLabel names what that suffix
represents (e.g. "account-host").
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theisCredentialrecord component.booleanReturns the value of thepropertyNamerecord component.Returns the value of thestorageTyperecord component.Returns the value of thesuffixLabelrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevalueTyperecord component.
-
Constructor Details
-
StorageAccessPropertyInfo
public StorageAccessPropertyInfo(String propertyName, String description, String valueType, boolean isCredential, String storageType, String suffixLabel) Creates an instance of aStorageAccessPropertyInforecord class.- Parameters:
propertyName- the value for thepropertyNamerecord componentdescription- the value for thedescriptionrecord componentvalueType- the value for thevalueTyperecord componentisCredential- the value for theisCredentialrecord componentstorageType- the value for thestorageTyperecord componentsuffixLabel- the value for thesuffixLabelrecord component
-
-
Method Details
-
isPrefixProperty
public boolean isPrefixProperty() -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
propertyName
Returns the value of thepropertyNamerecord component.- Returns:
- the value of the
propertyNamerecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
valueType
Returns the value of thevalueTyperecord component.- Returns:
- the value of the
valueTyperecord component
-
isCredential
public boolean isCredential()Returns the value of theisCredentialrecord component.- Returns:
- the value of the
isCredentialrecord component
-
storageType
Returns the value of thestorageTyperecord component.- Returns:
- the value of the
storageTyperecord component
-
suffixLabel
Returns the value of thesuffixLabelrecord component.- Returns:
- the value of the
suffixLabelrecord component
-