Package codes.grow.packages.infisical
Record Class ImportedSecrets
java.lang.Object
java.lang.Record
codes.grow.packages.infisical.ImportedSecrets
- Record Components:
secretPath- source path of the importenvironment- source environment slugfolderId- source folder id (""when unknown)secrets- the imported secrets
public record ImportedSecrets(String secretPath, String environment, String folderId, List<SecretEntry> secrets)
extends Record
The secrets one secret import contributes to a listing.
-
Constructor Summary
ConstructorsConstructorDescriptionImportedSecrets(String secretPath, String environment, String folderId, List<SecretEntry> secrets) Creates an instance of aImportedSecretsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theenvironmentrecord component.final booleanIndicates whether some other object is "equal to" this one.folderId()Returns the value of thefolderIdrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thesecretPathrecord component.secrets()Returns the value of thesecretsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ImportedSecrets
public ImportedSecrets(String secretPath, String environment, String folderId, List<SecretEntry> secrets) Creates an instance of aImportedSecretsrecord class.- Parameters:
secretPath- the value for thesecretPathrecord componentenvironment- the value for theenvironmentrecord componentfolderId- the value for thefolderIdrecord componentsecrets- the value for thesecretsrecord 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). -
secretPath
Returns the value of thesecretPathrecord component.- Returns:
- the value of the
secretPathrecord component
-
environment
Returns the value of theenvironmentrecord component.- Returns:
- the value of the
environmentrecord component
-
folderId
Returns the value of thefolderIdrecord component.- Returns:
- the value of the
folderIdrecord component
-
secrets
Returns the value of thesecretsrecord component.- Returns:
- the value of the
secretsrecord component
-