![JAR search and dependency download from the Maven repository](/logo.png)
com.tencentcloudapi.cls.v20201016.models.SearchCosRechargeInfoRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud API SDK for Java
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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.
*/
package com.tencentcloudapi.cls.v20201016.models;
import com.tencentcloudapi.common.AbstractModel;
import com.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class SearchCosRechargeInfoRequest extends AbstractModel {
/**
* Log topic ID
*/
@SerializedName("TopicId")
@Expose
private String TopicId;
/**
* Logset ID
*/
@SerializedName("LogsetId")
@Expose
private String LogsetId;
/**
* Delivery Task Name
*/
@SerializedName("Name")
@Expose
private String Name;
/**
* COS bucket, see the supported [bucket naming conventions](https://intl.cloud.tencent.com/document/product/436/13312?from_cn_redirect=1).
*/
@SerializedName("Bucket")
@Expose
private String Bucket;
/**
* The region where the COS bucket is located, see the supported [region list](https://intl.cloud.tencent.com/document/product/436/6224?from_cn_redirect=1).
*/
@SerializedName("BucketRegion")
@Expose
private String BucketRegion;
/**
* The prefix of the folder where COS files are located
*/
@SerializedName("Prefix")
@Expose
private String Prefix;
/**
* Compression mode: "", "gzip", "lzop", and "snappy". The default mode is "".
*/
@SerializedName("Compress")
@Expose
private String Compress;
/**
* Get Log topic ID
* @return TopicId Log topic ID
*/
public String getTopicId() {
return this.TopicId;
}
/**
* Set Log topic ID
* @param TopicId Log topic ID
*/
public void setTopicId(String TopicId) {
this.TopicId = TopicId;
}
/**
* Get Logset ID
* @return LogsetId Logset ID
*/
public String getLogsetId() {
return this.LogsetId;
}
/**
* Set Logset ID
* @param LogsetId Logset ID
*/
public void setLogsetId(String LogsetId) {
this.LogsetId = LogsetId;
}
/**
* Get Delivery Task Name
* @return Name Delivery Task Name
*/
public String getName() {
return this.Name;
}
/**
* Set Delivery Task Name
* @param Name Delivery Task Name
*/
public void setName(String Name) {
this.Name = Name;
}
/**
* Get COS bucket, see the supported [bucket naming conventions](https://intl.cloud.tencent.com/document/product/436/13312?from_cn_redirect=1).
* @return Bucket COS bucket, see the supported [bucket naming conventions](https://intl.cloud.tencent.com/document/product/436/13312?from_cn_redirect=1).
*/
public String getBucket() {
return this.Bucket;
}
/**
* Set COS bucket, see the supported [bucket naming conventions](https://intl.cloud.tencent.com/document/product/436/13312?from_cn_redirect=1).
* @param Bucket COS bucket, see the supported [bucket naming conventions](https://intl.cloud.tencent.com/document/product/436/13312?from_cn_redirect=1).
*/
public void setBucket(String Bucket) {
this.Bucket = Bucket;
}
/**
* Get The region where the COS bucket is located, see the supported [region list](https://intl.cloud.tencent.com/document/product/436/6224?from_cn_redirect=1).
* @return BucketRegion The region where the COS bucket is located, see the supported [region list](https://intl.cloud.tencent.com/document/product/436/6224?from_cn_redirect=1).
*/
public String getBucketRegion() {
return this.BucketRegion;
}
/**
* Set The region where the COS bucket is located, see the supported [region list](https://intl.cloud.tencent.com/document/product/436/6224?from_cn_redirect=1).
* @param BucketRegion The region where the COS bucket is located, see the supported [region list](https://intl.cloud.tencent.com/document/product/436/6224?from_cn_redirect=1).
*/
public void setBucketRegion(String BucketRegion) {
this.BucketRegion = BucketRegion;
}
/**
* Get The prefix of the folder where COS files are located
* @return Prefix The prefix of the folder where COS files are located
*/
public String getPrefix() {
return this.Prefix;
}
/**
* Set The prefix of the folder where COS files are located
* @param Prefix The prefix of the folder where COS files are located
*/
public void setPrefix(String Prefix) {
this.Prefix = Prefix;
}
/**
* Get Compression mode: "", "gzip", "lzop", and "snappy". The default mode is "".
* @return Compress Compression mode: "", "gzip", "lzop", and "snappy". The default mode is "".
*/
public String getCompress() {
return this.Compress;
}
/**
* Set Compression mode: "", "gzip", "lzop", and "snappy". The default mode is "".
* @param Compress Compression mode: "", "gzip", "lzop", and "snappy". The default mode is "".
*/
public void setCompress(String Compress) {
this.Compress = Compress;
}
public SearchCosRechargeInfoRequest() {
}
/**
* NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
* and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
*/
public SearchCosRechargeInfoRequest(SearchCosRechargeInfoRequest source) {
if (source.TopicId != null) {
this.TopicId = new String(source.TopicId);
}
if (source.LogsetId != null) {
this.LogsetId = new String(source.LogsetId);
}
if (source.Name != null) {
this.Name = new String(source.Name);
}
if (source.Bucket != null) {
this.Bucket = new String(source.Bucket);
}
if (source.BucketRegion != null) {
this.BucketRegion = new String(source.BucketRegion);
}
if (source.Prefix != null) {
this.Prefix = new String(source.Prefix);
}
if (source.Compress != null) {
this.Compress = new String(source.Compress);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "TopicId", this.TopicId);
this.setParamSimple(map, prefix + "LogsetId", this.LogsetId);
this.setParamSimple(map, prefix + "Name", this.Name);
this.setParamSimple(map, prefix + "Bucket", this.Bucket);
this.setParamSimple(map, prefix + "BucketRegion", this.BucketRegion);
this.setParamSimple(map, prefix + "Prefix", this.Prefix);
this.setParamSimple(map, prefix + "Compress", this.Compress);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy