Class SecretVersionName (2.6.0)

public class SecretVersionName implements ResourceName

Inheritance

Object > SecretVersionName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String secret, String secretVersion)

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

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String secret, String secretVersion)

public static SecretVersionName of(String project, String secret, String secretVersion)
Parameters
NameDescription
projectString
secretString
secretVersionString
Returns
TypeDescription
SecretVersionName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<SecretVersionName> values)

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

Constructors

SecretVersionName()

protected SecretVersionName()

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

getSecretVersion()

public String getSecretVersion()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides