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

package com.azure.resourcemanager.appconfiguration.fluent.models;

import com.azure.core.annotation.Immutable;
import com.azure.resourcemanager.appconfiguration.models.ReplicaProvisioningState;
import com.fasterxml.jackson.annotation.JsonProperty;

/** All replica properties. */
@Immutable
public final class ReplicaProperties {
    /*
     * The URI of the replica where the replica API will be available.
     */
    @JsonProperty(value = "endpoint", access = JsonProperty.Access.WRITE_ONLY)
    private String endpoint;

    /*
     * The provisioning state of the replica.
     */
    @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
    private ReplicaProvisioningState provisioningState;

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

    /**
     * Get the endpoint property: The URI of the replica where the replica API will be available.
     *
     * @return the endpoint value.
     */
    public String endpoint() {
        return this.endpoint;
    }

    /**
     * Get the provisioningState property: The provisioning state of the replica.
     *
     * @return the provisioningState value.
     */
    public ReplicaProvisioningState provisioningState() {
        return this.provisioningState;
    }

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