Package io.camunda.zeebe.backup.gcs
Record Class GcsConnectionConfig.Authentication.None
java.lang.Object
java.lang.Record
io.camunda.zeebe.backup.gcs.GcsConnectionConfig.Authentication.None
- All Implemented Interfaces:
GcsConnectionConfig.Authentication
- Enclosing interface:
GcsConnectionConfig.Authentication
public static record GcsConnectionConfig.Authentication.None(String projectId)
extends Record
implements GcsConnectionConfig.Authentication
Use no authentication, only useful for testing.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.camunda.zeebe.backup.gcs.GcsConnectionConfig.Authentication
GcsConnectionConfig.Authentication.Auto, GcsConnectionConfig.Authentication.None -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.auth.Credentialsfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theprojectIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
None
Creates an instance of aNonerecord class.- Parameters:
projectId- the value for theprojectIdrecord component
-
-
Method Details
-
credentials
public com.google.auth.Credentials credentials()- Specified by:
credentialsin interfaceGcsConnectionConfig.Authentication
-
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). -
projectId
Returns the value of theprojectIdrecord component.- Returns:
- the value of the
projectIdrecord component
-