Class ApiSpecName.Builder (0.41.0)

public static class ApiSpecName.Builder

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

Inheritance

java.lang.Object > ApiSpecName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public ApiSpecName build()
Returns
Type Description
ApiSpecName

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 ApiSpecName.Builder setApi(String api)
Parameter
Name Description
api String
Returns
Type Description
ApiSpecName.Builder

setLocation(String location)

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

setProject(String project)

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

setSpec(String spec)

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

setVersion(String version)

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