@ConfigurationProperties(value="spring.cloud.gcp.config") public class GcpConfigProperties extends Object
GoogleConfigPropertySourceLocator
.Modifier and Type | Class and Description |
---|---|
static class |
GcpConfigProperties.Credentials |
Constructor and Description |
---|
GcpConfigProperties() |
Modifier and Type | Method and Description |
---|---|
GcpConfigProperties.Credentials |
getCredentials() |
String |
getName() |
String |
getProfile() |
String |
getProjectId() |
int |
getTimeout() |
boolean |
isEnabled() |
void |
setCredentials(GcpConfigProperties.Credentials credentials) |
void |
setEnabled(boolean enabled) |
void |
setName(String name) |
void |
setProfile(String profile) |
void |
setProjectId(String projectId) |
void |
setTimeout(int timeout) |
public void setEnabled(boolean enabled)
public boolean isEnabled()
public void setName(String name)
public String getName()
public void setProfile(String profile)
public String getProfile()
public void setTimeout(int timeout)
public int getTimeout()
public String getProjectId()
public void setProjectId(String projectId)
public GcpConfigProperties.Credentials getCredentials()
public void setCredentials(GcpConfigProperties.Credentials credentials)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.