Class DistributionRestrictionsGeoRestrictionArgs.Builder

    • Method Detail

      • locations

        public DistributionRestrictionsGeoRestrictionArgs.Builder locations​(@Nullable
                                                                            com.pulumi.core.Output<java.util.List<java.lang.String>> locations)
        Parameters:
        locations - [ISO 3166-1-alpha-2 codes](http://www.iso.org/iso/country_codes/iso_3166_code_lists/country_names_and_code_elements.htm) for which you want CloudFront either to distribute your content (`whitelist`) or not distribute your content (`blacklist`). If the type is specified as `none` an empty array can be used.
        Returns:
        builder
      • locations

        public DistributionRestrictionsGeoRestrictionArgs.Builder locations​(java.util.List<java.lang.String> locations)
        Parameters:
        locations - [ISO 3166-1-alpha-2 codes](http://www.iso.org/iso/country_codes/iso_3166_code_lists/country_names_and_code_elements.htm) for which you want CloudFront either to distribute your content (`whitelist`) or not distribute your content (`blacklist`). If the type is specified as `none` an empty array can be used.
        Returns:
        builder
      • locations

        public DistributionRestrictionsGeoRestrictionArgs.Builder locations​(java.lang.String... locations)
        Parameters:
        locations - [ISO 3166-1-alpha-2 codes](http://www.iso.org/iso/country_codes/iso_3166_code_lists/country_names_and_code_elements.htm) for which you want CloudFront either to distribute your content (`whitelist`) or not distribute your content (`blacklist`). If the type is specified as `none` an empty array can be used.
        Returns:
        builder
      • restrictionType

        public DistributionRestrictionsGeoRestrictionArgs.Builder restrictionType​(com.pulumi.core.Output<java.lang.String> restrictionType)
        Parameters:
        restrictionType - Method that you want to use to restrict distribution of your content by country: `none`, `whitelist`, or `blacklist`.
        Returns:
        builder
      • restrictionType

        public DistributionRestrictionsGeoRestrictionArgs.Builder restrictionType​(java.lang.String restrictionType)
        Parameters:
        restrictionType - Method that you want to use to restrict distribution of your content by country: `none`, `whitelist`, or `blacklist`.
        Returns:
        builder