Class LogSinkName (3.8.0)

public class LogSinkName implements ResourceName

Inheritance

Object > LogSinkName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String sink)

public static String format(String project, String sink)
Parameters
NameDescription
projectString
sinkString
Returns
TypeDescription
String

formatBillingAccountSinkName(String billingAccount, String sink)

public static String formatBillingAccountSinkName(String billingAccount, String sink)
Parameters
NameDescription
billingAccountString
sinkString
Returns
TypeDescription
String

formatFolderSinkName(String folder, String sink)

public static String formatFolderSinkName(String folder, String sink)
Parameters
NameDescription
folderString
sinkString
Returns
TypeDescription
String

formatOrganizationSinkName(String organization, String sink)

public static String formatOrganizationSinkName(String organization, String sink)
Parameters
NameDescription
organizationString
sinkString
Returns
TypeDescription
String

formatProjectSinkName(String project, String sink)

public static String formatProjectSinkName(String project, String sink)
Parameters
NameDescription
projectString
sinkString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBillingAccountSinkBuilder()

public static LogSinkName.BillingAccountSinkBuilder newBillingAccountSinkBuilder()
Returns
TypeDescription
LogSinkName.BillingAccountSinkBuilder

newBuilder()

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

newFolderSinkBuilder()

public static LogSinkName.FolderSinkBuilder newFolderSinkBuilder()
Returns
TypeDescription
LogSinkName.FolderSinkBuilder

newOrganizationSinkBuilder()

public static LogSinkName.OrganizationSinkBuilder newOrganizationSinkBuilder()
Returns
TypeDescription
LogSinkName.OrganizationSinkBuilder

newProjectSinkBuilder()

public static LogSinkName.Builder newProjectSinkBuilder()
Returns
TypeDescription
LogSinkName.Builder

of(String project, String sink)

public static LogSinkName of(String project, String sink)
Parameters
NameDescription
projectString
sinkString
Returns
TypeDescription
LogSinkName

ofBillingAccountSinkName(String billingAccount, String sink)

public static LogSinkName ofBillingAccountSinkName(String billingAccount, String sink)
Parameters
NameDescription
billingAccountString
sinkString
Returns
TypeDescription
LogSinkName

ofFolderSinkName(String folder, String sink)

public static LogSinkName ofFolderSinkName(String folder, String sink)
Parameters
NameDescription
folderString
sinkString
Returns
TypeDescription
LogSinkName

ofOrganizationSinkName(String organization, String sink)

public static LogSinkName ofOrganizationSinkName(String organization, String sink)
Parameters
NameDescription
organizationString
sinkString
Returns
TypeDescription
LogSinkName

ofProjectSinkName(String project, String sink)

public static LogSinkName ofProjectSinkName(String project, String sink)
Parameters
NameDescription
projectString
sinkString
Returns
TypeDescription
LogSinkName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<LogSinkName> values)

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

Constructors

LogSinkName()

protected LogSinkName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getBillingAccount()

public String getBillingAccount()
Returns
TypeDescription
String

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

getSink()

public String getSink()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides