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

package com.azure.resourcemanager.databox.models;

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

/** Datacenter instruction for given storage location. */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "datacenterAddressType")
@JsonTypeName("DatacenterAddressInstruction")
@Immutable
public final class DatacenterAddressInstructionResponse extends DatacenterAddressResponse {
    /*
     * Data center communication instruction
     */
    @JsonProperty(value = "communicationInstruction", access = JsonProperty.Access.WRITE_ONLY)
    private String communicationInstruction;

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

    /**
     * Get the communicationInstruction property: Data center communication instruction.
     *
     * @return the communicationInstruction value.
     */
    public String communicationInstruction() {
        return this.communicationInstruction;
    }

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