// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.datadog.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** The DatadogSingleSignOnProperties model. */
@Fluent
public final class DatadogSingleSignOnProperties {
    /*
     * The provisioningState property.
     */
    @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
    private ProvisioningState provisioningState;

    /*
     * Various states of the SSO resource
     */
    @JsonProperty(value = "singleSignOnState")
    private SingleSignOnStates singleSignOnState;

    /*
     * The Id of the Enterprise App used for Single sign-on.
     */
    @JsonProperty(value = "enterpriseAppId")
    private String enterpriseAppId;

    /*
     * The login URL specific to this Datadog Organization.
     */
    @JsonProperty(value = "singleSignOnUrl", access = JsonProperty.Access.WRITE_ONLY)
    private String singleSignOnUrl;

    /** Creates an instance of DatadogSingleSignOnProperties class. */
    public DatadogSingleSignOnProperties() {
    }

    /**
     * Get the provisioningState property: The provisioningState property.
     *
     * @return the provisioningState value.
     */
    public ProvisioningState provisioningState() {
        return this.provisioningState;
    }

    /**
     * Get the singleSignOnState property: Various states of the SSO resource.
     *
     * @return the singleSignOnState value.
     */
    public SingleSignOnStates singleSignOnState() {
        return this.singleSignOnState;
    }

    /**
     * Set the singleSignOnState property: Various states of the SSO resource.
     *
     * @param singleSignOnState the singleSignOnState value to set.
     * @return the DatadogSingleSignOnProperties object itself.
     */
    public DatadogSingleSignOnProperties withSingleSignOnState(SingleSignOnStates singleSignOnState) {
        this.singleSignOnState = singleSignOnState;
        return this;
    }

    /**
     * Get the enterpriseAppId property: The Id of the Enterprise App used for Single sign-on.
     *
     * @return the enterpriseAppId value.
     */
    public String enterpriseAppId() {
        return this.enterpriseAppId;
    }

    /**
     * Set the enterpriseAppId property: The Id of the Enterprise App used for Single sign-on.
     *
     * @param enterpriseAppId the enterpriseAppId value to set.
     * @return the DatadogSingleSignOnProperties object itself.
     */
    public DatadogSingleSignOnProperties withEnterpriseAppId(String enterpriseAppId) {
        this.enterpriseAppId = enterpriseAppId;
        return this;
    }

    /**
     * Get the singleSignOnUrl property: The login URL specific to this Datadog Organization.
     *
     * @return the singleSignOnUrl value.
     */
    public String singleSignOnUrl() {
        return this.singleSignOnUrl;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
