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

com.pulumi.aws.securityhub.inputs.ActionTargetState Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.72.0
Show newest version
// *** 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.securityhub.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 ActionTargetState extends com.pulumi.resources.ResourceArgs {

    public static final ActionTargetState Empty = new ActionTargetState();

    /**
     * Amazon Resource Name (ARN) of the Security Hub custom action target.
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

    /**
     * @return Amazon Resource Name (ARN) of the Security Hub custom action target.
     * 
     */
    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

    /**
     * The name of the custom action target.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return The name of the custom action target.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * The ID for the custom action target.
     * 
     */
    @Import(name="identifier")
    private @Nullable Output identifier;

    /**
     * @return The ID for the custom action target.
     * 
     */
    public Optional> identifier() {
        return Optional.ofNullable(this.identifier);
    }

    /**
     * The description for the custom action target.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The description for the custom action target.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    private ActionTargetState() {}

    private ActionTargetState(ActionTargetState $) {
        this.arn = $.arn;
        this.description = $.description;
        this.identifier = $.identifier;
        this.name = $.name;
    }

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

    public static final class Builder {
        private ActionTargetState $;

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

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

        /**
         * @param arn Amazon Resource Name (ARN) of the Security Hub custom action target.
         * 
         * @return builder
         * 
         */
        public Builder arn(@Nullable Output arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param arn Amazon Resource Name (ARN) of the Security Hub custom action target.
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

        /**
         * @param description The name of the custom action target.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description The name of the custom action target.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param identifier The ID for the custom action target.
         * 
         * @return builder
         * 
         */
        public Builder identifier(@Nullable Output identifier) {
            $.identifier = identifier;
            return this;
        }

        /**
         * @param identifier The ID for the custom action target.
         * 
         * @return builder
         * 
         */
        public Builder identifier(String identifier) {
            return identifier(Output.of(identifier));
        }

        /**
         * @param name The description for the custom action target.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The description for the custom action target.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        public ActionTargetState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy