All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.shield.inputs.ProtectionHealthCheckAssociationState Maven / Gradle / Ivy

// *** 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.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ProtectionHealthCheckAssociationState Empty = new ProtectionHealthCheckAssociationState();

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

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

    /**
     * The ID of the protected resource.
     * 
     */
    @Import(name="shieldProtectionId")
    private @Nullable Output shieldProtectionId;

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

    private ProtectionHealthCheckAssociationState() {}

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

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

    public static final class Builder {
        private ProtectionHealthCheckAssociationState $;

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

        public Builder(ProtectionHealthCheckAssociationState defaults) {
            $ = new ProtectionHealthCheckAssociationState(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(@Nullable Output 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(@Nullable Output 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 ProtectionHealthCheckAssociationState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy