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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapiKeyId()Returns the value of theapiKeyIdrecord component.authType()Returns the value of theauthTyperecord component.Returns the value of thecertKeyPathrecord component.certPath()Returns the value of thecertPathrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thepinnedTlsCertificateEncodedBase64record component.Returns the value of thepinnedTlsCertificateFingerprintSha256record component.Returns the value of thepinnedTlsCertificateSourcePathrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OpenSearchOptions
public OpenSearchOptions(String authType, String apiKeyId, String certPath, String certKeyPath, String pinnedTlsCertificateSourcePath, String pinnedTlsCertificateFingerprintSha256, String pinnedTlsCertificateEncodedBase64) Creates an instance of aOpenSearchOptionsrecord class.- Parameters:
authType- the value for theauthTyperecord componentapiKeyId- the value for theapiKeyIdrecord componentcertPath- the value for thecertPathrecord componentcertKeyPath- the value for thecertKeyPathrecord componentpinnedTlsCertificateSourcePath- the value for thepinnedTlsCertificateSourcePathrecord componentpinnedTlsCertificateFingerprintSha256- the value for thepinnedTlsCertificateFingerprintSha256record componentpinnedTlsCertificateEncodedBase64- the value for thepinnedTlsCertificateEncodedBase64record component
-
-
Method Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
authType
Returns the value of theauthTyperecord component.- Returns:
- the value of the
authTyperecord component
-
apiKeyId
Returns the value of theapiKeyIdrecord component.- Returns:
- the value of the
apiKeyIdrecord component
-
certPath
Returns the value of thecertPathrecord component.- Returns:
- the value of the
certPathrecord component
-
certKeyPath
Returns the value of thecertKeyPathrecord component.- Returns:
- the value of the
certKeyPathrecord component
-
pinnedTlsCertificateSourcePath
Returns the value of thepinnedTlsCertificateSourcePathrecord component.- Returns:
- the value of the
pinnedTlsCertificateSourcePathrecord component
-
pinnedTlsCertificateFingerprintSha256
Returns the value of thepinnedTlsCertificateFingerprintSha256record component.- Returns:
- the value of the
pinnedTlsCertificateFingerprintSha256record component
-
pinnedTlsCertificateEncodedBase64
Returns the value of thepinnedTlsCertificateEncodedBase64record component.- Returns:
- the value of the
pinnedTlsCertificateEncodedBase64record component
-