public static class GcpComputeAuthenticationOptions.GcpComputeAuthenticationOptionsBuilder extends Object
GcpComputeAuthenticationOptions
.Modifier and Type | Method and Description |
---|---|
GcpComputeAuthenticationOptions |
build()
Build a new
GcpComputeAuthenticationOptions instance. |
GcpComputeAuthenticationOptions.GcpComputeAuthenticationOptionsBuilder |
path(String path)
Configure the mount path, defaults to aws.
|
GcpComputeAuthenticationOptions.GcpComputeAuthenticationOptionsBuilder |
role(String role)
Configure the name of the role against which the login is being attempted.
|
GcpComputeAuthenticationOptions.GcpComputeAuthenticationOptionsBuilder |
serviceAccount(String serviceAccount)
Configure the service account identifier.
|
public GcpComputeAuthenticationOptions.GcpComputeAuthenticationOptionsBuilder path(String path)
path
- must not be empty or null.this
GcpComputeAuthenticationOptions.GcpComputeAuthenticationOptionsBuilder
.public GcpComputeAuthenticationOptions.GcpComputeAuthenticationOptionsBuilder serviceAccount(String serviceAccount)
default
service
account if left unconfigured.serviceAccount
- must not be empty or null.this
GcpComputeAuthenticationOptions.GcpComputeAuthenticationOptionsBuilder
.public GcpComputeAuthenticationOptions.GcpComputeAuthenticationOptionsBuilder role(String role)
role
- must not be empty or null.this
GcpComputeAuthenticationOptions.GcpComputeAuthenticationOptionsBuilder
.public GcpComputeAuthenticationOptions build()
GcpComputeAuthenticationOptions
instance.GcpComputeAuthenticationOptions
.Copyright © 2016–2019 Pivotal Software, Inc.. All rights reserved.