public class ServiceLevelObjectiveName implements ResourceName
Inheritance
Object >
ServiceLevelObjectiveName
Implements
com.google.api.resourcenames.ResourceName
Static Methods
public static String format(String project, String service, String serviceLevelObjective)
public static String formatFolderServiceServiceLevelObjectiveName(String folder, String service, String serviceLevelObjective)
public static String formatOrganizationServiceServiceLevelObjectiveName(String organization, String service, String serviceLevelObjective)
public static String formatProjectServiceServiceLevelObjectiveName(String project, String service, String serviceLevelObjective)
isParsableFrom(String formattedString)
public static boolean isParsableFrom(String formattedString)
Parameter |
---|
Name | Description |
formattedString | String
|
newBuilder()
public static ServiceLevelObjectiveName.Builder newBuilder()
newFolderServiceServiceLevelObjectiveBuilder()
public static ServiceLevelObjectiveName.FolderServiceServiceLevelObjectiveBuilder newFolderServiceServiceLevelObjectiveBuilder()
newOrganizationServiceServiceLevelObjectiveBuilder()
public static ServiceLevelObjectiveName.OrganizationServiceServiceLevelObjectiveBuilder newOrganizationServiceServiceLevelObjectiveBuilder()
newProjectServiceServiceLevelObjectiveBuilder()
public static ServiceLevelObjectiveName.Builder newProjectServiceServiceLevelObjectiveBuilder()
of(String project, String service, String serviceLevelObjective)
public static ServiceLevelObjectiveName of(String project, String service, String serviceLevelObjective)
ofFolderServiceServiceLevelObjectiveName(String folder, String service, String serviceLevelObjective)
public static ServiceLevelObjectiveName ofFolderServiceServiceLevelObjectiveName(String folder, String service, String serviceLevelObjective)
ofOrganizationServiceServiceLevelObjectiveName(String organization, String service, String serviceLevelObjective)
public static ServiceLevelObjectiveName ofOrganizationServiceServiceLevelObjectiveName(String organization, String service, String serviceLevelObjective)
ofProjectServiceServiceLevelObjectiveName(String project, String service, String serviceLevelObjective)
public static ServiceLevelObjectiveName ofProjectServiceServiceLevelObjectiveName(String project, String service, String serviceLevelObjective)
parse(String formattedString)
public static ServiceLevelObjectiveName parse(String formattedString)
Parameter |
---|
Name | Description |
formattedString | String
|
parseList(List<String> formattedStrings)
public static List<ServiceLevelObjectiveName> parseList(List<String> formattedStrings)
Parameter |
---|
Name | Description |
formattedStrings | List<String>
|
toStringList(List<ServiceLevelObjectiveName> values)
public static List<String> toStringList(List<ServiceLevelObjectiveName> values)
Constructors
ServiceLevelObjectiveName()
protected ServiceLevelObjectiveName()
Methods
equals(Object o)
public boolean equals(Object o)
Parameter |
---|
Name | Description |
o | Object
|
Overrides
getFieldValue(String fieldName)
public String getFieldValue(String fieldName)
Parameter |
---|
Name | Description |
fieldName | String
|
getFieldValuesMap()
public Map<String,String> getFieldValuesMap()
getFolder()
public String getFolder()
getOrganization()
public String getOrganization()
getProject()
public String getProject()
getService()
public String getService()
getServiceLevelObjective()
public String getServiceLevelObjective()
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
toBuilder()
public ServiceLevelObjectiveName.Builder toBuilder()
toString()
Overrides