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

com.huaweicloud.dis.iface.transfertask.response.DescribeTransferTaskResult Maven / Gradle / Ivy

/*
 * Copyright 2002-2010 the original author or authors.
 *
 * 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.
 */
package com.huaweicloud.dis.iface.transfertask.response;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.huaweicloud.dis.iface.stream.request.StreamDestinationType;
import com.huaweicloud.dis.iface.transfertask.response.destination.*;

import java.util.List;

@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class DescribeTransferTaskResult {
    /**
     * 

* The name of the delivery stream. *

*/ @JsonProperty("stream_name") private String streamName; /** *

* The name of the delivery task. *

*/ @JsonProperty("task_name") private String transferTaskName; /** *

* The ID of the delivery task. *

*/ @JsonProperty("task_id") private String transferTaskId; /** *

* The destination type of the delivery task. For Example, OBS. *

*/ @JsonProperty("destination_type") private StreamDestinationType destinationType; /** *

* The transfer state of the delivery task. *

*/ @JsonProperty("state") private String state; /** *

* The create time of the transfer task. *

*/ @JsonProperty("create_time") private long createTime; /** *

* The lastest transfer timeStamp of the transfer task. *

*/ @JsonProperty("last_transfer_timestamp") private long lastTransferTimeStamp; /** *

* The transfer details of the partitions. *

*/ private List partitions; /** *

* description of a task that dump data from DIS to OBS. *

*/ @JsonProperty("obs_destination_description") private OBSDestinationDescription obsDestinationDescription; /** *

* description of a task that dump data from DIS to MRS. *

*/ @JsonProperty("mrs_destination_description") private MRSDestinationDescription mrsDestinationDescription; /** *

* description of a task that dump data from DIS to DLI. *

*/ @JsonProperty("dli_destination_description") private DliDestinationDescription dliDestinationDescription; /** *

* description of a task that dump data from DIS to DWS. *

*/ @JsonProperty("dws_destination_description") private DwsDestinationDescription dwsDestinationDescription; /** *

* description of a task that dump data from DIS to CloudTable. *

*/ @JsonProperty("cloudtable_destination_description") private CloudtableDestinationDescription cloudtableDestinationDescription; public String getStreamName() { return streamName; } public void setStreamName(String streamName) { this.streamName = streamName; } public String getTransferTaskName() { return transferTaskName; } public void setTransferTaskName(String transferTaskName) { this.transferTaskName = transferTaskName; } public String getTransferTaskId() { return transferTaskId; } public void setTransferTaskId(String transferTaskId) { this.transferTaskId = transferTaskId; } public long getCreateTime() { return createTime; } public void setCreateTime(long createTime) { this.createTime = createTime; } public long getLastTransferTimeStamp() { return lastTransferTimeStamp; } public void setLastTransferTimeStamp(long lastTransferTimeStamp) { this.lastTransferTimeStamp = lastTransferTimeStamp; } public String getState() { return state; } public void setState(String state) { this.state = state; } public List getPartitions() { return partitions; } public void setPartitions(List partitions) { this.partitions = partitions; } public OBSDestinationDescription getObsDestinationDescription() { return obsDestinationDescription; } public void setObsDestinationDescription(OBSDestinationDescription obsDestinationDescription) { this.obsDestinationDescription = obsDestinationDescription; } public MRSDestinationDescription getMrsDestinationDescription() { return mrsDestinationDescription; } public void setMrsDestinationDescription(MRSDestinationDescription mrsDestinationDescription) { this.mrsDestinationDescription = mrsDestinationDescription; } public DliDestinationDescription getDliDestinationDescription() { return dliDestinationDescription; } public void setDliDestinationDescription(DliDestinationDescription dliDestinationDescription) { this.dliDestinationDescription = dliDestinationDescription; } public DwsDestinationDescription getDwsDestinationDescription() { return dwsDestinationDescription; } public void setDwsDestinationDescription(DwsDestinationDescription dwsDestinationDescription) { this.dwsDestinationDescription = dwsDestinationDescription; } public CloudtableDestinationDescription getCloudtableDestinationDescription() { return cloudtableDestinationDescription; } public void setCloudtableDestinationDescription(CloudtableDestinationDescription cloudtableDestinationDescription) { this.cloudtableDestinationDescription = cloudtableDestinationDescription; } public StreamDestinationType getDestinationType() { return destinationType; } public void setDestinationType(StreamDestinationType destinationType) { this.destinationType = destinationType; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy