Record Class OracleCloudSigningConfigurationProperties
java.lang.Object
java.lang.Record
io.micronaut.oraclecloud.core.OracleCloudSigningConfigurationProperties
- Record Components:
enabled- Whether OCI requests are signed by the application. Defaults totrue.
- All Implemented Interfaces:
io.micronaut.core.util.Toggleable
@ConfigurationProperties("oci.signing")
public record OracleCloudSigningConfigurationProperties(boolean enabled)
extends Record
implements io.micronaut.core.util.Toggleable
Configuration for OCI request signing.
- Since:
- 6.2.1
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOracleCloudSigningConfigurationProperties(boolean enabled) Creates an instance of aOracleCloudSigningConfigurationPropertiesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanenabled()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.booleanfinal StringtoString()Returns a string representation of this record class.
-
Field Details
-
PREFIX
- See Also:
-
ENABLED_PROPERTY
- See Also:
-
-
Constructor Details
-
OracleCloudSigningConfigurationProperties
public OracleCloudSigningConfigurationProperties(@Bindable(defaultValue="true") boolean enabled) Creates an instance of aOracleCloudSigningConfigurationPropertiesrecord class.- Parameters:
enabled- the value for theenabledrecord component
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceio.micronaut.core.util.Toggleable
-
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. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
enabled
-