public class CredHubProperties extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CredHubProperties.OAuth2
Properties containing OAuth2 credentials for CredHub connectivity.
|
| Constructor and Description |
|---|
CredHubProperties()
Create a new instance without initializing properties.
|
| Modifier and Type | Method and Description |
|---|---|
CredHubProperties.OAuth2 |
getOauth2()
Get the OAuth2 properties.
|
String |
getUrl()
Get the base URI for the CredHub server (scheme, host, and port).
|
void |
setOauth2(CredHubProperties.OAuth2 oauth2)
Set the OAuth2 properties.
|
void |
setUrl(String url)
Set the base URI for the CredHub server (scheme, host, and port).
|
public CredHubProperties()
public String getUrl()
public void setUrl(String url)
url - the base URI for the CredHub serverpublic CredHubProperties.OAuth2 getOauth2()
public void setOauth2(CredHubProperties.OAuth2 oauth2)
oauth2 - the OAuth2 properties