Class ProtectedResourcesSummaryName (0.34.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
Name Description
project String
location String
keyRing String
cryptoKey String
Returns
Type Description
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
Name Description
project String
location String
keyRing String
cryptoKey String
cryptoKeyVersion String
Returns
Type Description
String

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

public static String formatProjectLocationKeyRingCryptoKeyName(String project, String location, String keyRing, String cryptoKey)
Parameters
Name Description
project String
location String
keyRing String
cryptoKey String
Returns
Type Description
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

public static ProtectedResourcesSummaryName.Builder newBuilder()
Returns
Type Description
ProtectedResourcesSummaryName.Builder

newProjectLocationKeyRingCryptoKeyBuilder()

public static ProtectedResourcesSummaryName.Builder newProjectLocationKeyRingCryptoKeyBuilder()
Returns
Type Description
ProtectedResourcesSummaryName.Builder

newProjectLocationKeyRingCryptoKeyCryptoKeyVersionBuilder()

public static ProtectedResourcesSummaryName.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionBuilder newProjectLocationKeyRingCryptoKeyCryptoKeyVersionBuilder()
Returns
Type Description
ProtectedResourcesSummaryName.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionBuilder

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

public static ProtectedResourcesSummaryName of(String project, String location, String keyRing, String cryptoKey)
Parameters
Name Description
project String
location String
keyRing String
cryptoKey String
Returns
Type Description
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
Name Description
project String
location String
keyRing String
cryptoKey String
cryptoKeyVersion String
Returns
Type Description
ProtectedResourcesSummaryName

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

public static ProtectedResourcesSummaryName ofProjectLocationKeyRingCryptoKeyName(String project, String location, String keyRing, String cryptoKey)
Parameters
Name Description
project String
location String
keyRing String
cryptoKey String
Returns
Type Description
ProtectedResourcesSummaryName

parse(String formattedString)

public static ProtectedResourcesSummaryName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
ProtectedResourcesSummaryName

parseList(List<String> formattedStrings)

public static List<ProtectedResourcesSummaryName> parseList(List<String> formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<ProtectedResourcesSummaryName>

toStringList(List<ProtectedResourcesSummaryName> values)

public static List<String> toStringList(List<ProtectedResourcesSummaryName> values)
Parameter
Name Description
values List<ProtectedResourcesSummaryName>
Returns
Type Description
List<String>

Constructors

ProtectedResourcesSummaryName() (deprecated)

protected ProtectedResourcesSummaryName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getCryptoKey()

public String getCryptoKey()
Returns
Type Description
String

getCryptoKeyVersion()

public String getCryptoKeyVersion()
Returns
Type Description
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
Name Description
fieldName String
Returns
Type Description
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
Type Description
Map<String,String>

getKeyRing()

public String getKeyRing()
Returns
Type Description
String

getLocation()

public String getLocation()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public ProtectedResourcesSummaryName.Builder toBuilder()
Returns
Type Description
ProtectedResourcesSummaryName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides