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 |
dopplerClient(DopplerClient dopplerClient)
Configure the
DopplerClient 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.CloudFoundryOperations
IllegalArgumentException
- if cloudFoundryClient
has not been setpublic CloudFoundryOperationsBuilder cloudFoundryClient(CloudFoundryClient cloudFoundryClient)
CloudFoundryClient
to usecloudFoundryClient
- the CloudFoundryClient
to usethis
public CloudFoundryOperationsBuilder dopplerClient(DopplerClient dopplerClient)
DopplerClient
to usedopplerClient
- the DopplerClient
to usethis
public CloudFoundryOperationsBuilder target(String organization, String space)
organization
- the organization to targetspace
- the space to targetthis
public CloudFoundryOperationsBuilder target(String organization)
organization
- the organization to targetthis
public CloudFoundryOperationsBuilder uaaClient(UaaClient uaaClient)
UaaClient
to useuaaClient
- the UaaClient
to usethis
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.