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

com.pulumi.aws.cloudwatch.outputs.EventConnectionAuthParametersOauthClientParameters 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 EventConnectionAuthParametersOauthClientParameters {
    /**
     * @return The client ID for the credentials to use for authorization. Created and stored in AWS Secrets Manager.
     * 
     */
    private String clientId;
    /**
     * @return The client secret for the credentials to use for authorization. Created and stored in AWS Secrets Manager.
     * 
     */
    private String clientSecret;

    private EventConnectionAuthParametersOauthClientParameters() {}
    /**
     * @return The client ID for the credentials to use for authorization. Created and stored in AWS Secrets Manager.
     * 
     */
    public String clientId() {
        return this.clientId;
    }
    /**
     * @return The client secret for the credentials to use for authorization. Created and stored in AWS Secrets Manager.
     * 
     */
    public String clientSecret() {
        return this.clientSecret;
    }

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

    public static Builder builder(EventConnectionAuthParametersOauthClientParameters defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String clientId;
        private String clientSecret;
        public Builder() {}
        public Builder(EventConnectionAuthParametersOauthClientParameters defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.clientId = defaults.clientId;
    	      this.clientSecret = defaults.clientSecret;
        }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy