Class GetImagePlainArgs.Builder

  • Enclosing class:
    GetImagePlainArgs

    public static final class GetImagePlainArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • family

        public GetImagePlainArgs.Builder family​(@Nullable
                                                java.lang.String family)
        Parameters:
        family - The family name of the image.
        Returns:
        builder
      • mostRecent

        public GetImagePlainArgs.Builder mostRecent​(@Nullable
                                                    java.lang.Boolean mostRecent)
        Parameters:
        mostRecent - A boolean to indicate either to take to most recent image if your filter returns more than one image.
        Returns:
        builder
      • name

        public GetImagePlainArgs.Builder name​(@Nullable
                                              java.lang.String name)
        Parameters:
        name - , `family` or `filter` - (Required) The name of a specific image or a family. Exactly one of `name`, `family` or `filter` must be specified. If `name` is specified, it will fetch the corresponding image. If `family` is specified, it will return the latest image that is part of an image family and is not deprecated. If you specify `filter`, your filter must return exactly one image unless you use `most_recent`. Filter syntax can be found [here](https://cloud.google.com/compute/docs/reference/rest/v1/images/list) in the filter section. ***
        Returns:
        builder
      • project

        public GetImagePlainArgs.Builder project​(@Nullable
                                                 java.lang.String project)
        Parameters:
        project - The project in which the resource belongs. If it is not provided, the provider project is used. If you are using a [public base image][pubimg], be sure to specify the correct Image Project.
        Returns:
        builder