Class BucketName (2.29.0)

public class BucketName implements ResourceName

Inheritance

Object > BucketName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String bucket)

public static String format(String project, String bucket)
Parameters
NameDescription
projectString
bucketString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String bucket)

public static BucketName of(String project, String bucket)
Parameters
NameDescription
projectString
bucketString
Returns
TypeDescription
BucketName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<BucketName> values)

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

Constructors

BucketName()

protected BucketName()

Methods

equals(Object o)

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

getBucket()

public String getBucket()
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>

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides