public class SimpleVaultEndpointProvider extends Object implements VaultEndpointProvider
VaultEndpointProvider
returning a static VaultEndpoint
.Modifier and Type | Method and Description |
---|---|
VaultEndpoint |
getVaultEndpoint()
Provides access to
VaultEndpoint . |
static VaultEndpointProvider |
of(VaultEndpoint endpoint)
Creates a new
VaultEndpointProvider given VaultEndpoint . |
public static VaultEndpointProvider of(VaultEndpoint endpoint)
VaultEndpointProvider
given VaultEndpoint
.endpoint
- must not be null.public VaultEndpoint getVaultEndpoint()
VaultEndpointProvider
VaultEndpoint
.getVaultEndpoint
in interface VaultEndpointProvider
VaultEndpoint
.Copyright © 2016–2018 Pivotal Software, Inc.. All rights reserved.