Class LogSinkName (3.20.2)

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
Name Description
project String
sink String
Returns
Type Description
String

formatBillingAccountSinkName(String billingAccount, String sink)

public static String formatBillingAccountSinkName(String billingAccount, String sink)
Parameters
Name Description
billingAccount String
sink String
Returns
Type Description
String

formatFolderSinkName(String folder, String sink)

public static String formatFolderSinkName(String folder, String sink)
Parameters
Name Description
folder String
sink String
Returns
Type Description
String

formatOrganizationSinkName(String organization, String sink)

public static String formatOrganizationSinkName(String organization, String sink)
Parameters
Name Description
organization String
sink String
Returns
Type Description
String

formatProjectSinkName(String project, String sink)

public static String formatProjectSinkName(String project, String sink)
Parameters
Name Description
project String
sink String
Returns
Type Description
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBillingAccountSinkBuilder()

public static LogSinkName.BillingAccountSinkBuilder newBillingAccountSinkBuilder()
Returns
Type Description
LogSinkName.BillingAccountSinkBuilder

newBuilder()

public static LogSinkName.Builder newBuilder()
Returns
Type Description
LogSinkName.Builder

newFolderSinkBuilder()

public static LogSinkName.FolderSinkBuilder newFolderSinkBuilder()
Returns
Type Description
LogSinkName.FolderSinkBuilder

newOrganizationSinkBuilder()

public static LogSinkName.OrganizationSinkBuilder newOrganizationSinkBuilder()
Returns
Type Description
LogSinkName.OrganizationSinkBuilder

newProjectSinkBuilder()

public static LogSinkName.Builder newProjectSinkBuilder()
Returns
Type Description
LogSinkName.Builder

of(String project, String sink)

public static LogSinkName of(String project, String sink)
Parameters
Name Description
project String
sink String
Returns
Type Description
LogSinkName

ofBillingAccountSinkName(String billingAccount, String sink)

public static LogSinkName ofBillingAccountSinkName(String billingAccount, String sink)
Parameters
Name Description
billingAccount String
sink String
Returns
Type Description
LogSinkName

ofFolderSinkName(String folder, String sink)

public static LogSinkName ofFolderSinkName(String folder, String sink)
Parameters
Name Description
folder String
sink String
Returns
Type Description
LogSinkName

ofOrganizationSinkName(String organization, String sink)

public static LogSinkName ofOrganizationSinkName(String organization, String sink)
Parameters
Name Description
organization String
sink String
Returns
Type Description
LogSinkName

ofProjectSinkName(String project, String sink)

public static LogSinkName ofProjectSinkName(String project, String sink)
Parameters
Name Description
project String
sink String
Returns
Type Description
LogSinkName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<LogSinkName> values)

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

Constructors

LogSinkName() (deprecated)

protected LogSinkName()

Methods

equals(Object o)

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

getBillingAccount()

public String getBillingAccount()
Returns
Type Description
String

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

getSink()

public String getSink()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
Type Description
String
Overrides