Record Class ConfigState.OpenSearchOptions

java.lang.Object
java.lang.Record
ai.attackframework.tools.burp.utils.config.ConfigState.OpenSearchOptions
Enclosing class:
ConfigState

public static record ConfigState.OpenSearchOptions(String authType, String apiKeyId, String certPath, String certKeyPath, String pinnedTlsCertificateSourcePath, String pinnedTlsCertificateFingerprintSha256, String pinnedTlsCertificateEncodedBase64) extends Record
Persisted non-secret OpenSearch settings that should survive config export/import.
  • Constructor Details

    • OpenSearchOptions

      public OpenSearchOptions(String authType, String apiKeyId, String certPath, String certKeyPath, String pinnedTlsCertificateSourcePath, String pinnedTlsCertificateFingerprintSha256, String pinnedTlsCertificateEncodedBase64)
      Creates an instance of a OpenSearchOptions record class.
      Parameters:
      authType - the value for the authType record component
      apiKeyId - the value for the apiKeyId record component
      certPath - the value for the certPath record component
      certKeyPath - the value for the certKeyPath record component
      pinnedTlsCertificateSourcePath - the value for the pinnedTlsCertificateSourcePath record component
      pinnedTlsCertificateFingerprintSha256 - the value for the pinnedTlsCertificateFingerprintSha256 record component
      pinnedTlsCertificateEncodedBase64 - the value for the pinnedTlsCertificateEncodedBase64 record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • authType

      public String authType()
      Returns the value of the authType record component.
      Returns:
      the value of the authType record component
    • apiKeyId

      public String apiKeyId()
      Returns the value of the apiKeyId record component.
      Returns:
      the value of the apiKeyId record component
    • certPath

      public String certPath()
      Returns the value of the certPath record component.
      Returns:
      the value of the certPath record component
    • certKeyPath

      public String certKeyPath()
      Returns the value of the certKeyPath record component.
      Returns:
      the value of the certKeyPath record component
    • pinnedTlsCertificateSourcePath

      public String pinnedTlsCertificateSourcePath()
      Returns the value of the pinnedTlsCertificateSourcePath record component.
      Returns:
      the value of the pinnedTlsCertificateSourcePath record component
    • pinnedTlsCertificateFingerprintSha256

      public String pinnedTlsCertificateFingerprintSha256()
      Returns the value of the pinnedTlsCertificateFingerprintSha256 record component.
      Returns:
      the value of the pinnedTlsCertificateFingerprintSha256 record component
    • pinnedTlsCertificateEncodedBase64

      public String pinnedTlsCertificateEncodedBase64()
      Returns the value of the pinnedTlsCertificateEncodedBase64 record component.
      Returns:
      the value of the pinnedTlsCertificateEncodedBase64 record component