public static class AzureMsiAuthenticationOptions.AzureMsiAuthenticationOptionsBuilder extends Object
AzureMsiAuthenticationOptions
.Modifier and Type | Method and Description |
---|---|
AzureMsiAuthenticationOptions |
build()
Build a new
AzureMsiAuthenticationOptions instance. |
AzureMsiAuthenticationOptions.AzureMsiAuthenticationOptionsBuilder |
identityTokenServiceUri(URI identityTokenServiceUri)
Configure the managed identity service token
URI . |
AzureMsiAuthenticationOptions.AzureMsiAuthenticationOptionsBuilder |
instanceMetadataUri(URI instanceMetadataServiceUri)
Configure the instance metadata
URI . |
AzureMsiAuthenticationOptions.AzureMsiAuthenticationOptionsBuilder |
path(String path)
Configure the mount path, defaults to azure.
|
AzureMsiAuthenticationOptions.AzureMsiAuthenticationOptionsBuilder |
role(String role)
Configure the name of the role against which the login is being attempted.
|
AzureMsiAuthenticationOptions.AzureMsiAuthenticationOptionsBuilder |
vmEnvironment(AzureVmEnvironment vmEnvironment)
Configure a VM environment (subscriptionId, resource group name, VM name).
|
public AzureMsiAuthenticationOptions.AzureMsiAuthenticationOptionsBuilder path(String path)
path
- must not be empty or null.this
AzureMsiAuthenticationOptions.AzureMsiAuthenticationOptionsBuilder
.public AzureMsiAuthenticationOptions.AzureMsiAuthenticationOptionsBuilder role(String role)
role
- must not be empty or null.this
AzureMsiAuthenticationOptions.AzureMsiAuthenticationOptionsBuilder
.public AzureMsiAuthenticationOptions.AzureMsiAuthenticationOptionsBuilder vmEnvironment(AzureVmEnvironment vmEnvironment)
AzureMsiAuthentication
looks up the details from the instance metadata
service.vmEnvironment
- must not be null.this
AzureMsiAuthenticationOptions.AzureMsiAuthenticationOptionsBuilder
.public AzureMsiAuthenticationOptions.AzureMsiAuthenticationOptionsBuilder instanceMetadataUri(URI instanceMetadataServiceUri)
URI
.instanceMetadataServiceUri
- must not be null.this
AzureMsiAuthenticationOptions.AzureMsiAuthenticationOptionsBuilder
.AzureMsiAuthenticationOptions.DEFAULT_IDENTITY_TOKEN_SERVICE_URI
public AzureMsiAuthenticationOptions.AzureMsiAuthenticationOptionsBuilder identityTokenServiceUri(URI identityTokenServiceUri)
URI
.identityTokenServiceUri
- must not be null.this
AzureMsiAuthenticationOptions.AzureMsiAuthenticationOptionsBuilder
.AzureMsiAuthenticationOptions.DEFAULT_IDENTITY_TOKEN_SERVICE_URI
public AzureMsiAuthenticationOptions build()
AzureMsiAuthenticationOptions
instance.AzureMsiAuthenticationOptions
.Copyright © 2016–2021 Pivotal Software, Inc.. All rights reserved.