Package com.pulumi.aws.cloudfront.inputs
Class DistributionRestrictionsGeoRestrictionArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.cloudfront.inputs.DistributionRestrictionsGeoRestrictionArgs.Builder
-
- Enclosing class:
- DistributionRestrictionsGeoRestrictionArgs
public static final class DistributionRestrictionsGeoRestrictionArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(DistributionRestrictionsGeoRestrictionArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DistributionRestrictionsGeoRestrictionArgsbuild()DistributionRestrictionsGeoRestrictionArgs.Builderlocations(com.pulumi.core.Output<java.util.List<java.lang.String>> locations)DistributionRestrictionsGeoRestrictionArgs.Builderlocations(java.lang.String... locations)DistributionRestrictionsGeoRestrictionArgs.Builderlocations(java.util.List<java.lang.String> locations)DistributionRestrictionsGeoRestrictionArgs.BuilderrestrictionType(com.pulumi.core.Output<java.lang.String> restrictionType)DistributionRestrictionsGeoRestrictionArgs.BuilderrestrictionType(java.lang.String restrictionType)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(DistributionRestrictionsGeoRestrictionArgs defaults)
-
-
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
-
build
public DistributionRestrictionsGeoRestrictionArgs build()
-
-