Record Class NewCommand.CredentialConfig
java.lang.Object
java.lang.Record
cloud.kitelang.cli.commands.NewCommand.CredentialConfig
- Enclosing class:
NewCommand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NewCommand.CredentialConfigstatic NewCommand.CredentialConfigfinal booleanIndicates whether some other object is "equal to" this one.static NewCommand.CredentialConfigfinal inthashCode()Returns a hash code value for this object.profile()Returns the value of theprofilerecord component.project()Returns the value of theprojectrecord component.region()Returns the value of theregionrecord component.Returns the value of thesubscriptionrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
CredentialConfig
public CredentialConfig(String type, String profile, String region, String project, String subscription) Creates an instance of aCredentialConfigrecord class.- Parameters:
type- the value for thetyperecord componentprofile- the value for theprofilerecord componentregion- the value for theregionrecord componentproject- the value for theprojectrecord componentsubscription- the value for thesubscriptionrecord component
-
-
Method Details
-
aws
-
gcp
-
azure
-
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 withObjects::equals(Object,Object). -
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
profile
Returns the value of theprofilerecord component.- Returns:
- the value of the
profilerecord component
-
region
Returns the value of theregionrecord component.- Returns:
- the value of the
regionrecord component
-
project
Returns the value of theprojectrecord component.- Returns:
- the value of the
projectrecord component
-
subscription
Returns the value of thesubscriptionrecord component.- Returns:
- the value of the
subscriptionrecord component
-