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

com.microsoft.azure.management.sql.models.ElasticPoolDatabaseActivityProperties Maven / Gradle / Ivy

/**
 * 
 * Copyright (c) Microsoft and contributors.  All rights reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *   http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * 
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * 
 */

// Warning: This code was generated by a tool.
// 
// Changes to this file may cause incorrect behavior and will be lost if the
// code is regenerated.

package com.microsoft.azure.management.sql.models;

import java.util.Calendar;

/**
* Represents the properties of an Azure SQL Database Elastic Pool Database
* Activity.
*/
public class ElasticPoolDatabaseActivityProperties {
    private String currentElasticPoolName;
    
    /**
    * Optional. Gets the name of the current Elastic Pool the database is in if
    * available.
    * @return The CurrentElasticPoolName value.
    */
    public String getCurrentElasticPoolName() {
        return this.currentElasticPoolName;
    }
    
    /**
    * Optional. Gets the name of the current Elastic Pool the database is in if
    * available.
    * @param currentElasticPoolNameValue The CurrentElasticPoolName value.
    */
    public void setCurrentElasticPoolName(final String currentElasticPoolNameValue) {
        this.currentElasticPoolName = currentElasticPoolNameValue;
    }
    
    private String currentServiceObjectiveName;
    
    /**
    * Optional. Gets the name of the current service objective if available.
    * @return The CurrentServiceObjectiveName value.
    */
    public String getCurrentServiceObjectiveName() {
        return this.currentServiceObjectiveName;
    }
    
    /**
    * Optional. Gets the name of the current service objective if available.
    * @param currentServiceObjectiveNameValue The CurrentServiceObjectiveName
    * value.
    */
    public void setCurrentServiceObjectiveName(final String currentServiceObjectiveNameValue) {
        this.currentServiceObjectiveName = currentServiceObjectiveNameValue;
    }
    
    private String databaseName;
    
    /**
    * Optional. Gets the database name.
    * @return The DatabaseName value.
    */
    public String getDatabaseName() {
        return this.databaseName;
    }
    
    /**
    * Optional. Gets the database name.
    * @param databaseNameValue The DatabaseName value.
    */
    public void setDatabaseName(final String databaseNameValue) {
        this.databaseName = databaseNameValue;
    }
    
    private Calendar endTime;
    
    /**
    * Optional. Gets the time the operation finished.
    * @return The EndTime value.
    */
    public Calendar getEndTime() {
        return this.endTime;
    }
    
    /**
    * Optional. Gets the time the operation finished.
    * @param endTimeValue The EndTime value.
    */
    public void setEndTime(final Calendar endTimeValue) {
        this.endTime = endTimeValue;
    }
    
    private Integer errorCode;
    
    /**
    * Optional. Gets the error code if available.
    * @return The ErrorCode value.
    */
    public Integer getErrorCode() {
        return this.errorCode;
    }
    
    /**
    * Optional. Gets the error code if available.
    * @param errorCodeValue The ErrorCode value.
    */
    public void setErrorCode(final Integer errorCodeValue) {
        this.errorCode = errorCodeValue;
    }
    
    private String errorMessage;
    
    /**
    * Optional. Gets the error message if available.
    * @return The ErrorMessage value.
    */
    public String getErrorMessage() {
        return this.errorMessage;
    }
    
    /**
    * Optional. Gets the error message if available.
    * @param errorMessageValue The ErrorMessage value.
    */
    public void setErrorMessage(final String errorMessageValue) {
        this.errorMessage = errorMessageValue;
    }
    
    private Integer errorSeverity;
    
    /**
    * Optional. Gets the error severity if available.
    * @return The ErrorSeverity value.
    */
    public Integer getErrorSeverity() {
        return this.errorSeverity;
    }
    
    /**
    * Optional. Gets the error severity if available.
    * @param errorSeverityValue The ErrorSeverity value.
    */
    public void setErrorSeverity(final Integer errorSeverityValue) {
        this.errorSeverity = errorSeverityValue;
    }
    
    private String operation;
    
    /**
    * Optional. Gets the operation name.
    * @return The Operation value.
    */
    public String getOperation() {
        return this.operation;
    }
    
    /**
    * Optional. Gets the operation name.
    * @param operationValue The Operation value.
    */
    public void setOperation(final String operationValue) {
        this.operation = operationValue;
    }
    
    private String operationId;
    
    /**
    * Optional. Gets the unique operation ID.
    * @return The OperationId value.
    */
    public String getOperationId() {
        return this.operationId;
    }
    
    /**
    * Optional. Gets the unique operation ID.
    * @param operationIdValue The OperationId value.
    */
    public void setOperationId(final String operationIdValue) {
        this.operationId = operationIdValue;
    }
    
    private Integer percentComplete;
    
    /**
    * Optional. Gets the percentage complete if available.
    * @return The PercentComplete value.
    */
    public Integer getPercentComplete() {
        return this.percentComplete;
    }
    
    /**
    * Optional. Gets the percentage complete if available.
    * @param percentCompleteValue The PercentComplete value.
    */
    public void setPercentComplete(final Integer percentCompleteValue) {
        this.percentComplete = percentCompleteValue;
    }
    
    private String requestedElasticPoolName;
    
    /**
    * Optional. Gets the name for the Elastic Pool the database is moving into
    * if available.
    * @return The RequestedElasticPoolName value.
    */
    public String getRequestedElasticPoolName() {
        return this.requestedElasticPoolName;
    }
    
    /**
    * Optional. Gets the name for the Elastic Pool the database is moving into
    * if available.
    * @param requestedElasticPoolNameValue The RequestedElasticPoolName value.
    */
    public void setRequestedElasticPoolName(final String requestedElasticPoolNameValue) {
        this.requestedElasticPoolName = requestedElasticPoolNameValue;
    }
    
    private String requestedServiceObjectiveName;
    
    /**
    * Optional. Gets the name of the requested service objective if available.
    * @return The RequestedServiceObjectiveName value.
    */
    public String getRequestedServiceObjectiveName() {
        return this.requestedServiceObjectiveName;
    }
    
    /**
    * Optional. Gets the name of the requested service objective if available.
    * @param requestedServiceObjectiveNameValue The
    * RequestedServiceObjectiveName value.
    */
    public void setRequestedServiceObjectiveName(final String requestedServiceObjectiveNameValue) {
        this.requestedServiceObjectiveName = requestedServiceObjectiveNameValue;
    }
    
    private String serverName;
    
    /**
    * Optional. Gets the name of the Azure Sql Database Server the Elastic Pool
    * is in.
    * @return The ServerName value.
    */
    public String getServerName() {
        return this.serverName;
    }
    
    /**
    * Optional. Gets the name of the Azure Sql Database Server the Elastic Pool
    * is in.
    * @param serverNameValue The ServerName value.
    */
    public void setServerName(final String serverNameValue) {
        this.serverName = serverNameValue;
    }
    
    private Calendar startTime;
    
    /**
    * Optional. Gets the time the operation started.
    * @return The StartTime value.
    */
    public Calendar getStartTime() {
        return this.startTime;
    }
    
    /**
    * Optional. Gets the time the operation started.
    * @param startTimeValue The StartTime value.
    */
    public void setStartTime(final Calendar startTimeValue) {
        this.startTime = startTimeValue;
    }
    
    private String state;
    
    /**
    * Optional. Gets the current state of the operation.
    * @return The State value.
    */
    public String getState() {
        return this.state;
    }
    
    /**
    * Optional. Gets the current state of the operation.
    * @param stateValue The State value.
    */
    public void setState(final String stateValue) {
        this.state = stateValue;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy