com.huaweicloud.dis.iface.transfertask.request.CreateTransferTaskRequest Maven / Gradle / Ivy
The newest version!
/*
* 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.request;
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.MRSDestinationDescriptorRequest;
import com.huaweicloud.dis.iface.stream.request.OBSDestinationDescriptorRequest;
import com.huaweicloud.dis.iface.stream.request.StreamDestinationType;
import com.huaweicloud.dis.iface.stream.request.UqueryDestinationDescriptorRequest;
import com.huaweicloud.dis.iface.stream.request.cloudtable.CloudtableDestinationDescriptorRequest;
import com.huaweicloud.dis.iface.stream.request.dws.DwsDestinationDescriptorRequest;
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CreateTransferTaskRequest {
/**
*
* The name of the delivery stream.
*
*/
@JsonProperty("stream_name")
private String streamName;
/**
*
* The destination type of the delivery task. For Example, OBS.
*
*/
@JsonProperty("destination_type")
private StreamDestinationType destinationType;
/**
*
* Parameter list of the OBS to which data in the DIS stream will be dumped.
*
*/
@JsonProperty("obs_destination_descriptor")
private OBSDestinationDescriptorRequest obsDestinationDescriptor;
/**
*
* Parameter list of the MRS to which data in the DIS stream will be dumped.
*
*/
@JsonProperty("mrs_destination_descriptor")
private MRSDestinationDescriptorRequest mrsDestinationDescriptor;
/**
*
* Parameter list of the DLI to which data in the DIS stream will be dumped.
*
*/
@JsonProperty("dli_destination_descriptor")
private UqueryDestinationDescriptorRequest dliDestinationDescriptor;
/**
*
* A list of parameters required for dumping data to CloudTable.
*
*/
@JsonProperty("cloudtable_destination_descriptor")
private CloudtableDestinationDescriptorRequest cloudtableDestinationDescriptor;
/**
*
* A list of parameters required for dumping to DWS.
*
*/
@JsonProperty("dws_destination_descriptor")
private DwsDestinationDescriptorRequest dwsDestinationDescriptor;
public String getStreamName() {
return streamName;
}
public void setStreamName(String streamName) {
this.streamName = streamName;
}
public StreamDestinationType getDestinationType() {
return destinationType;
}
public void setDestinationType(StreamDestinationType destinationType) {
this.destinationType = destinationType;
}
public OBSDestinationDescriptorRequest getObsDestinationDescriptor() {
return obsDestinationDescriptor;
}
public void setObsDestinationDescriptor(OBSDestinationDescriptorRequest obsDestinationDescriptor) {
this.obsDestinationDescriptor = obsDestinationDescriptor;
}
public MRSDestinationDescriptorRequest getMrsDestinationDescriptor() {
return mrsDestinationDescriptor;
}
public void setMrsDestinationDescriptor(MRSDestinationDescriptorRequest mrsDestinationDescriptor) {
this.mrsDestinationDescriptor = mrsDestinationDescriptor;
}
public UqueryDestinationDescriptorRequest getDliDestinationDescriptor() {
return dliDestinationDescriptor;
}
public void setDliDestinationDescriptor(UqueryDestinationDescriptorRequest dliDestinationDescriptor) {
this.dliDestinationDescriptor = dliDestinationDescriptor;
}
public CloudtableDestinationDescriptorRequest getCloudtableDestinationDescriptor() {
return cloudtableDestinationDescriptor;
}
public void setCloudtableDestinationDescriptor(
CloudtableDestinationDescriptorRequest cloudtableDestinationDescriptor) {
this.cloudtableDestinationDescriptor = cloudtableDestinationDescriptor;
}
public DwsDestinationDescriptorRequest getDwsDestinationDescriptor() {
return dwsDestinationDescriptor;
}
public void setDwsDestinationDescriptor(DwsDestinationDescriptorRequest dwsDestinationDescriptor) {
this.dwsDestinationDescriptor = dwsDestinationDescriptor;
}
@Override
public String toString() {
return "CreateTransferTaskRequest{" + "streamName='" + streamName + '\'' + '}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy