Class SecretName (2.24.0)

public class SecretName implements ResourceName

Inheritance

Object > SecretName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String secret)

public static String format(String project, String secret)
Parameters
NameDescription
projectString
secretString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
boolean

newBuilder()

public static SecretName.Builder newBuilder()
Returns
TypeDescription
SecretName.Builder

of(String project, String secret)

public static SecretName of(String project, String secret)
Parameters
NameDescription
projectString
secretString
Returns
TypeDescription
SecretName

parse(String formattedString)

public static SecretName parse(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
SecretName

parseList(List<String> formattedStrings)

public static List<SecretName> parseList(List<String> formattedStrings)
Parameter
NameDescription
formattedStringsList<String>
Returns
TypeDescription
List<SecretName>

toStringList(List<SecretName> values)

public static List<String> toStringList(List<SecretName> values)
Parameter
NameDescription
valuesList<SecretName>
Returns
TypeDescription
List<String>

Constructors

SecretName()

protected SecretName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
NameDescription
fieldNameString
Returns
TypeDescription
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
TypeDescription
Map<String,String>

getProject()

public String getProject()
Returns
TypeDescription
String

getSecret()

public String getSecret()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public SecretName.Builder toBuilder()
Returns
TypeDescription
SecretName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides