Class ZoneArgs.Builder

  • Enclosing class:
    ZoneArgs

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

      • Builder

        public Builder()
      • Builder

        public Builder​(ZoneArgs defaults)
    • Method Detail

      • comment

        public ZoneArgs.Builder comment​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> comment)
        Parameters:
        comment - A comment for the hosted zone. Defaults to 'Managed by Pulumi'.
        Returns:
        builder
      • comment

        public ZoneArgs.Builder comment​(java.lang.String comment)
        Parameters:
        comment - A comment for the hosted zone. Defaults to 'Managed by Pulumi'.
        Returns:
        builder
      • delegationSetId

        public ZoneArgs.Builder delegationSetId​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> delegationSetId)
        Parameters:
        delegationSetId - The ID of the reusable delegation set whose NS records you want to assign to the hosted zone. Conflicts with `vpc` as delegation sets can only be used for public zones.
        Returns:
        builder
      • delegationSetId

        public ZoneArgs.Builder delegationSetId​(java.lang.String delegationSetId)
        Parameters:
        delegationSetId - The ID of the reusable delegation set whose NS records you want to assign to the hosted zone. Conflicts with `vpc` as delegation sets can only be used for public zones.
        Returns:
        builder
      • forceDestroy

        public ZoneArgs.Builder forceDestroy​(@Nullable
                                             com.pulumi.core.Output<java.lang.Boolean> forceDestroy)
        Parameters:
        forceDestroy - Whether to destroy all records (possibly managed outside of this provider) in the zone when destroying the zone.
        Returns:
        builder
      • forceDestroy

        public ZoneArgs.Builder forceDestroy​(java.lang.Boolean forceDestroy)
        Parameters:
        forceDestroy - Whether to destroy all records (possibly managed outside of this provider) in the zone when destroying the zone.
        Returns:
        builder
      • name

        public ZoneArgs.Builder name​(@Nullable
                                     com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - This is the name of the hosted zone.
        Returns:
        builder
      • name

        public ZoneArgs.Builder name​(java.lang.String name)
        Parameters:
        name - This is the name of the hosted zone.
        Returns:
        builder
      • tags

        public ZoneArgs.Builder tags​(@Nullable
                                     com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - A mapping of tags to assign to the zone. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public ZoneArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A mapping of tags to assign to the zone. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • vpcs

        public ZoneArgs.Builder vpcs​(@Nullable
                                     com.pulumi.core.Output<java.util.List<ZoneVpcArgs>> vpcs)
        Parameters:
        vpcs - Configuration block(s) specifying VPC(s) to associate with a private hosted zone. Conflicts with the `delegation_set_id` argument in this resource and any `aws.route53.ZoneAssociation` resource specifying the same zone ID. Detailed below.
        Returns:
        builder
      • vpcs

        public ZoneArgs.Builder vpcs​(java.util.List<ZoneVpcArgs> vpcs)
        Parameters:
        vpcs - Configuration block(s) specifying VPC(s) to associate with a private hosted zone. Conflicts with the `delegation_set_id` argument in this resource and any `aws.route53.ZoneAssociation` resource specifying the same zone ID. Detailed below.
        Returns:
        builder
      • vpcs

        public ZoneArgs.Builder vpcs​(ZoneVpcArgs... vpcs)
        Parameters:
        vpcs - Configuration block(s) specifying VPC(s) to associate with a private hosted zone. Conflicts with the `delegation_set_id` argument in this resource and any `aws.route53.ZoneAssociation` resource specifying the same zone ID. Detailed below.
        Returns:
        builder