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

com.pulumi.azurenative.apimanagement.outputs.OAuth2AuthenticationSettingsContractResponse 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.azurenative.apimanagement.outputs;

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

@CustomType
public final class OAuth2AuthenticationSettingsContractResponse {
    /**
     * @return OAuth authorization server identifier.
     * 
     */
    private @Nullable String authorizationServerId;
    /**
     * @return operations scope.
     * 
     */
    private @Nullable String scope;

    private OAuth2AuthenticationSettingsContractResponse() {}
    /**
     * @return OAuth authorization server identifier.
     * 
     */
    public Optional authorizationServerId() {
        return Optional.ofNullable(this.authorizationServerId);
    }
    /**
     * @return operations scope.
     * 
     */
    public Optional scope() {
        return Optional.ofNullable(this.scope);
    }

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

    public static Builder builder(OAuth2AuthenticationSettingsContractResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String authorizationServerId;
        private @Nullable String scope;
        public Builder() {}
        public Builder(OAuth2AuthenticationSettingsContractResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.authorizationServerId = defaults.authorizationServerId;
    	      this.scope = defaults.scope;
        }

        @CustomType.Setter
        public Builder authorizationServerId(@Nullable String authorizationServerId) {

            this.authorizationServerId = authorizationServerId;
            return this;
        }
        @CustomType.Setter
        public Builder scope(@Nullable String scope) {

            this.scope = scope;
            return this;
        }
        public OAuth2AuthenticationSettingsContractResponse build() {
            final var _resultValue = new OAuth2AuthenticationSettingsContractResponse();
            _resultValue.authorizationServerId = authorizationServerId;
            _resultValue.scope = scope;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy