Class ServiceLevelObjectiveName (3.19.0)

public class ServiceLevelObjectiveName implements ResourceName

Inheritance

Object > ServiceLevelObjectiveName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String service, String serviceLevelObjective)

public static String format(String project, String service, String serviceLevelObjective)
Parameters
NameDescription
projectString
serviceString
serviceLevelObjectiveString
Returns
TypeDescription
String

formatFolderServiceServiceLevelObjectiveName(String folder, String service, String serviceLevelObjective)

public static String formatFolderServiceServiceLevelObjectiveName(String folder, String service, String serviceLevelObjective)
Parameters
NameDescription
folderString
serviceString
serviceLevelObjectiveString
Returns
TypeDescription
String

formatOrganizationServiceServiceLevelObjectiveName(String organization, String service, String serviceLevelObjective)

public static String formatOrganizationServiceServiceLevelObjectiveName(String organization, String service, String serviceLevelObjective)
Parameters
NameDescription
organizationString
serviceString
serviceLevelObjectiveString
Returns
TypeDescription
String

formatProjectServiceServiceLevelObjectiveName(String project, String service, String serviceLevelObjective)

public static String formatProjectServiceServiceLevelObjectiveName(String project, String service, String serviceLevelObjective)
Parameters
NameDescription
projectString
serviceString
serviceLevelObjectiveString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

newFolderServiceServiceLevelObjectiveBuilder()

public static ServiceLevelObjectiveName.FolderServiceServiceLevelObjectiveBuilder newFolderServiceServiceLevelObjectiveBuilder()
Returns
TypeDescription
ServiceLevelObjectiveName.FolderServiceServiceLevelObjectiveBuilder

newOrganizationServiceServiceLevelObjectiveBuilder()

public static ServiceLevelObjectiveName.OrganizationServiceServiceLevelObjectiveBuilder newOrganizationServiceServiceLevelObjectiveBuilder()
Returns
TypeDescription
ServiceLevelObjectiveName.OrganizationServiceServiceLevelObjectiveBuilder

newProjectServiceServiceLevelObjectiveBuilder()

public static ServiceLevelObjectiveName.Builder newProjectServiceServiceLevelObjectiveBuilder()
Returns
TypeDescription
ServiceLevelObjectiveName.Builder

of(String project, String service, String serviceLevelObjective)

public static ServiceLevelObjectiveName of(String project, String service, String serviceLevelObjective)
Parameters
NameDescription
projectString
serviceString
serviceLevelObjectiveString
Returns
TypeDescription
ServiceLevelObjectiveName

ofFolderServiceServiceLevelObjectiveName(String folder, String service, String serviceLevelObjective)

public static ServiceLevelObjectiveName ofFolderServiceServiceLevelObjectiveName(String folder, String service, String serviceLevelObjective)
Parameters
NameDescription
folderString
serviceString
serviceLevelObjectiveString
Returns
TypeDescription
ServiceLevelObjectiveName

ofOrganizationServiceServiceLevelObjectiveName(String organization, String service, String serviceLevelObjective)

public static ServiceLevelObjectiveName ofOrganizationServiceServiceLevelObjectiveName(String organization, String service, String serviceLevelObjective)
Parameters
NameDescription
organizationString
serviceString
serviceLevelObjectiveString
Returns
TypeDescription
ServiceLevelObjectiveName

ofProjectServiceServiceLevelObjectiveName(String project, String service, String serviceLevelObjective)

public static ServiceLevelObjectiveName ofProjectServiceServiceLevelObjectiveName(String project, String service, String serviceLevelObjective)
Parameters
NameDescription
projectString
serviceString
serviceLevelObjectiveString
Returns
TypeDescription
ServiceLevelObjectiveName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ServiceLevelObjectiveName> values)

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

Constructors

ServiceLevelObjectiveName()

protected ServiceLevelObjectiveName()

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>

getFolder()

public String getFolder()
Returns
TypeDescription
String

getOrganization()

public String getOrganization()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getService()

public String getService()
Returns
TypeDescription
String

getServiceLevelObjective()

public String getServiceLevelObjective()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides