Class DockerImageName.Builder (1.16.0)

public static class DockerImageName.Builder

Builder for projects/{project}/locations/{location}/repositories/{repository}/dockerImages/{docker_image}.

Inheritance

java.lang.Object > DockerImageName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public DockerImageName build()
Returns
TypeDescription
DockerImageName

getDockerImage()

public String getDockerImage()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getRepository()

public String getRepository()
Returns
TypeDescription
String

setDockerImage(String dockerImage)

public DockerImageName.Builder setDockerImage(String dockerImage)
Parameter
NameDescription
dockerImageString
Returns
TypeDescription
DockerImageName.Builder

setLocation(String location)

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

setProject(String project)

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

setRepository(String repository)

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