Class CreateVirtualNodePoolDetails


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20180222")
    public final class CreateVirtualNodePoolDetails
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    The properties that define a request to create a virtual node pool.
    Note: Objects should always be created or deserialized using the CreateVirtualNodePoolDetails.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the CreateVirtualNodePoolDetails.Builder, which maintain a set of all explicitly set fields called CreateVirtualNodePoolDetails.Builder.__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
    • Method Detail

      • getCompartmentId

        public String getCompartmentId()
        Compartment of the virtual node pool.
        Returns:
        the value
      • getClusterId

        public String getClusterId()
        The cluster the virtual node pool is associated with.

        A virtual node pool can only be associated with one cluster.

        Returns:
        the value
      • getDisplayName

        public String getDisplayName()
        Display name of the virtual node pool.

        This is a non-unique value.

        Returns:
        the value
      • getInitialVirtualNodeLabels

        public List<InitialVirtualNodeLabel> getInitialVirtualNodeLabels()
        Initial labels that will be added to the Kubernetes Virtual Node object when it registers.
        Returns:
        the value
      • getTaints

        public List<Taint> getTaints()
        A taint is a collection of <key, value, effect>.

        These taints will be applied to the Virtual Nodes of this Virtual Node Pool for Kubernetes scheduling.

        Returns:
        the value
      • getSize

        public Integer getSize()
        The number of Virtual Nodes that should be in the Virtual Node Pool.

        The placement configurations determine where these virtual nodes are placed.

        Returns:
        the value
      • getPlacementConfigurations

        public List<PlacementConfiguration> getPlacementConfigurations()
        The list of placement configurations which determines where Virtual Nodes will be provisioned across as it relates to the subnet and availability domains.

        The size attribute determines how many we evenly spread across these placement configurations

        Returns:
        the value
      • getNsgIds

        public List<String> getNsgIds()
        List of network security group id’s applied to the Virtual Node VNIC.
        Returns:
        the value
      • getPodConfiguration

        public PodConfiguration getPodConfiguration()
        The pod configuration for pods run on virtual nodes of this virtual node pool.
        Returns:
        the value
      • getFreeformTags

        public Map<String,​String> getFreeformTags()
        Free-form tags for this resource.

        Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}

        Returns:
        the value
      • getDefinedTags

        public Map<String,​Map<String,​Object>> getDefinedTags()
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel