Class PodShape.Builder

  • Enclosing class:
    PodShape

    public static class PodShape.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • name

        public PodShape.Builder name​(String name)
        The name of the identifying shape.
        Parameters:
        name - the value to set
        Returns:
        this builder
      • processorDescription

        public PodShape.Builder processorDescription​(String processorDescription)
        A short description of the VM’s processor (CPU).
        Parameters:
        processorDescription - the value to set
        Returns:
        this builder
      • ocpuOptions

        public PodShape.Builder ocpuOptions​(List<ShapeOcpuOptions> ocpuOptions)
        Options for OCPU shape.
        Parameters:
        ocpuOptions - the value to set
        Returns:
        this builder
      • networkBandwidthOptions

        public PodShape.Builder networkBandwidthOptions​(List<ShapeNetworkBandwidthOptions> networkBandwidthOptions)
        ShapeNetworkBandwidthOptions.
        Parameters:
        networkBandwidthOptions - the value to set
        Returns:
        this builder