Class SpecName.Builder (0.5.0)

public static class SpecName.Builder

Builder for projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}.

Inheritance

java.lang.Object > SpecName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public SpecName build()
Returns
Type Description
SpecName

getApi()

public String getApi()
Returns
Type Description
String

getLocation()

public String getLocation()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

getSpec()

public String getSpec()
Returns
Type Description
String

getVersion()

public String getVersion()
Returns
Type Description
String

setApi(String api)

public SpecName.Builder setApi(String api)
Parameter
Name Description
api String
Returns
Type Description
SpecName.Builder

setLocation(String location)

public SpecName.Builder setLocation(String location)
Parameter
Name Description
location String
Returns
Type Description
SpecName.Builder

setProject(String project)

public SpecName.Builder setProject(String project)
Parameter
Name Description
project String
Returns
Type Description
SpecName.Builder

setSpec(String spec)

public SpecName.Builder setSpec(String spec)
Parameter
Name Description
spec String
Returns
Type Description
SpecName.Builder

setVersion(String version)

public SpecName.Builder setVersion(String version)
Parameter
Name Description
version String
Returns
Type Description
SpecName.Builder