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

com.pulumi.aws.cloudwatch.outputs.EventConnectionAuthParametersBasic 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.cloudwatch.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class EventConnectionAuthParametersBasic {
    /**
     * @return A password for the authorization. Created and stored in AWS Secrets Manager.
     * 
     */
    private String password;
    /**
     * @return A username for the authorization.
     * 
     */
    private String username;

    private EventConnectionAuthParametersBasic() {}
    /**
     * @return A password for the authorization. Created and stored in AWS Secrets Manager.
     * 
     */
    public String password() {
        return this.password;
    }
    /**
     * @return A username for the authorization.
     * 
     */
    public String username() {
        return this.username;
    }

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

    public static Builder builder(EventConnectionAuthParametersBasic defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String password;
        private String username;
        public Builder() {}
        public Builder(EventConnectionAuthParametersBasic defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.password = defaults.password;
    	      this.username = defaults.username;
        }

        @CustomType.Setter
        public Builder password(String password) {
            if (password == null) {
              throw new MissingRequiredPropertyException("EventConnectionAuthParametersBasic", "password");
            }
            this.password = password;
            return this;
        }
        @CustomType.Setter
        public Builder username(String username) {
            if (username == null) {
              throw new MissingRequiredPropertyException("EventConnectionAuthParametersBasic", "username");
            }
            this.username = username;
            return this;
        }
        public EventConnectionAuthParametersBasic build() {
            final var _resultValue = new EventConnectionAuthParametersBasic();
            _resultValue.password = password;
            _resultValue.username = username;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy