Package io.micronaut.oraclecloud.core
Record Class OracleCloudConfigFileConfigurationProperties
java.lang.Object
java.lang.Record
io.micronaut.oraclecloud.core.OracleCloudConfigFileConfigurationProperties
- Record Components:
- profile- The profile to use.
- path- A custom path for the OCI configuration file.
- enabled- Whether to enable or disable using the OCI configuration file.
- sessionToken- Whether to enable the configuration of a- SessionTokenAuthenticationDetailsProvider.
- All Implemented Interfaces:
- io.micronaut.core.util.Toggleable
@ConfigurationProperties("oci.config")
public record OracleCloudConfigFileConfigurationProperties(@Nullable String profile, @Nullable String path, @Nullable Boolean enabled, @Nullable Boolean sessionToken)
extends Record
implements io.micronaut.core.util.Toggleable
Configuration properties for the local OCI config file (eg: 
$USE_HOME/.oci/config).- Since:
- 3.6.0
- Author:
- Álvaro Sánchez-Mariscal
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionOracleCloudConfigFileConfigurationProperties(@Nullable String profile, @Nullable String path, @Nullable Boolean enabled, @Nullable Boolean sessionToken) Creates an instance of aOracleCloudConfigFileConfigurationPropertiesrecord class.
- 
Method SummaryModifier and TypeMethodDescription@Nullable Booleanenabled()Returns the value of theenabledrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.boolean@Nullable Stringpath()Returns the value of thepathrecord component.@Nullable Stringprofile()Returns the value of theprofilerecord component.@Nullable BooleanReturns the value of thesessionTokenrecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
PREFIX- See Also:
 
 
- 
- 
Constructor Details- 
OracleCloudConfigFileConfigurationPropertiespublic OracleCloudConfigFileConfigurationProperties(@Nullable @Nullable String profile, @Nullable @Nullable String path, @Nullable @Nullable Boolean enabled, @Nullable @Nullable Boolean sessionToken) Creates an instance of aOracleCloudConfigFileConfigurationPropertiesrecord class.- Parameters:
- profile- the value for the- profilerecord component
- path- the value for the- pathrecord component
- enabled- the value for the- enabledrecord component
- sessionToken- the value for the- sessionTokenrecord component
 
 
- 
- 
Method Details- 
isEnabledpublic boolean isEnabled()- Specified by:
- isEnabledin interface- io.micronaut.core.util.Toggleable
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
profileReturns the value of theprofilerecord component.- Returns:
- the value of the profilerecord component
 
- 
pathReturns the value of thepathrecord component.- Returns:
- the value of the pathrecord component
 
- 
enabledReturns the value of theenabledrecord component.- Returns:
- the value of the enabledrecord component
 
- 
sessionTokenReturns the value of thesessionTokenrecord component.- Returns:
- the value of the sessionTokenrecord component
 
 
-