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

com.pulumi.aws.synthetics.inputs.GroupAssociationState 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.60.0-alpha.1731982519
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.synthetics.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 GroupAssociationState extends com.pulumi.resources.ResourceArgs {

    public static final GroupAssociationState Empty = new GroupAssociationState();

    /**
     * ARN of the canary.
     * 
     */
    @Import(name="canaryArn")
    private @Nullable Output canaryArn;

    /**
     * @return ARN of the canary.
     * 
     */
    public Optional> canaryArn() {
        return Optional.ofNullable(this.canaryArn);
    }

    @Import(name="groupArn")
    private @Nullable Output groupArn;

    public Optional> groupArn() {
        return Optional.ofNullable(this.groupArn);
    }

    /**
     * ID of the Group.
     * 
     */
    @Import(name="groupId")
    private @Nullable Output groupId;

    /**
     * @return ID of the Group.
     * 
     */
    public Optional> groupId() {
        return Optional.ofNullable(this.groupId);
    }

    /**
     * Name of the group that the canary will be associated with.
     * 
     */
    @Import(name="groupName")
    private @Nullable Output groupName;

    /**
     * @return Name of the group that the canary will be associated with.
     * 
     */
    public Optional> groupName() {
        return Optional.ofNullable(this.groupName);
    }

    private GroupAssociationState() {}

    private GroupAssociationState(GroupAssociationState $) {
        this.canaryArn = $.canaryArn;
        this.groupArn = $.groupArn;
        this.groupId = $.groupId;
        this.groupName = $.groupName;
    }

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

    public static final class Builder {
        private GroupAssociationState $;

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

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

        /**
         * @param canaryArn ARN of the canary.
         * 
         * @return builder
         * 
         */
        public Builder canaryArn(@Nullable Output canaryArn) {
            $.canaryArn = canaryArn;
            return this;
        }

        /**
         * @param canaryArn ARN of the canary.
         * 
         * @return builder
         * 
         */
        public Builder canaryArn(String canaryArn) {
            return canaryArn(Output.of(canaryArn));
        }

        public Builder groupArn(@Nullable Output groupArn) {
            $.groupArn = groupArn;
            return this;
        }

        public Builder groupArn(String groupArn) {
            return groupArn(Output.of(groupArn));
        }

        /**
         * @param groupId ID of the Group.
         * 
         * @return builder
         * 
         */
        public Builder groupId(@Nullable Output groupId) {
            $.groupId = groupId;
            return this;
        }

        /**
         * @param groupId ID of the Group.
         * 
         * @return builder
         * 
         */
        public Builder groupId(String groupId) {
            return groupId(Output.of(groupId));
        }

        /**
         * @param groupName Name of the group that the canary will be associated with.
         * 
         * @return builder
         * 
         */
        public Builder groupName(@Nullable Output groupName) {
            $.groupName = groupName;
            return this;
        }

        /**
         * @param groupName Name of the group that the canary will be associated with.
         * 
         * @return builder
         * 
         */
        public Builder groupName(String groupName) {
            return groupName(Output.of(groupName));
        }

        public GroupAssociationState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy