Class ServiceLevelObjectiveName (3.43.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
Name Description
project String
service String
serviceLevelObjective String
Returns
Type Description
String

formatFolderServiceServiceLevelObjectiveName(String folder, String service, String serviceLevelObjective)

public static String formatFolderServiceServiceLevelObjectiveName(String folder, String service, String serviceLevelObjective)
Parameters
Name Description
folder String
service String
serviceLevelObjective String
Returns
Type Description
String

formatOrganizationServiceServiceLevelObjectiveName(String organization, String service, String serviceLevelObjective)

public static String formatOrganizationServiceServiceLevelObjectiveName(String organization, String service, String serviceLevelObjective)
Parameters
Name Description
organization String
service String
serviceLevelObjective String
Returns
Type Description
String

formatProjectServiceServiceLevelObjectiveName(String project, String service, String serviceLevelObjective)

public static String formatProjectServiceServiceLevelObjectiveName(String project, String service, String serviceLevelObjective)
Parameters
Name Description
project String
service String
serviceLevelObjective 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 ServiceLevelObjectiveName.Builder newBuilder()
Returns
Type Description
ServiceLevelObjectiveName.Builder

newFolderServiceServiceLevelObjectiveBuilder()

public static ServiceLevelObjectiveName.FolderServiceServiceLevelObjectiveBuilder newFolderServiceServiceLevelObjectiveBuilder()
Returns
Type Description
ServiceLevelObjectiveName.FolderServiceServiceLevelObjectiveBuilder

newOrganizationServiceServiceLevelObjectiveBuilder()

public static ServiceLevelObjectiveName.OrganizationServiceServiceLevelObjectiveBuilder newOrganizationServiceServiceLevelObjectiveBuilder()
Returns
Type Description
ServiceLevelObjectiveName.OrganizationServiceServiceLevelObjectiveBuilder

newProjectServiceServiceLevelObjectiveBuilder()

public static ServiceLevelObjectiveName.Builder newProjectServiceServiceLevelObjectiveBuilder()
Returns
Type Description
ServiceLevelObjectiveName.Builder

of(String project, String service, String serviceLevelObjective)

public static ServiceLevelObjectiveName of(String project, String service, String serviceLevelObjective)
Parameters
Name Description
project String
service String
serviceLevelObjective String
Returns
Type Description
ServiceLevelObjectiveName

ofFolderServiceServiceLevelObjectiveName(String folder, String service, String serviceLevelObjective)

public static ServiceLevelObjectiveName ofFolderServiceServiceLevelObjectiveName(String folder, String service, String serviceLevelObjective)
Parameters
Name Description
folder String
service String
serviceLevelObjective String
Returns
Type Description
ServiceLevelObjectiveName

ofOrganizationServiceServiceLevelObjectiveName(String organization, String service, String serviceLevelObjective)

public static ServiceLevelObjectiveName ofOrganizationServiceServiceLevelObjectiveName(String organization, String service, String serviceLevelObjective)
Parameters
Name Description
organization String
service String
serviceLevelObjective String
Returns
Type Description
ServiceLevelObjectiveName

ofProjectServiceServiceLevelObjectiveName(String project, String service, String serviceLevelObjective)

public static ServiceLevelObjectiveName ofProjectServiceServiceLevelObjectiveName(String project, String service, String serviceLevelObjective)
Parameters
Name Description
project String
service String
serviceLevelObjective String
Returns
Type Description
ServiceLevelObjectiveName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ServiceLevelObjectiveName> values)

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

Constructors

ServiceLevelObjectiveName() (deprecated)

protected ServiceLevelObjectiveName()

Methods

equals(Object o)

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

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>

getFolder()

public String getFolder()
Returns
Type Description
String

getOrganization()

public String getOrganization()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

getService()

public String getService()
Returns
Type Description
String

getServiceLevelObjective()

public String getServiceLevelObjective()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
Type Description
String
Overrides