Class InstanceSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • availabilityDomain

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

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

        public InstanceSummary.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 InstanceSummary.Builder faultDomain​(String faultDomain)
        The fault domain the instance is running in.
        Parameters:
        faultDomain - the value to set
        Returns:
        this builder
      • instanceConfigurationId

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

        public InstanceSummary.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 InstanceSummary.Builder shape​(String shape)
        The shape of an instance.

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

        You can enumerate all available shapes by calling listShapes.

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

        public InstanceSummary.Builder state​(String state)
        The current state of the instance pool instance.
        Parameters:
        state - the value to set
        Returns:
        this builder
      • timeCreated

        public InstanceSummary.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