Class InstancePoolInstance.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • instancePoolId

        public InstancePoolInstance.Builder instancePoolId​(String instancePoolId)
        The OCID of the instance pool.
        Parameters:
        instancePoolId - the value to set
        Returns:
        this builder
      • availabilityDomain

        public InstancePoolInstance.Builder availabilityDomain​(String availabilityDomain)
        The availability domain the instance is running in.
        Parameters:
        availabilityDomain - the value to set
        Returns:
        this builder
      • compartmentId

        public InstancePoolInstance.Builder compartmentId​(String compartmentId)
        The OCID of the compartment that contains the instance.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • displayName

        public InstancePoolInstance.Builder displayName​(String displayName)
        A user-friendly name.

        Does not have to be unique, and it’s changeable. Avoid entering confidential information.

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • faultDomain

        public InstancePoolInstance.Builder faultDomain​(String faultDomain)
        The fault domain the instance is running in.
        Parameters:
        faultDomain - the value to set
        Returns:
        this builder
      • instanceConfigurationId

        public InstancePoolInstance.Builder instanceConfigurationId​(String instanceConfigurationId)
        The OCID of the instance configuration used to create the instance.
        Parameters:
        instanceConfigurationId - the value to set
        Returns:
        this builder
      • region

        public InstancePoolInstance.Builder region​(String region)
        The region that contains the availability domain the instance is running in.
        Parameters:
        region - the value to set
        Returns:
        this builder
      • shape

        public InstancePoolInstance.Builder shape​(String shape)
        The shape of the instance.

        The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.

        Parameters:
        shape - the value to set
        Returns:
        this builder
      • state

        public InstancePoolInstance.Builder state​(String state)
        The lifecycle state of the instance.

        Refer to lifecycleState in the Instance resource.

        Parameters:
        state - the value to set
        Returns:
        this builder
      • timeCreated

        public InstancePoolInstance.Builder timeCreated​(Date timeCreated)
        The date and time the instance pool instance was created, in the format defined by RFC3339.

        Example: 2016-08-25T21:10:29.600Z

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder