public final class CloudFoundryOperationsBuilder extends Object
CloudFoundryOperations| Constructor and Description |
|---|
CloudFoundryOperationsBuilder() |
| Modifier and Type | Method and Description |
|---|---|
CloudFoundryOperations |
build()
Builds a new instance of the default implementation of the
CloudFoundryOperations using the information provided. |
CloudFoundryOperationsBuilder |
cloudFoundryClient(CloudFoundryClient cloudFoundryClient)
Configure the
CloudFoundryClient to use |
CloudFoundryOperationsBuilder |
loggingClient(LoggingClient loggingClient)
Configure the
LoggingClient to use |
CloudFoundryOperationsBuilder |
target(String organization)
Configure the organization to target
|
CloudFoundryOperationsBuilder |
target(String organization,
String space)
Configure the organization and space to target
|
CloudFoundryOperationsBuilder |
uaaClient(UaaClient uaaClient)
Configure the
UaaClient to use |
public CloudFoundryOperations build()
CloudFoundryOperations using the information provided.CloudFoundryOperationsIllegalArgumentException - if cloudFoundryClient has not been setpublic CloudFoundryOperationsBuilder cloudFoundryClient(CloudFoundryClient cloudFoundryClient)
CloudFoundryClient to usecloudFoundryClient - the CloudFoundryClient to usethispublic CloudFoundryOperationsBuilder loggingClient(LoggingClient loggingClient)
LoggingClient to useloggingClient - the LoggingClient to usethispublic CloudFoundryOperationsBuilder target(String organization, String space)
organization - the organization to targetspace - the space to targetthispublic CloudFoundryOperationsBuilder target(String organization)
organization - the organization to targetthispublic CloudFoundryOperationsBuilder uaaClient(UaaClient uaaClient)
UaaClient to useuaaClient - the UaaClient to usethisCopyright © 2016 Pivotal Software, Inc.. All rights reserved.