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

com.azure.resourcemanager.hybridcompute.fluent.models.AccessRuleProperties Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for HybridCompute Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. The Hybrid Compute Management Client. Package tag package-preview-2024-07.

There is a newer version: 1.1.0-beta.1
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

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

import com.azure.core.annotation.Immutable;
import com.azure.resourcemanager.hybridcompute.models.AccessRuleDirection;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/**
 * Properties of an access rule.
 */
@Immutable
public final class AccessRuleProperties {
    /*
     * Direction of the access rule.
     */
    @JsonProperty(value = "direction", access = JsonProperty.Access.WRITE_ONLY)
    private AccessRuleDirection direction;

    /*
     * Address prefixes that are allowed access.
     */
    @JsonProperty(value = "addressPrefixes", access = JsonProperty.Access.WRITE_ONLY)
    private List addressPrefixes;

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

    /**
     * Get the direction property: Direction of the access rule.
     * 
     * @return the direction value.
     */
    public AccessRuleDirection direction() {
        return this.direction;
    }

    /**
     * Get the addressPrefixes property: Address prefixes that are allowed access.
     * 
     * @return the addressPrefixes value.
     */
    public List addressPrefixes() {
        return this.addressPrefixes;
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy