Class ApiSpecName.Builder (0.39.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
TypeDescription
ApiSpecName

getApi()

public String getApi()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getSpec()

public String getSpec()
Returns
TypeDescription
String

getVersion()

public String getVersion()
Returns
TypeDescription
String

setApi(String api)

public ApiSpecName.Builder setApi(String api)
Parameter
NameDescription
apiString
Returns
TypeDescription
ApiSpecName.Builder

setLocation(String location)

public ApiSpecName.Builder setLocation(String location)
Parameter
NameDescription
locationString
Returns
TypeDescription
ApiSpecName.Builder

setProject(String project)

public ApiSpecName.Builder setProject(String project)
Parameter
NameDescription
projectString
Returns
TypeDescription
ApiSpecName.Builder

setSpec(String spec)

public ApiSpecName.Builder setSpec(String spec)
Parameter
NameDescription
specString
Returns
TypeDescription
ApiSpecName.Builder

setVersion(String version)

public ApiSpecName.Builder setVersion(String version)
Parameter
NameDescription
versionString
Returns
TypeDescription
ApiSpecName.Builder