public class Infrastructure extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
Infrastructure.ClusterType
Defines the cluster types.
|
static class |
Infrastructure.InstanceType
Defines the instance types.
|
static class |
Infrastructure.ProviderType
Defines the infrastructure provider types.
|
| Constructor and Description |
|---|
Infrastructure() |
| Modifier and Type | Method and Description |
|---|---|
Infrastructure.ClusterType |
getClusterType()
Returns the cluster type of the infrastructure.
|
String |
getImageId()
Returns the image id of the infrastructure.
|
Map<String,Object> |
getInfraParams()
Returns the infrastructure combination.
|
Infrastructure.InstanceType |
getInstanceType()
Returns the instance type of the infrastructure.
|
String |
getName()
Returns the name of the infrastructure.
|
Infrastructure.ProviderType |
getProviderType()
Returns the provider type of the infrastructure.
|
String |
getRegion()
Returns the region for the infrastructure.
|
List<Script> |
getScripts()
Returns the infrastructure scripts.
|
Map<String,String> |
getSecurityProperties()
Returns the security properties associated with the infrastructure.
|
void |
setClusterType(Infrastructure.ClusterType clusterType)
Sets the cluster type of the infrastructure.
|
void |
setImageId(String imageId)
Sets the image id of the infrastructure.
|
void |
setInfraParams(Map<String,Object> infraParams)
Sets the infrastructure combination.
|
void |
setInstanceType(Infrastructure.InstanceType instanceType)
Sets the instance type of the infrastructure.
|
void |
setName(String name)
Sets the name of the infrastructure.
|
void |
setProviderType(Infrastructure.ProviderType providerType)
Sets the provider type of the infrastructure.
|
void |
setRegion(String region)
Sets the region for the infrastructure.
|
void |
setScripts(List<Script> scripts)
Sets the infrastructure scripts.
|
void |
setSecurityProperties(Map<String,String> securityProperties)
Sets the security properties associated with the infrastructure.
|
public String getName()
public void setName(String name)
name - infrastructure namepublic Infrastructure.ProviderType getProviderType()
public void setProviderType(Infrastructure.ProviderType providerType)
providerType - infrastructure provider typepublic Infrastructure.InstanceType getInstanceType()
public void setInstanceType(Infrastructure.InstanceType instanceType)
instanceType - instance type of the infrastructurepublic Infrastructure.ClusterType getClusterType()
public void setClusterType(Infrastructure.ClusterType clusterType)
clusterType - cluster type of the infrastructurepublic Map<String,Object> getInfraParams()
public void setInfraParams(Map<String,Object> infraParams)
infraParams - infrastructure combinationpublic Map<String,String> getSecurityProperties()
public void setSecurityProperties(Map<String,String> securityProperties)
securityProperties - security properties associated with the infrastructurepublic List<Script> getScripts()
public void setScripts(List<Script> scripts)
scripts - infrastructure scriptspublic String getRegion()
public void setRegion(String region)
region - region for the infrastructurepublic String getImageId()
public void setImageId(String imageId)
imageId - image id of the infrastructureCopyright © 2018 WSO2. All rights reserved.