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

com.azure.resourcemanager.network.models.NetworkManagerDeploymentStatus Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure Network Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt

There is a newer version: 2.44.0
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.network.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.time.OffsetDateTime;
import java.util.List;

/**
 * Network Manager Deployment Status.
 */
@Fluent
public final class NetworkManagerDeploymentStatus {
    /*
     * Commit Time.
     */
    @JsonProperty(value = "commitTime")
    private OffsetDateTime commitTime;

    /*
     * Region Name.
     */
    @JsonProperty(value = "region")
    private String region;

    /*
     * Deployment Status.
     */
    @JsonProperty(value = "deploymentStatus")
    private DeploymentStatus deploymentStatus;

    /*
     * List of configuration ids.
     */
    @JsonProperty(value = "configurationIds")
    private List configurationIds;

    /*
     * Configuration Deployment Type.
     */
    @JsonProperty(value = "deploymentType")
    private ConfigurationType deploymentType;

    /*
     * Error Message.
     */
    @JsonProperty(value = "errorMessage")
    private String errorMessage;

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

    /**
     * Get the commitTime property: Commit Time.
     * 
     * @return the commitTime value.
     */
    public OffsetDateTime commitTime() {
        return this.commitTime;
    }

    /**
     * Set the commitTime property: Commit Time.
     * 
     * @param commitTime the commitTime value to set.
     * @return the NetworkManagerDeploymentStatus object itself.
     */
    public NetworkManagerDeploymentStatus withCommitTime(OffsetDateTime commitTime) {
        this.commitTime = commitTime;
        return this;
    }

    /**
     * Get the region property: Region Name.
     * 
     * @return the region value.
     */
    public String region() {
        return this.region;
    }

    /**
     * Set the region property: Region Name.
     * 
     * @param region the region value to set.
     * @return the NetworkManagerDeploymentStatus object itself.
     */
    public NetworkManagerDeploymentStatus withRegion(String region) {
        this.region = region;
        return this;
    }

    /**
     * Get the deploymentStatus property: Deployment Status.
     * 
     * @return the deploymentStatus value.
     */
    public DeploymentStatus deploymentStatus() {
        return this.deploymentStatus;
    }

    /**
     * Set the deploymentStatus property: Deployment Status.
     * 
     * @param deploymentStatus the deploymentStatus value to set.
     * @return the NetworkManagerDeploymentStatus object itself.
     */
    public NetworkManagerDeploymentStatus withDeploymentStatus(DeploymentStatus deploymentStatus) {
        this.deploymentStatus = deploymentStatus;
        return this;
    }

    /**
     * Get the configurationIds property: List of configuration ids.
     * 
     * @return the configurationIds value.
     */
    public List configurationIds() {
        return this.configurationIds;
    }

    /**
     * Set the configurationIds property: List of configuration ids.
     * 
     * @param configurationIds the configurationIds value to set.
     * @return the NetworkManagerDeploymentStatus object itself.
     */
    public NetworkManagerDeploymentStatus withConfigurationIds(List configurationIds) {
        this.configurationIds = configurationIds;
        return this;
    }

    /**
     * Get the deploymentType property: Configuration Deployment Type.
     * 
     * @return the deploymentType value.
     */
    public ConfigurationType deploymentType() {
        return this.deploymentType;
    }

    /**
     * Set the deploymentType property: Configuration Deployment Type.
     * 
     * @param deploymentType the deploymentType value to set.
     * @return the NetworkManagerDeploymentStatus object itself.
     */
    public NetworkManagerDeploymentStatus withDeploymentType(ConfigurationType deploymentType) {
        this.deploymentType = deploymentType;
        return this;
    }

    /**
     * Get the errorMessage property: Error Message.
     * 
     * @return the errorMessage value.
     */
    public String errorMessage() {
        return this.errorMessage;
    }

    /**
     * Set the errorMessage property: Error Message.
     * 
     * @param errorMessage the errorMessage value to set.
     * @return the NetworkManagerDeploymentStatus object itself.
     */
    public NetworkManagerDeploymentStatus withErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
        return this;
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy