Class ServicePerimeterName (1.35.0)

public class ServicePerimeterName implements ResourceName

Inheritance

Object > ServicePerimeterName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String accessPolicy, String servicePerimeter)

public static String format(String accessPolicy, String servicePerimeter)
Parameters
NameDescription
accessPolicyString
servicePerimeterString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String accessPolicy, String servicePerimeter)

public static ServicePerimeterName of(String accessPolicy, String servicePerimeter)
Parameters
NameDescription
accessPolicyString
servicePerimeterString
Returns
TypeDescription
ServicePerimeterName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ServicePerimeterName> values)

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

Constructors

ServicePerimeterName() (deprecated)

protected ServicePerimeterName()

Methods

equals(Object o)

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

getAccessPolicy()

public String getAccessPolicy()
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>

getServicePerimeter()

public String getServicePerimeter()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides