Class NpmPackageName.Builder (1.21.0)

public static class NpmPackageName.Builder

Builder for projects/{project}/locations/{location}/repositories/{repository}/npmPackages/{npm_package}.

Inheritance

java.lang.Object > NpmPackageName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public NpmPackageName build()
Returns
TypeDescription
NpmPackageName

getLocation()

public String getLocation()
Returns
TypeDescription
String

getNpmPackage()

public String getNpmPackage()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getRepository()

public String getRepository()
Returns
TypeDescription
String

setLocation(String location)

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

setNpmPackage(String npmPackage)

public NpmPackageName.Builder setNpmPackage(String npmPackage)
Parameter
NameDescription
npmPackageString
Returns
TypeDescription
NpmPackageName.Builder

setProject(String project)

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

setRepository(String repository)

public NpmPackageName.Builder setRepository(String repository)
Parameter
NameDescription
repositoryString
Returns
TypeDescription
NpmPackageName.Builder