Class ScanRunName (2.6.0)

public class ScanRunName implements ResourceName

Inheritance

Object > ScanRunName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String scanConfig, String scanRun)

public static String format(String project, String scanConfig, String scanRun)
Parameters
NameDescription
projectString
scanConfigString
scanRunString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String scanConfig, String scanRun)

public static ScanRunName of(String project, String scanConfig, String scanRun)
Parameters
NameDescription
projectString
scanConfigString
scanRunString
Returns
TypeDescription
ScanRunName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ScanRunName> values)

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

Constructors

ScanRunName()

protected ScanRunName()

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

getScanConfig()

public String getScanConfig()
Returns
TypeDescription
String

getScanRun()

public String getScanRun()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides