com.tencentcloudapi.mps.v20190612.models.S3OutputStorage 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.mps.v20190612.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 S3OutputStorage extends AbstractModel {
/**
* The AWS S3 bucket.
*/
@SerializedName("S3Bucket")
@Expose
private String S3Bucket;
/**
* The region of the AWS S3 bucket.
*/
@SerializedName("S3Region")
@Expose
private String S3Region;
/**
* The key ID required to upload files to the AWS S3 object.
*/
@SerializedName("S3SecretId")
@Expose
private String S3SecretId;
/**
* The key required to upload files to the AWS S3 object.
*/
@SerializedName("S3SecretKey")
@Expose
private String S3SecretKey;
/**
* Get The AWS S3 bucket.
* @return S3Bucket The AWS S3 bucket.
*/
public String getS3Bucket() {
return this.S3Bucket;
}
/**
* Set The AWS S3 bucket.
* @param S3Bucket The AWS S3 bucket.
*/
public void setS3Bucket(String S3Bucket) {
this.S3Bucket = S3Bucket;
}
/**
* Get The region of the AWS S3 bucket.
* @return S3Region The region of the AWS S3 bucket.
*/
public String getS3Region() {
return this.S3Region;
}
/**
* Set The region of the AWS S3 bucket.
* @param S3Region The region of the AWS S3 bucket.
*/
public void setS3Region(String S3Region) {
this.S3Region = S3Region;
}
/**
* Get The key ID required to upload files to the AWS S3 object.
* @return S3SecretId The key ID required to upload files to the AWS S3 object.
*/
public String getS3SecretId() {
return this.S3SecretId;
}
/**
* Set The key ID required to upload files to the AWS S3 object.
* @param S3SecretId The key ID required to upload files to the AWS S3 object.
*/
public void setS3SecretId(String S3SecretId) {
this.S3SecretId = S3SecretId;
}
/**
* Get The key required to upload files to the AWS S3 object.
* @return S3SecretKey The key required to upload files to the AWS S3 object.
*/
public String getS3SecretKey() {
return this.S3SecretKey;
}
/**
* Set The key required to upload files to the AWS S3 object.
* @param S3SecretKey The key required to upload files to the AWS S3 object.
*/
public void setS3SecretKey(String S3SecretKey) {
this.S3SecretKey = S3SecretKey;
}
public S3OutputStorage() {
}
/**
* 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 S3OutputStorage(S3OutputStorage source) {
if (source.S3Bucket != null) {
this.S3Bucket = new String(source.S3Bucket);
}
if (source.S3Region != null) {
this.S3Region = new String(source.S3Region);
}
if (source.S3SecretId != null) {
this.S3SecretId = new String(source.S3SecretId);
}
if (source.S3SecretKey != null) {
this.S3SecretKey = new String(source.S3SecretKey);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "S3Bucket", this.S3Bucket);
this.setParamSimple(map, prefix + "S3Region", this.S3Region);
this.setParamSimple(map, prefix + "S3SecretId", this.S3SecretId);
this.setParamSimple(map, prefix + "S3SecretKey", this.S3SecretKey);
}
}