Record Class VaultPropertySourceImporter.VaultImport
java.lang.Object
java.lang.Record
io.micronaut.discovery.vault.imports.VaultPropertySourceImporter.VaultImport
- Record Components:
connectionString- The parsed import connection string, if availableproperties- The importer child-context propertiessecretPath- The explicit Vault secret pathoptional- Whether the import is optionalretryPolicy- The resolved import retry policy
- Enclosing class:
VaultPropertySourceImporter
-
Constructor Summary
ConstructorsConstructorDescriptionVaultImport(@Nullable io.micronaut.core.util.ConnectionString connectionString, Map<String, Object> properties, String secretPath, boolean optional, io.micronaut.retry.RetryPolicy retryPolicy) Creates an instance of aVaultImportrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable io.micronaut.core.util.ConnectionStringReturns the value of theconnectionStringrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanoptional()Returns the value of theoptionalrecord component.Returns the value of thepropertiesrecord component.io.micronaut.retry.RetryPolicyReturns the value of theretryPolicyrecord component.Returns the value of thesecretPathrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
VaultImport
public VaultImport(@Nullable io.micronaut.core.util.ConnectionString connectionString, Map<String, Object> properties, String secretPath, boolean optional, io.micronaut.retry.RetryPolicy retryPolicy) Creates an instance of aVaultImportrecord class.- Parameters:
connectionString- the value for theconnectionStringrecord componentproperties- the value for thepropertiesrecord componentsecretPath- the value for thesecretPathrecord componentoptional- the value for theoptionalrecord componentretryPolicy- the value for theretryPolicyrecord component
-
-
Method Details
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
connectionString
public @Nullable io.micronaut.core.util.ConnectionString connectionString()Returns the value of theconnectionStringrecord component.- Returns:
- the value of the
connectionStringrecord component
-
properties
Returns the value of thepropertiesrecord component.- Returns:
- the value of the
propertiesrecord component
-
secretPath
Returns the value of thesecretPathrecord component.- Returns:
- the value of the
secretPathrecord component
-
optional
-
retryPolicy
public io.micronaut.retry.RetryPolicy retryPolicy()Returns the value of theretryPolicyrecord component.- Returns:
- the value of the
retryPolicyrecord component
-