Package com.yahoo.config.provision
Class Cloud
- java.lang.Object
-
- com.yahoo.config.provision.Cloud
-
public class Cloud extends java.lang.Object
Represents a cloud service and its supported features.- Author:
- mpolden
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Cloud.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
allowHostSharing()
Returns whether this allows different applications to share the same hoststatic Cloud.Builder
builder()
static Cloud
defaultCloud()
For testing purposes onlyboolean
dynamicProvisioning()
Returns whether this can provision hosts dynamicallyCloudName
name()
The name of thisboolean
reprovisionToUpgradeOs()
Returns whether upgrading OS on hosts in this requires the host to be reprovisionedboolean
requireAccessControl()
Returns whether to require access control for all clusters in thisjava.lang.String
toString()
-
-
-
Method Detail
-
name
public CloudName name()
The name of this
-
dynamicProvisioning
public boolean dynamicProvisioning()
Returns whether this can provision hosts dynamically
-
allowHostSharing
public boolean allowHostSharing()
Returns whether this allows different applications to share the same host
-
reprovisionToUpgradeOs
public boolean reprovisionToUpgradeOs()
Returns whether upgrading OS on hosts in this requires the host to be reprovisioned
-
requireAccessControl
public boolean requireAccessControl()
Returns whether to require access control for all clusters in this
-
defaultCloud
public static Cloud defaultCloud()
For testing purposes only
-
builder
public static Cloud.Builder builder()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-