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

package com.azure.resourcemanager.postgresqlflexibleserver.models;

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

/** Migration sub state details. */
@Immutable
public final class MigrationSubStateDetails {
    /*
     * Migration sub state.
     */
    @JsonProperty(value = "currentSubState", access = JsonProperty.Access.WRITE_ONLY)
    private MigrationSubState currentSubState;

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

    /**
     * Get the currentSubState property: Migration sub state.
     *
     * @return the currentSubState value.
     */
    public MigrationSubState currentSubState() {
        return this.currentSubState;
    }

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