// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.shield;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;


public final class ProtectionHealthCheckAssociationArgs extends com.pulumi.resources.ResourceArgs {

    public static final ProtectionHealthCheckAssociationArgs Empty = new ProtectionHealthCheckAssociationArgs();

    /**
     * The ARN (Amazon Resource Name) of the Route53 Health Check resource which will be associated to the protected resource.
     * 
     */
    @Import(name="healthCheckArn", required=true)
    private Output<String> healthCheckArn;

    /**
     * @return The ARN (Amazon Resource Name) of the Route53 Health Check resource which will be associated to the protected resource.
     * 
     */
    public Output<String> healthCheckArn() {
        return this.healthCheckArn;
    }

    /**
     * The ID of the protected resource.
     * 
     */
    @Import(name="shieldProtectionId", required=true)
    private Output<String> shieldProtectionId;

    /**
     * @return The ID of the protected resource.
     * 
     */
    public Output<String> shieldProtectionId() {
        return this.shieldProtectionId;
    }

    private ProtectionHealthCheckAssociationArgs() {}

    private ProtectionHealthCheckAssociationArgs(ProtectionHealthCheckAssociationArgs $) {
        this.healthCheckArn = $.healthCheckArn;
        this.shieldProtectionId = $.shieldProtectionId;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(ProtectionHealthCheckAssociationArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private ProtectionHealthCheckAssociationArgs $;

        public Builder() {
            $ = new ProtectionHealthCheckAssociationArgs();
        }

        public Builder(ProtectionHealthCheckAssociationArgs defaults) {
            $ = new ProtectionHealthCheckAssociationArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param healthCheckArn The ARN (Amazon Resource Name) of the Route53 Health Check resource which will be associated to the protected resource.
         * 
         * @return builder
         * 
         */
        public Builder healthCheckArn(Output<String> healthCheckArn) {
            $.healthCheckArn = healthCheckArn;
            return this;
        }

        /**
         * @param healthCheckArn The ARN (Amazon Resource Name) of the Route53 Health Check resource which will be associated to the protected resource.
         * 
         * @return builder
         * 
         */
        public Builder healthCheckArn(String healthCheckArn) {
            return healthCheckArn(Output.of(healthCheckArn));
        }

        /**
         * @param shieldProtectionId The ID of the protected resource.
         * 
         * @return builder
         * 
         */
        public Builder shieldProtectionId(Output<String> shieldProtectionId) {
            $.shieldProtectionId = shieldProtectionId;
            return this;
        }

        /**
         * @param shieldProtectionId The ID of the protected resource.
         * 
         * @return builder
         * 
         */
        public Builder shieldProtectionId(String shieldProtectionId) {
            return shieldProtectionId(Output.of(shieldProtectionId));
        }

        public ProtectionHealthCheckAssociationArgs build() {
            $.healthCheckArn = Objects.requireNonNull($.healthCheckArn, "expected parameter 'healthCheckArn' to be non-null");
            $.shieldProtectionId = Objects.requireNonNull($.shieldProtectionId, "expected parameter 'shieldProtectionId' to be non-null");
            return $;
        }
    }

}
