public class CredHubProperties
extends java.lang.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.
|
java.lang.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(java.lang.String url)
Set the base URI for the CredHub server (scheme, host, and port).
|
public CredHubProperties()
public java.lang.String getUrl()
public void setUrl(java.lang.String url)
url
- the base URI for the CredHub serverpublic CredHubProperties.OAuth2 getOauth2()
public void setOauth2(CredHubProperties.OAuth2 oauth2)
oauth2
- the OAuth2 properties