Class ViolationName (0.9.0)

public class ViolationName implements ResourceName

Inheritance

Object > ViolationName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String organization, String location, String customer, String workload, String violation)

public static String format(String organization, String location, String customer, String workload, String violation)
Parameters
Name Description
organization String
location String
customer String
workload String
violation 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 ViolationName.Builder newBuilder()
Returns
Type Description
ViolationName.Builder

of(String organization, String location, String customer, String workload, String violation)

public static ViolationName of(String organization, String location, String customer, String workload, String violation)
Parameters
Name Description
organization String
location String
customer String
workload String
violation String
Returns
Type Description
ViolationName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ViolationName> values)

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

Constructors

ViolationName() (deprecated)

protected ViolationName()

Methods

equals(Object o)

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

getCustomer()

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

getLocation()

public String getLocation()
Returns
Type Description
String

getOrganization()

public String getOrganization()
Returns
Type Description
String

getViolation()

public String getViolation()
Returns
Type Description
String

getWorkload()

public String getWorkload()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
Type Description
String
Overrides