Class ServiceAccountName.Builder (2.28.0)

public static class ServiceAccountName.Builder

Builder for projects/{project}/serviceAccounts/{service_account}.

Inheritance

java.lang.Object > ServiceAccountName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public ServiceAccountName build()
Returns
TypeDescription
ServiceAccountName

getProject()

public String getProject()
Returns
TypeDescription
String

getServiceAccount()

public String getServiceAccount()
Returns
TypeDescription
String

setProject(String project)

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

setServiceAccount(String serviceAccount)

public ServiceAccountName.Builder setServiceAccount(String serviceAccount)
Parameter
NameDescription
serviceAccountString
Returns
TypeDescription
ServiceAccountName.Builder