Class ComputeInstanceContainer


  • public final class ComputeInstanceContainer
    extends Object
    Defines an Aml Instance container.
    • Constructor Detail

      • ComputeInstanceContainer

        public ComputeInstanceContainer()
    • Method Detail

      • name

        public String name()
        Get the name property: Name of the ComputeInstance container.
        Returns:
        the name value.
      • withName

        public ComputeInstanceContainer withName​(String name)
        Set the name property: Name of the ComputeInstance container.
        Parameters:
        name - the name value to set.
        Returns:
        the ComputeInstanceContainer object itself.
      • autosave

        public Autosave autosave()
        Get the autosave property: Auto save settings.
        Returns:
        the autosave value.
      • withAutosave

        public ComputeInstanceContainer withAutosave​(Autosave autosave)
        Set the autosave property: Auto save settings.
        Parameters:
        autosave - the autosave value to set.
        Returns:
        the ComputeInstanceContainer object itself.
      • gpu

        public String gpu()
        Get the gpu property: Information of GPU.
        Returns:
        the gpu value.
      • withGpu

        public ComputeInstanceContainer withGpu​(String gpu)
        Set the gpu property: Information of GPU.
        Parameters:
        gpu - the gpu value to set.
        Returns:
        the ComputeInstanceContainer object itself.
      • network

        public Network network()
        Get the network property: network of this container.
        Returns:
        the network value.
      • withNetwork

        public ComputeInstanceContainer withNetwork​(Network network)
        Set the network property: network of this container.
        Parameters:
        network - the network value to set.
        Returns:
        the ComputeInstanceContainer object itself.
      • environment

        public ComputeInstanceEnvironmentInfo environment()
        Get the environment property: Environment information of this container.
        Returns:
        the environment value.
      • withEnvironment

        public ComputeInstanceContainer withEnvironment​(ComputeInstanceEnvironmentInfo environment)
        Set the environment property: Environment information of this container.
        Parameters:
        environment - the environment value to set.
        Returns:
        the ComputeInstanceContainer object itself.
      • services

        public List<Object> services()
        Get the services property: services of this containers.
        Returns:
        the services value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.