Class SecretName.ProjectLocationSecretBuilder (2.41.0)

public static class SecretName.ProjectLocationSecretBuilder

Builder for projects/{project}/locations/{location}/secrets/{secret}.

Inheritance

java.lang.Object > SecretName.ProjectLocationSecretBuilder

Constructors

ProjectLocationSecretBuilder()

protected ProjectLocationSecretBuilder()

Methods

build()

public SecretName build()
Returns
TypeDescription
SecretName

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getSecret()

public String getSecret()
Returns
TypeDescription
String

setLocation(String location)

public SecretName.ProjectLocationSecretBuilder setLocation(String location)
Parameter
NameDescription
locationString
Returns
TypeDescription
SecretName.ProjectLocationSecretBuilder

setProject(String project)

public SecretName.ProjectLocationSecretBuilder setProject(String project)
Parameter
NameDescription
projectString
Returns
TypeDescription
SecretName.ProjectLocationSecretBuilder

setSecret(String secret)

public SecretName.ProjectLocationSecretBuilder setSecret(String secret)
Parameter
NameDescription
secretString
Returns
TypeDescription
SecretName.ProjectLocationSecretBuilder