Class ProtectedResourcesSummaryName (0.3.0)

public class ProtectedResourcesSummaryName implements ResourceName

Inheritance

Object > ProtectedResourcesSummaryName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String keyRing, String cryptoKey)

public static String format(String project, String location, String keyRing, String cryptoKey)
Parameters
NameDescription
projectString
locationString
keyRingString
cryptoKeyString
Returns
TypeDescription
String

formatProjectLocationKeyRingCryptoKeyCryptoKeyVersionName(String project, String location, String keyRing, String cryptoKey, String cryptoKeyVersion)

public static String formatProjectLocationKeyRingCryptoKeyCryptoKeyVersionName(String project, String location, String keyRing, String cryptoKey, String cryptoKeyVersion)
Parameters
NameDescription
projectString
locationString
keyRingString
cryptoKeyString
cryptoKeyVersionString
Returns
TypeDescription
String

formatProjectLocationKeyRingCryptoKeyName(String project, String location, String keyRing, String cryptoKey)

public static String formatProjectLocationKeyRingCryptoKeyName(String project, String location, String keyRing, String cryptoKey)
Parameters
NameDescription
projectString
locationString
keyRingString
cryptoKeyString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

newProjectLocationKeyRingCryptoKeyBuilder()

public static ProtectedResourcesSummaryName.Builder newProjectLocationKeyRingCryptoKeyBuilder()
Returns
TypeDescription
ProtectedResourcesSummaryName.Builder

newProjectLocationKeyRingCryptoKeyCryptoKeyVersionBuilder()

public static ProtectedResourcesSummaryName.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionBuilder newProjectLocationKeyRingCryptoKeyCryptoKeyVersionBuilder()
Returns
TypeDescription
ProtectedResourcesSummaryName.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionBuilder

of(String project, String location, String keyRing, String cryptoKey)

public static ProtectedResourcesSummaryName of(String project, String location, String keyRing, String cryptoKey)
Parameters
NameDescription
projectString
locationString
keyRingString
cryptoKeyString
Returns
TypeDescription
ProtectedResourcesSummaryName

ofProjectLocationKeyRingCryptoKeyCryptoKeyVersionName(String project, String location, String keyRing, String cryptoKey, String cryptoKeyVersion)

public static ProtectedResourcesSummaryName ofProjectLocationKeyRingCryptoKeyCryptoKeyVersionName(String project, String location, String keyRing, String cryptoKey, String cryptoKeyVersion)
Parameters
NameDescription
projectString
locationString
keyRingString
cryptoKeyString
cryptoKeyVersionString
Returns
TypeDescription
ProtectedResourcesSummaryName

ofProjectLocationKeyRingCryptoKeyName(String project, String location, String keyRing, String cryptoKey)

public static ProtectedResourcesSummaryName ofProjectLocationKeyRingCryptoKeyName(String project, String location, String keyRing, String cryptoKey)
Parameters
NameDescription
projectString
locationString
keyRingString
cryptoKeyString
Returns
TypeDescription
ProtectedResourcesSummaryName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ProtectedResourcesSummaryName> values)

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

Constructors

ProtectedResourcesSummaryName()

protected ProtectedResourcesSummaryName()

Methods

equals(Object o)

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

getCryptoKey()

public String getCryptoKey()
Returns
TypeDescription
String

getCryptoKeyVersion()

public String getCryptoKeyVersion()
Returns
TypeDescription
String

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>

getKeyRing()

public String getKeyRing()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides