Package com.cloudera.cdp.ml.model
Class Workspace
- java.lang.Object
-
- com.cloudera.cdp.ml.model.Workspace
-
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2023-09-27T13:27:52.511-07:00") public class Workspace extends Object
A ML workspace, which includes the cluster and storage.
-
-
Constructor Summary
Constructors Constructor Description Workspace()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
List<String>
getAuthorizedIPRanges()
Getter for authorizedIPRanges.BackupMetadata
getBackupMetadata()
Getter for backupMetadata.String
getCloudPlatform()
Getter for cloudPlatform.String
getClusterBaseDomain()
Getter for clusterBaseDomain.String
getClusterID()
Getter for clusterID.ZonedDateTime
getCreationDate()
Getter for creationDate.String
getCreatorCrn()
Getter for creatorCrn.String
getCrn()
Getter for crn.Boolean
getEndpointPublicAccess()
Getter for endpointPublicAccess.String
getEnvironmentCrn()
Getter for environmentCrn.String
getEnvironmentName()
Getter for environmentName.String
getFailureMessage()
Getter for failureMessage.String
getFilesystemID()
Getter for filesystemID.Boolean
getGovernanceEnabled()
Getter for governanceEnabled.List<HealthInfo>
getHealthInfoLists()
Getter for healthInfoLists.Boolean
getHttpsEnabled()
Getter for httpsEnabled.List<WorkspaceInstanceGroup>
getInstanceGroups()
Getter for instanceGroups.String
getInstanceName()
Getter for instanceName.String
getInstanceStatus()
Getter for instanceStatus.String
getInstanceUrl()
Getter for instanceUrl.Boolean
getIsPrivate()
Getter for isPrivate.Boolean
getIsRestored()
Getter for isRestored.String
getK8sClusterName()
Getter for k8sClusterName.List<String>
getLoadBalancerIPWhitelists()
Getter for loadBalancerIPWhitelists.Boolean
getModelMetricsEnabled()
Getter for modelMetricsEnabled.Boolean
getMonitoringEnabled()
Getter for monitoringEnabled.String
getNfsVersion()
Getter for nfsVersion.List<String>
getSubnets()
Getter for subnets.List<String>
getSubnetsForLoadBalancers()
Getter for subnetsForLoadBalancers.List<Tag>
getTags()
Getter for tags.UpgradeState
getUpgradeState()
Getter for upgradeState.String
getVersion()
Getter for version.Boolean
getWhitelistAuthorizedIPRanges()
Getter for whitelistAuthorizedIPRanges.int
hashCode()
void
setAuthorizedIPRanges(List<String> authorizedIPRanges)
Setter for authorizedIPRanges.void
setBackupMetadata(BackupMetadata backupMetadata)
Setter for backupMetadata.void
setCloudPlatform(String cloudPlatform)
Setter for cloudPlatform.void
setClusterBaseDomain(String clusterBaseDomain)
Setter for clusterBaseDomain.void
setClusterID(String clusterID)
Setter for clusterID.void
setCreationDate(ZonedDateTime creationDate)
Setter for creationDate.void
setCreatorCrn(String creatorCrn)
Setter for creatorCrn.void
setCrn(String crn)
Setter for crn.void
setEndpointPublicAccess(Boolean endpointPublicAccess)
Setter for endpointPublicAccess.void
setEnvironmentCrn(String environmentCrn)
Setter for environmentCrn.void
setEnvironmentName(String environmentName)
Setter for environmentName.void
setFailureMessage(String failureMessage)
Setter for failureMessage.void
setFilesystemID(String filesystemID)
Setter for filesystemID.void
setGovernanceEnabled(Boolean governanceEnabled)
Setter for governanceEnabled.void
setHealthInfoLists(List<HealthInfo> healthInfoLists)
Setter for healthInfoLists.void
setHttpsEnabled(Boolean httpsEnabled)
Setter for httpsEnabled.void
setInstanceGroups(List<WorkspaceInstanceGroup> instanceGroups)
Setter for instanceGroups.void
setInstanceName(String instanceName)
Setter for instanceName.void
setInstanceStatus(String instanceStatus)
Setter for instanceStatus.void
setInstanceUrl(String instanceUrl)
Setter for instanceUrl.void
setIsPrivate(Boolean isPrivate)
Setter for isPrivate.void
setIsRestored(Boolean isRestored)
Setter for isRestored.void
setK8sClusterName(String k8sClusterName)
Setter for k8sClusterName.void
setLoadBalancerIPWhitelists(List<String> loadBalancerIPWhitelists)
Setter for loadBalancerIPWhitelists.void
setModelMetricsEnabled(Boolean modelMetricsEnabled)
Setter for modelMetricsEnabled.void
setMonitoringEnabled(Boolean monitoringEnabled)
Setter for monitoringEnabled.void
setNfsVersion(String nfsVersion)
Setter for nfsVersion.void
setSubnets(List<String> subnets)
Setter for subnets.void
setSubnetsForLoadBalancers(List<String> subnetsForLoadBalancers)
Setter for subnetsForLoadBalancers.void
setTags(List<Tag> tags)
Setter for tags.void
setUpgradeState(UpgradeState upgradeState)
Setter for upgradeState.void
setVersion(String version)
Setter for version.void
setWhitelistAuthorizedIPRanges(Boolean whitelistAuthorizedIPRanges)
Setter for whitelistAuthorizedIPRanges.String
toString()
-
-
-
Method Detail
-
getInstanceName
public String getInstanceName()
Getter for instanceName. The name of the workspace.
-
setInstanceName
public void setInstanceName(String instanceName)
Setter for instanceName. The name of the workspace.
-
getEnvironmentName
public String getEnvironmentName()
Getter for environmentName. The name of the workspace's environment.
-
setEnvironmentName
public void setEnvironmentName(String environmentName)
Setter for environmentName. The name of the workspace's environment.
-
getInstanceStatus
public String getInstanceStatus()
Getter for instanceStatus. The workspace's current status.
-
setInstanceStatus
public void setInstanceStatus(String instanceStatus)
Setter for instanceStatus. The workspace's current status.
-
getInstanceUrl
public String getInstanceUrl()
Getter for instanceUrl. URL of the workspace's user interface.
-
setInstanceUrl
public void setInstanceUrl(String instanceUrl)
Setter for instanceUrl. URL of the workspace's user interface.
-
getEnvironmentCrn
public String getEnvironmentCrn()
Getter for environmentCrn. CRN of the environment.
-
setEnvironmentCrn
public void setEnvironmentCrn(String environmentCrn)
Setter for environmentCrn. CRN of the environment.
-
getCrn
public String getCrn()
Getter for crn. The CRN of the workspace.
-
setCrn
public void setCrn(String crn)
Setter for crn. The CRN of the workspace.
-
getK8sClusterName
public String getK8sClusterName()
Getter for k8sClusterName. The Kubernetes cluster name.
-
setK8sClusterName
public void setK8sClusterName(String k8sClusterName)
Setter for k8sClusterName. The Kubernetes cluster name.
-
getCreatorCrn
public String getCreatorCrn()
Getter for creatorCrn. The CRN of the creator of the workspace.
-
setCreatorCrn
public void setCreatorCrn(String creatorCrn)
Setter for creatorCrn. The CRN of the creator of the workspace.
-
getVersion
public String getVersion()
Getter for version. The version of Cloudera Machine Learning that was installed on the workspace.
-
setVersion
public void setVersion(String version)
Setter for version. The version of Cloudera Machine Learning that was installed on the workspace.
-
getHttpsEnabled
public Boolean getHttpsEnabled()
Getter for httpsEnabled. To Display if Https is enabled or not.
-
setHttpsEnabled
public void setHttpsEnabled(Boolean httpsEnabled)
Setter for httpsEnabled. To Display if Https is enabled or not.
-
getEndpointPublicAccess
public Boolean getEndpointPublicAccess()
Getter for endpointPublicAccess. To check if the cluster is publicly accessible or not.
-
setEndpointPublicAccess
public void setEndpointPublicAccess(Boolean endpointPublicAccess)
Setter for endpointPublicAccess. To check if the cluster is publicly accessible or not.
-
getFilesystemID
public String getFilesystemID()
Getter for filesystemID. filesystemID used by the workspace
-
setFilesystemID
public void setFilesystemID(String filesystemID)
Setter for filesystemID. filesystemID used by the workspace
-
getTags
public List<Tag> getTags()
Getter for tags. Tags provided by the user at the time of workspace creation.
-
setTags
public void setTags(List<Tag> tags)
Setter for tags. Tags provided by the user at the time of workspace creation.
-
getInstanceGroups
public List<WorkspaceInstanceGroup> getInstanceGroups()
Getter for instanceGroups. The instance groups.
-
setInstanceGroups
public void setInstanceGroups(List<WorkspaceInstanceGroup> instanceGroups)
Setter for instanceGroups. The instance groups.
-
getCloudPlatform
public String getCloudPlatform()
Getter for cloudPlatform. The cloud platform of the environment that was used to create this workspace.
-
setCloudPlatform
public void setCloudPlatform(String cloudPlatform)
Setter for cloudPlatform. The cloud platform of the environment that was used to create this workspace.
-
getMonitoringEnabled
public Boolean getMonitoringEnabled()
Getter for monitoringEnabled. If usage monitoring is enabled or not on this workspace.
-
setMonitoringEnabled
public void setMonitoringEnabled(Boolean monitoringEnabled)
Setter for monitoringEnabled. If usage monitoring is enabled or not on this workspace.
-
getLoadBalancerIPWhitelists
public List<String> getLoadBalancerIPWhitelists()
Getter for loadBalancerIPWhitelists. IP whitelist for loadBalancer.
-
setLoadBalancerIPWhitelists
public void setLoadBalancerIPWhitelists(List<String> loadBalancerIPWhitelists)
Setter for loadBalancerIPWhitelists. IP whitelist for loadBalancer.
-
getCreationDate
public ZonedDateTime getCreationDate()
Getter for creationDate. Creation date of workspace.
-
setCreationDate
public void setCreationDate(ZonedDateTime creationDate)
Setter for creationDate. Creation date of workspace.
-
getHealthInfoLists
public List<HealthInfo> getHealthInfoLists()
Getter for healthInfoLists. The health info information of the workspace.
-
setHealthInfoLists
public void setHealthInfoLists(List<HealthInfo> healthInfoLists)
Setter for healthInfoLists. The health info information of the workspace.
-
getFailureMessage
public String getFailureMessage()
Getter for failureMessage. Failure message from the most recent failure that has occurred during workspace provisioning.
-
setFailureMessage
public void setFailureMessage(String failureMessage)
Setter for failureMessage. Failure message from the most recent failure that has occurred during workspace provisioning.
-
getClusterBaseDomain
public String getClusterBaseDomain()
Getter for clusterBaseDomain. The basedomain of the cluster.
-
setClusterBaseDomain
public void setClusterBaseDomain(String clusterBaseDomain)
Setter for clusterBaseDomain. The basedomain of the cluster.
-
getModelMetricsEnabled
public Boolean getModelMetricsEnabled()
Getter for modelMetricsEnabled. Whether model metrics is enabled.
-
setModelMetricsEnabled
public void setModelMetricsEnabled(Boolean modelMetricsEnabled)
Setter for modelMetricsEnabled. Whether model metrics is enabled.
-
getGovernanceEnabled
public Boolean getGovernanceEnabled()
Getter for governanceEnabled. Whether governance is enabled.
-
setGovernanceEnabled
public void setGovernanceEnabled(Boolean governanceEnabled)
Setter for governanceEnabled. Whether governance is enabled.
-
setSubnets
public void setSubnets(List<String> subnets)
Setter for subnets. The subnets of the workspace.
-
getWhitelistAuthorizedIPRanges
public Boolean getWhitelistAuthorizedIPRanges()
Getter for whitelistAuthorizedIPRanges. Whether to whitelist only 'authorizedIPRanges' given or all public IPs.
-
setWhitelistAuthorizedIPRanges
public void setWhitelistAuthorizedIPRanges(Boolean whitelistAuthorizedIPRanges)
Setter for whitelistAuthorizedIPRanges. Whether to whitelist only 'authorizedIPRanges' given or all public IPs.
-
getAuthorizedIPRanges
public List<String> getAuthorizedIPRanges()
Getter for authorizedIPRanges. The whitelist of CIDR blocks which can access the API server.
-
setAuthorizedIPRanges
public void setAuthorizedIPRanges(List<String> authorizedIPRanges)
Setter for authorizedIPRanges. The whitelist of CIDR blocks which can access the API server.
-
getNfsVersion
public String getNfsVersion()
Getter for nfsVersion. NFS Version of the filesystem.
-
setNfsVersion
public void setNfsVersion(String nfsVersion)
Setter for nfsVersion. NFS Version of the filesystem.
-
getSubnetsForLoadBalancers
public List<String> getSubnetsForLoadBalancers()
Getter for subnetsForLoadBalancers. The list of subnets used for the load balancer that CML creates.
-
setSubnetsForLoadBalancers
public void setSubnetsForLoadBalancers(List<String> subnetsForLoadBalancers)
Setter for subnetsForLoadBalancers. The list of subnets used for the load balancer that CML creates.
-
getUpgradeState
public UpgradeState getUpgradeState()
Getter for upgradeState. The upgrade state contains the workspace upgrade information.
-
setUpgradeState
public void setUpgradeState(UpgradeState upgradeState)
Setter for upgradeState. The upgrade state contains the workspace upgrade information.
-
getBackupMetadata
public BackupMetadata getBackupMetadata()
Getter for backupMetadata. The Backup MetaData for this Workspace
-
setBackupMetadata
public void setBackupMetadata(BackupMetadata backupMetadata)
Setter for backupMetadata. The Backup MetaData for this Workspace
-
getClusterID
public String getClusterID()
Getter for clusterID. The Cluster ID for the workspace.
-
setClusterID
public void setClusterID(String clusterID)
Setter for clusterID. The Cluster ID for the workspace.
-
getIsPrivate
public Boolean getIsPrivate()
Getter for isPrivate. The value to indicate if the cluster is private or not.
-
setIsPrivate
public void setIsPrivate(Boolean isPrivate)
Setter for isPrivate. The value to indicate if the cluster is private or not.
-
getIsRestored
public Boolean getIsRestored()
Getter for isRestored. The value to indicate if the workspace is restored one or not
-
setIsRestored
public void setIsRestored(Boolean isRestored)
Setter for isRestored. The value to indicate if the workspace is restored one or not
-
-