index
int64
repo_id
string
file_path
string
content
string
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/RemoveUsersResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link RemoveUsersResponseBody} extends {@link TeaModel} * * <p>RemoveUsersResponseBody</p> */ public class RemoveUsersResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Users") private java.util.List<Users> users; private RemoveUsersResponseBody(Builder builder) { this.requestId = builder.requestId; this.users = builder.users; } public static Builder builder() { return new Builder(); } public static RemoveUsersResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return users */ public java.util.List<Users> getUsers() { return this.users; } public static final class Builder { private String requestId; private java.util.List<Users> users; private Builder() { } private Builder(RemoveUsersResponseBody model) { this.requestId = model.requestId; this.users = model.users; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Users. */ public Builder users(java.util.List<Users> users) { this.users = users; return this; } public RemoveUsersResponseBody build() { return new RemoveUsersResponseBody(this); } } /** * * {@link RemoveUsersResponseBody} extends {@link TeaModel} * * <p>RemoveUsersResponseBody</p> */ public static class Users extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("UserId") private String userId; private Users(Builder builder) { this.code = builder.code; this.message = builder.message; this.userId = builder.userId; } public static Builder builder() { return new Builder(); } public static Users create() { return builder().build(); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return message */ public String getMessage() { return this.message; } /** * @return userId */ public String getUserId() { return this.userId; } public static final class Builder { private Integer code; private String message; private String userId; private Builder() { } private Builder(Users model) { this.code = model.code; this.message = model.message; this.userId = model.userId; } /** * Code. */ public Builder code(Integer code) { this.code = code; return this; } /** * Message. */ public Builder message(String message) { this.message = message; return this; } /** * UserId. */ public Builder userId(String userId) { this.userId = userId; return this; } public Users build() { return new Users(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StartAgentRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StartAgentRequest} extends {@link RequestModel} * * <p>StartAgentRequest</p> */ public class StartAgentRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ChannelId") @com.aliyun.core.annotation.Validation(required = true) private String channelId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RtcConfig") @com.aliyun.core.annotation.Validation(required = true) private RtcConfig rtcConfig; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskId") @com.aliyun.core.annotation.Validation(required = true) private String taskId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TemplateId") @com.aliyun.core.annotation.Validation(required = true) private String templateId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VoiceChatConfig") private VoiceChatConfig voiceChatConfig; private StartAgentRequest(Builder builder) { super(builder); this.appId = builder.appId; this.channelId = builder.channelId; this.rtcConfig = builder.rtcConfig; this.taskId = builder.taskId; this.templateId = builder.templateId; this.voiceChatConfig = builder.voiceChatConfig; } public static Builder builder() { return new Builder(); } public static StartAgentRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return channelId */ public String getChannelId() { return this.channelId; } /** * @return rtcConfig */ public RtcConfig getRtcConfig() { return this.rtcConfig; } /** * @return taskId */ public String getTaskId() { return this.taskId; } /** * @return templateId */ public String getTemplateId() { return this.templateId; } /** * @return voiceChatConfig */ public VoiceChatConfig getVoiceChatConfig() { return this.voiceChatConfig; } public static final class Builder extends Request.Builder<StartAgentRequest, Builder> { private String appId; private String channelId; private RtcConfig rtcConfig; private String taskId; private String templateId; private VoiceChatConfig voiceChatConfig; private Builder() { super(); } private Builder(StartAgentRequest request) { super(request); this.appId = request.appId; this.channelId = request.channelId; this.rtcConfig = request.rtcConfig; this.taskId = request.taskId; this.templateId = request.templateId; this.voiceChatConfig = request.voiceChatConfig; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>aoe****</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>yourChannelId</p> */ public Builder channelId(String channelId) { this.putQueryParameter("ChannelId", channelId); this.channelId = channelId; return this; } /** * <p>This parameter is required.</p> */ public Builder rtcConfig(RtcConfig rtcConfig) { String rtcConfigShrink = shrink(rtcConfig, "RtcConfig", "json"); this.putQueryParameter("RtcConfig", rtcConfigShrink); this.rtcConfig = rtcConfig; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>yourTaskId</p> */ public Builder taskId(String taskId) { this.putQueryParameter("TaskId", taskId); this.taskId = taskId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>76dasgb****</p> */ public Builder templateId(String templateId) { this.putQueryParameter("TemplateId", templateId); this.templateId = templateId; return this; } /** * VoiceChatConfig. */ public Builder voiceChatConfig(VoiceChatConfig voiceChatConfig) { String voiceChatConfigShrink = shrink(voiceChatConfig, "VoiceChatConfig", "json"); this.putQueryParameter("VoiceChatConfig", voiceChatConfigShrink); this.voiceChatConfig = voiceChatConfig; return this; } @Override public StartAgentRequest build() { return new StartAgentRequest(this); } } /** * * {@link StartAgentRequest} extends {@link TeaModel} * * <p>StartAgentRequest</p> */ public static class RtcConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("TargetUserIds") private java.util.List<String> targetUserIds; @com.aliyun.core.annotation.NameInMap("UserId") @com.aliyun.core.annotation.Validation(required = true) private String userId; @com.aliyun.core.annotation.NameInMap("UserInactivityTimeout") private Integer userInactivityTimeout; private RtcConfig(Builder builder) { this.targetUserIds = builder.targetUserIds; this.userId = builder.userId; this.userInactivityTimeout = builder.userInactivityTimeout; } public static Builder builder() { return new Builder(); } public static RtcConfig create() { return builder().build(); } /** * @return targetUserIds */ public java.util.List<String> getTargetUserIds() { return this.targetUserIds; } /** * @return userId */ public String getUserId() { return this.userId; } /** * @return userInactivityTimeout */ public Integer getUserInactivityTimeout() { return this.userInactivityTimeout; } public static final class Builder { private java.util.List<String> targetUserIds; private String userId; private Integer userInactivityTimeout; private Builder() { } private Builder(RtcConfig model) { this.targetUserIds = model.targetUserIds; this.userId = model.userId; this.userInactivityTimeout = model.userInactivityTimeout; } /** * TargetUserIds. */ public Builder targetUserIds(java.util.List<String> targetUserIds) { this.targetUserIds = targetUserIds; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>423341</p> */ public Builder userId(String userId) { this.userId = userId; return this; } /** * UserInactivityTimeout. */ public Builder userInactivityTimeout(Integer userInactivityTimeout) { this.userInactivityTimeout = userInactivityTimeout; return this; } public RtcConfig build() { return new RtcConfig(this); } } } /** * * {@link StartAgentRequest} extends {@link TeaModel} * * <p>StartAgentRequest</p> */ public static class VadConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("InterruptSpeechDuration") private Integer interruptSpeechDuration; private VadConfig(Builder builder) { this.interruptSpeechDuration = builder.interruptSpeechDuration; } public static Builder builder() { return new Builder(); } public static VadConfig create() { return builder().build(); } /** * @return interruptSpeechDuration */ public Integer getInterruptSpeechDuration() { return this.interruptSpeechDuration; } public static final class Builder { private Integer interruptSpeechDuration; private Builder() { } private Builder(VadConfig model) { this.interruptSpeechDuration = model.interruptSpeechDuration; } /** * InterruptSpeechDuration. */ public Builder interruptSpeechDuration(Integer interruptSpeechDuration) { this.interruptSpeechDuration = interruptSpeechDuration; return this; } public VadConfig build() { return new VadConfig(this); } } } /** * * {@link StartAgentRequest} extends {@link TeaModel} * * <p>StartAgentRequest</p> */ public static class ASRConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("LanguageHints") private java.util.List<String> languageHints; @com.aliyun.core.annotation.NameInMap("MaxSentenceSilence") private Integer maxSentenceSilence; @com.aliyun.core.annotation.NameInMap("SemanticPunctuationEnabled") private Boolean semanticPunctuationEnabled; @com.aliyun.core.annotation.NameInMap("SourceLanguage") private String sourceLanguage; @com.aliyun.core.annotation.NameInMap("VadConfig") private VadConfig vadConfig; @com.aliyun.core.annotation.NameInMap("VocabularyId") private String vocabularyId; private ASRConfig(Builder builder) { this.languageHints = builder.languageHints; this.maxSentenceSilence = builder.maxSentenceSilence; this.semanticPunctuationEnabled = builder.semanticPunctuationEnabled; this.sourceLanguage = builder.sourceLanguage; this.vadConfig = builder.vadConfig; this.vocabularyId = builder.vocabularyId; } public static Builder builder() { return new Builder(); } public static ASRConfig create() { return builder().build(); } /** * @return languageHints */ public java.util.List<String> getLanguageHints() { return this.languageHints; } /** * @return maxSentenceSilence */ public Integer getMaxSentenceSilence() { return this.maxSentenceSilence; } /** * @return semanticPunctuationEnabled */ public Boolean getSemanticPunctuationEnabled() { return this.semanticPunctuationEnabled; } /** * @return sourceLanguage */ public String getSourceLanguage() { return this.sourceLanguage; } /** * @return vadConfig */ public VadConfig getVadConfig() { return this.vadConfig; } /** * @return vocabularyId */ public String getVocabularyId() { return this.vocabularyId; } public static final class Builder { private java.util.List<String> languageHints; private Integer maxSentenceSilence; private Boolean semanticPunctuationEnabled; private String sourceLanguage; private VadConfig vadConfig; private String vocabularyId; private Builder() { } private Builder(ASRConfig model) { this.languageHints = model.languageHints; this.maxSentenceSilence = model.maxSentenceSilence; this.semanticPunctuationEnabled = model.semanticPunctuationEnabled; this.sourceLanguage = model.sourceLanguage; this.vadConfig = model.vadConfig; this.vocabularyId = model.vocabularyId; } /** * LanguageHints. */ public Builder languageHints(java.util.List<String> languageHints) { this.languageHints = languageHints; return this; } /** * MaxSentenceSilence. */ public Builder maxSentenceSilence(Integer maxSentenceSilence) { this.maxSentenceSilence = maxSentenceSilence; return this; } /** * SemanticPunctuationEnabled. */ public Builder semanticPunctuationEnabled(Boolean semanticPunctuationEnabled) { this.semanticPunctuationEnabled = semanticPunctuationEnabled; return this; } /** * SourceLanguage. */ public Builder sourceLanguage(String sourceLanguage) { this.sourceLanguage = sourceLanguage; return this; } /** * VadConfig. */ public Builder vadConfig(VadConfig vadConfig) { this.vadConfig = vadConfig; return this; } /** * VocabularyId. */ public Builder vocabularyId(String vocabularyId) { this.vocabularyId = vocabularyId; return this; } public ASRConfig build() { return new ASRConfig(this); } } } /** * * {@link StartAgentRequest} extends {@link TeaModel} * * <p>StartAgentRequest</p> */ public static class AgentSilenceConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("AlertTimeout") private Integer alertTimeout; @com.aliyun.core.annotation.NameInMap("Content") private String content; @com.aliyun.core.annotation.NameInMap("Enable") private Boolean enable; @com.aliyun.core.annotation.NameInMap("Strategy") private Integer strategy; @com.aliyun.core.annotation.NameInMap("WebhookTriggerTimeout") private Integer webhookTriggerTimeout; private AgentSilenceConfig(Builder builder) { this.alertTimeout = builder.alertTimeout; this.content = builder.content; this.enable = builder.enable; this.strategy = builder.strategy; this.webhookTriggerTimeout = builder.webhookTriggerTimeout; } public static Builder builder() { return new Builder(); } public static AgentSilenceConfig create() { return builder().build(); } /** * @return alertTimeout */ public Integer getAlertTimeout() { return this.alertTimeout; } /** * @return content */ public String getContent() { return this.content; } /** * @return enable */ public Boolean getEnable() { return this.enable; } /** * @return strategy */ public Integer getStrategy() { return this.strategy; } /** * @return webhookTriggerTimeout */ public Integer getWebhookTriggerTimeout() { return this.webhookTriggerTimeout; } public static final class Builder { private Integer alertTimeout; private String content; private Boolean enable; private Integer strategy; private Integer webhookTriggerTimeout; private Builder() { } private Builder(AgentSilenceConfig model) { this.alertTimeout = model.alertTimeout; this.content = model.content; this.enable = model.enable; this.strategy = model.strategy; this.webhookTriggerTimeout = model.webhookTriggerTimeout; } /** * AlertTimeout. */ public Builder alertTimeout(Integer alertTimeout) { this.alertTimeout = alertTimeout; return this; } /** * Content. */ public Builder content(String content) { this.content = content; return this; } /** * Enable. */ public Builder enable(Boolean enable) { this.enable = enable; return this; } /** * Strategy. */ public Builder strategy(Integer strategy) { this.strategy = strategy; return this; } /** * WebhookTriggerTimeout. */ public Builder webhookTriggerTimeout(Integer webhookTriggerTimeout) { this.webhookTriggerTimeout = webhookTriggerTimeout; return this; } public AgentSilenceConfig build() { return new AgentSilenceConfig(this); } } } /** * * {@link StartAgentRequest} extends {@link TeaModel} * * <p>StartAgentRequest</p> */ public static class LLMConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("ApiKey") private String apiKey; @com.aliyun.core.annotation.NameInMap("AppId") private String appId; @com.aliyun.core.annotation.NameInMap("HistoryDepth") private Integer historyDepth; @com.aliyun.core.annotation.NameInMap("MaxToken") private Integer maxToken; @com.aliyun.core.annotation.NameInMap("Model") private String model; @com.aliyun.core.annotation.NameInMap("Params") private java.util.Map<String, ?> params; @com.aliyun.core.annotation.NameInMap("Prompt") private String prompt; @com.aliyun.core.annotation.NameInMap("Temperature") private Double temperature; @com.aliyun.core.annotation.NameInMap("TopP") private Double topP; @com.aliyun.core.annotation.NameInMap("Url") private String url; @com.aliyun.core.annotation.NameInMap("Vendor") private String vendor; private LLMConfig(Builder builder) { this.apiKey = builder.apiKey; this.appId = builder.appId; this.historyDepth = builder.historyDepth; this.maxToken = builder.maxToken; this.model = builder.model; this.params = builder.params; this.prompt = builder.prompt; this.temperature = builder.temperature; this.topP = builder.topP; this.url = builder.url; this.vendor = builder.vendor; } public static Builder builder() { return new Builder(); } public static LLMConfig create() { return builder().build(); } /** * @return apiKey */ public String getApiKey() { return this.apiKey; } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return historyDepth */ public Integer getHistoryDepth() { return this.historyDepth; } /** * @return maxToken */ public Integer getMaxToken() { return this.maxToken; } /** * @return model */ public String getModel() { return this.model; } /** * @return params */ public java.util.Map<String, ?> getParams() { return this.params; } /** * @return prompt */ public String getPrompt() { return this.prompt; } /** * @return temperature */ public Double getTemperature() { return this.temperature; } /** * @return topP */ public Double getTopP() { return this.topP; } /** * @return url */ public String getUrl() { return this.url; } /** * @return vendor */ public String getVendor() { return this.vendor; } public static final class Builder { private String apiKey; private String appId; private Integer historyDepth; private Integer maxToken; private String model; private java.util.Map<String, ?> params; private String prompt; private Double temperature; private Double topP; private String url; private String vendor; private Builder() { } private Builder(LLMConfig model) { this.apiKey = model.apiKey; this.appId = model.appId; this.historyDepth = model.historyDepth; this.maxToken = model.maxToken; this.model = model.model; this.params = model.params; this.prompt = model.prompt; this.temperature = model.temperature; this.topP = model.topP; this.url = model.url; this.vendor = model.vendor; } /** * ApiKey. */ public Builder apiKey(String apiKey) { this.apiKey = apiKey; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>aoe****</p> */ public Builder appId(String appId) { this.appId = appId; return this; } /** * HistoryDepth. */ public Builder historyDepth(Integer historyDepth) { this.historyDepth = historyDepth; return this; } /** * MaxToken. */ public Builder maxToken(Integer maxToken) { this.maxToken = maxToken; return this; } /** * Model. */ public Builder model(String model) { this.model = model; return this; } /** * Params. */ public Builder params(java.util.Map<String, ?> params) { this.params = params; return this; } /** * Prompt. */ public Builder prompt(String prompt) { this.prompt = prompt; return this; } /** * Temperature. */ public Builder temperature(Double temperature) { this.temperature = temperature; return this; } /** * TopP. */ public Builder topP(Double topP) { this.topP = topP; return this; } /** * Url. */ public Builder url(String url) { this.url = url; return this; } /** * Vendor. */ public Builder vendor(String vendor) { this.vendor = vendor; return this; } public LLMConfig build() { return new LLMConfig(this); } } } /** * * {@link StartAgentRequest} extends {@link TeaModel} * * <p>StartAgentRequest</p> */ public static class TTSConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("ApiKey") private String apiKey; @com.aliyun.core.annotation.NameInMap("FilterBrackets") private java.util.List<Integer> filterBrackets; @com.aliyun.core.annotation.NameInMap("Model") private String model; @com.aliyun.core.annotation.NameInMap("Pitch") private Double pitch; @com.aliyun.core.annotation.NameInMap("Rate") private Double rate; @com.aliyun.core.annotation.NameInMap("Vendor") private String vendor; @com.aliyun.core.annotation.NameInMap("Voice") private String voice; @com.aliyun.core.annotation.NameInMap("Volume") private Integer volume; private TTSConfig(Builder builder) { this.apiKey = builder.apiKey; this.filterBrackets = builder.filterBrackets; this.model = builder.model; this.pitch = builder.pitch; this.rate = builder.rate; this.vendor = builder.vendor; this.voice = builder.voice; this.volume = builder.volume; } public static Builder builder() { return new Builder(); } public static TTSConfig create() { return builder().build(); } /** * @return apiKey */ public String getApiKey() { return this.apiKey; } /** * @return filterBrackets */ public java.util.List<Integer> getFilterBrackets() { return this.filterBrackets; } /** * @return model */ public String getModel() { return this.model; } /** * @return pitch */ public Double getPitch() { return this.pitch; } /** * @return rate */ public Double getRate() { return this.rate; } /** * @return vendor */ public String getVendor() { return this.vendor; } /** * @return voice */ public String getVoice() { return this.voice; } /** * @return volume */ public Integer getVolume() { return this.volume; } public static final class Builder { private String apiKey; private java.util.List<Integer> filterBrackets; private String model; private Double pitch; private Double rate; private String vendor; private String voice; private Integer volume; private Builder() { } private Builder(TTSConfig model) { this.apiKey = model.apiKey; this.filterBrackets = model.filterBrackets; this.model = model.model; this.pitch = model.pitch; this.rate = model.rate; this.vendor = model.vendor; this.voice = model.voice; this.volume = model.volume; } /** * ApiKey. */ public Builder apiKey(String apiKey) { this.apiKey = apiKey; return this; } /** * FilterBrackets. */ public Builder filterBrackets(java.util.List<Integer> filterBrackets) { this.filterBrackets = filterBrackets; return this; } /** * Model. */ public Builder model(String model) { this.model = model; return this; } /** * Pitch. */ public Builder pitch(Double pitch) { this.pitch = pitch; return this; } /** * Rate. */ public Builder rate(Double rate) { this.rate = rate; return this; } /** * Vendor. */ public Builder vendor(String vendor) { this.vendor = vendor; return this; } /** * Voice. */ public Builder voice(String voice) { this.voice = voice; return this; } /** * Volume. */ public Builder volume(Integer volume) { this.volume = volume; return this; } public TTSConfig build() { return new TTSConfig(this); } } } /** * * {@link StartAgentRequest} extends {@link TeaModel} * * <p>StartAgentRequest</p> */ public static class VoiceChatConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("ASRConfig") private ASRConfig ASRConfig; @com.aliyun.core.annotation.NameInMap("AgentSilenceConfig") private AgentSilenceConfig agentSilenceConfig; @com.aliyun.core.annotation.NameInMap("ChatMode") private Integer chatMode; @com.aliyun.core.annotation.NameInMap("Greeting") private String greeting; @com.aliyun.core.annotation.NameInMap("InterruptMode") private Integer interruptMode; @com.aliyun.core.annotation.NameInMap("LLMConfig") private LLMConfig LLMConfig; @com.aliyun.core.annotation.NameInMap("TTSConfig") private TTSConfig TTSConfig; private VoiceChatConfig(Builder builder) { this.ASRConfig = builder.ASRConfig; this.agentSilenceConfig = builder.agentSilenceConfig; this.chatMode = builder.chatMode; this.greeting = builder.greeting; this.interruptMode = builder.interruptMode; this.LLMConfig = builder.LLMConfig; this.TTSConfig = builder.TTSConfig; } public static Builder builder() { return new Builder(); } public static VoiceChatConfig create() { return builder().build(); } /** * @return ASRConfig */ public ASRConfig getASRConfig() { return this.ASRConfig; } /** * @return agentSilenceConfig */ public AgentSilenceConfig getAgentSilenceConfig() { return this.agentSilenceConfig; } /** * @return chatMode */ public Integer getChatMode() { return this.chatMode; } /** * @return greeting */ public String getGreeting() { return this.greeting; } /** * @return interruptMode */ public Integer getInterruptMode() { return this.interruptMode; } /** * @return LLMConfig */ public LLMConfig getLLMConfig() { return this.LLMConfig; } /** * @return TTSConfig */ public TTSConfig getTTSConfig() { return this.TTSConfig; } public static final class Builder { private ASRConfig ASRConfig; private AgentSilenceConfig agentSilenceConfig; private Integer chatMode; private String greeting; private Integer interruptMode; private LLMConfig LLMConfig; private TTSConfig TTSConfig; private Builder() { } private Builder(VoiceChatConfig model) { this.ASRConfig = model.ASRConfig; this.agentSilenceConfig = model.agentSilenceConfig; this.chatMode = model.chatMode; this.greeting = model.greeting; this.interruptMode = model.interruptMode; this.LLMConfig = model.LLMConfig; this.TTSConfig = model.TTSConfig; } /** * ASRConfig. */ public Builder ASRConfig(ASRConfig ASRConfig) { this.ASRConfig = ASRConfig; return this; } /** * AgentSilenceConfig. */ public Builder agentSilenceConfig(AgentSilenceConfig agentSilenceConfig) { this.agentSilenceConfig = agentSilenceConfig; return this; } /** * ChatMode. */ public Builder chatMode(Integer chatMode) { this.chatMode = chatMode; return this; } /** * Greeting. */ public Builder greeting(String greeting) { this.greeting = greeting; return this; } /** * InterruptMode. */ public Builder interruptMode(Integer interruptMode) { this.interruptMode = interruptMode; return this; } /** * LLMConfig. */ public Builder LLMConfig(LLMConfig LLMConfig) { this.LLMConfig = LLMConfig; return this; } /** * TTSConfig. */ public Builder TTSConfig(TTSConfig TTSConfig) { this.TTSConfig = TTSConfig; return this; } public VoiceChatConfig build() { return new VoiceChatConfig(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StartAgentResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StartAgentResponse} extends {@link TeaModel} * * <p>StartAgentResponse</p> */ public class StartAgentResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private StartAgentResponseBody body; private StartAgentResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static StartAgentResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public StartAgentResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<StartAgentResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(StartAgentResponseBody body); @Override StartAgentResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<StartAgentResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private StartAgentResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(StartAgentResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(StartAgentResponseBody body) { this.body = body; return this; } @Override public StartAgentResponse build() { return new StartAgentResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StartAgentResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StartAgentResponseBody} extends {@link TeaModel} * * <p>StartAgentResponseBody</p> */ public class StartAgentResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private StartAgentResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static StartAgentResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(StartAgentResponseBody model) { this.requestId = model.requestId; } /** * <p>Id of the request</p> * * <strong>example:</strong> * <p>6159ba01-6687-4fb2-a831-f0cd8d188648</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public StartAgentResponseBody build() { return new StartAgentResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StartCategoryCallbackRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StartCategoryCallbackRequest} extends {@link RequestModel} * * <p>StartCategoryCallbackRequest</p> */ public class StartCategoryCallbackRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Callback") @com.aliyun.core.annotation.Validation(required = true) private Callback callback; private StartCategoryCallbackRequest(Builder builder) { super(builder); this.appId = builder.appId; this.callback = builder.callback; } public static Builder builder() { return new Builder(); } public static StartCategoryCallbackRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return callback */ public Callback getCallback() { return this.callback; } public static final class Builder extends Request.Builder<StartCategoryCallbackRequest, Builder> { private String appId; private Callback callback; private Builder() { super(); } private Builder(StartCategoryCallbackRequest request) { super(request); this.appId = request.appId; this.callback = request.callback; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>223***JQb</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * <p>This parameter is required.</p> */ public Builder callback(Callback callback) { String callbackShrink = shrink(callback, "Callback", "json"); this.putQueryParameter("Callback", callbackShrink); this.callback = callback; return this; } @Override public StartCategoryCallbackRequest build() { return new StartCategoryCallbackRequest(this); } } /** * * {@link StartCategoryCallbackRequest} extends {@link TeaModel} * * <p>StartCategoryCallbackRequest</p> */ public static class Callback extends TeaModel { @com.aliyun.core.annotation.NameInMap("Category") @com.aliyun.core.annotation.Validation(required = true) private String category; private Callback(Builder builder) { this.category = builder.category; } public static Builder builder() { return new Builder(); } public static Callback create() { return builder().build(); } /** * @return category */ public String getCategory() { return this.category; } public static final class Builder { private String category; private Builder() { } private Builder(Callback model) { this.category = model.category; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>RecordEvent</p> */ public Builder category(String category) { this.category = category; return this; } public Callback build() { return new Callback(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StartCategoryCallbackResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StartCategoryCallbackResponse} extends {@link TeaModel} * * <p>StartCategoryCallbackResponse</p> */ public class StartCategoryCallbackResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private StartCategoryCallbackResponseBody body; private StartCategoryCallbackResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static StartCategoryCallbackResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public StartCategoryCallbackResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<StartCategoryCallbackResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(StartCategoryCallbackResponseBody body); @Override StartCategoryCallbackResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<StartCategoryCallbackResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private StartCategoryCallbackResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(StartCategoryCallbackResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(StartCategoryCallbackResponseBody body) { this.body = body; return this; } @Override public StartCategoryCallbackResponse build() { return new StartCategoryCallbackResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StartCategoryCallbackResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StartCategoryCallbackResponseBody} extends {@link TeaModel} * * <p>StartCategoryCallbackResponseBody</p> */ public class StartCategoryCallbackResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private StartCategoryCallbackResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static StartCategoryCallbackResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(StartCategoryCallbackResponseBody model) { this.requestId = model.requestId; } /** * <p>Id of the request</p> * * <strong>example:</strong> * <p>16A96B9A-F203-4EC5-8E43-CB92E68F4CF8</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public StartCategoryCallbackResponseBody build() { return new StartCategoryCallbackResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StartCloudNoteRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StartCloudNoteRequest} extends {@link RequestModel} * * <p>StartCloudNoteRequest</p> */ public class StartCloudNoteRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AutoChapters") private AutoChapters autoChapters; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ChannelId") @com.aliyun.core.annotation.Validation(required = true) private String channelId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CustomPrompt") private CustomPrompt customPrompt; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("LanguageHints") private java.util.List<String> languageHints; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MeetingAssistance") private MeetingAssistance meetingAssistance; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RealtimeSubtitle") private RealtimeSubtitle realtimeSubtitle; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ServiceInspection") private ServiceInspection serviceInspection; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SourceLanguage") private String sourceLanguage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StorageConfig") @com.aliyun.core.annotation.Validation(required = true) private StorageConfig storageConfig; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Summarization") private Summarization summarization; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskId") @com.aliyun.core.annotation.Validation(required = true, maxLength = 55, minLength = 1) private String taskId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TextPolish") private TextPolish textPolish; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Transcription") private Transcription transcription; private StartCloudNoteRequest(Builder builder) { super(builder); this.appId = builder.appId; this.autoChapters = builder.autoChapters; this.channelId = builder.channelId; this.customPrompt = builder.customPrompt; this.languageHints = builder.languageHints; this.meetingAssistance = builder.meetingAssistance; this.realtimeSubtitle = builder.realtimeSubtitle; this.serviceInspection = builder.serviceInspection; this.sourceLanguage = builder.sourceLanguage; this.storageConfig = builder.storageConfig; this.summarization = builder.summarization; this.taskId = builder.taskId; this.textPolish = builder.textPolish; this.transcription = builder.transcription; } public static Builder builder() { return new Builder(); } public static StartCloudNoteRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return autoChapters */ public AutoChapters getAutoChapters() { return this.autoChapters; } /** * @return channelId */ public String getChannelId() { return this.channelId; } /** * @return customPrompt */ public CustomPrompt getCustomPrompt() { return this.customPrompt; } /** * @return languageHints */ public java.util.List<String> getLanguageHints() { return this.languageHints; } /** * @return meetingAssistance */ public MeetingAssistance getMeetingAssistance() { return this.meetingAssistance; } /** * @return realtimeSubtitle */ public RealtimeSubtitle getRealtimeSubtitle() { return this.realtimeSubtitle; } /** * @return serviceInspection */ public ServiceInspection getServiceInspection() { return this.serviceInspection; } /** * @return sourceLanguage */ public String getSourceLanguage() { return this.sourceLanguage; } /** * @return storageConfig */ public StorageConfig getStorageConfig() { return this.storageConfig; } /** * @return summarization */ public Summarization getSummarization() { return this.summarization; } /** * @return taskId */ public String getTaskId() { return this.taskId; } /** * @return textPolish */ public TextPolish getTextPolish() { return this.textPolish; } /** * @return transcription */ public Transcription getTranscription() { return this.transcription; } public static final class Builder extends Request.Builder<StartCloudNoteRequest, Builder> { private String appId; private AutoChapters autoChapters; private String channelId; private CustomPrompt customPrompt; private java.util.List<String> languageHints; private MeetingAssistance meetingAssistance; private RealtimeSubtitle realtimeSubtitle; private ServiceInspection serviceInspection; private String sourceLanguage; private StorageConfig storageConfig; private Summarization summarization; private String taskId; private TextPolish textPolish; private Transcription transcription; private Builder() { super(); } private Builder(StartCloudNoteRequest request) { super(request); this.appId = request.appId; this.autoChapters = request.autoChapters; this.channelId = request.channelId; this.customPrompt = request.customPrompt; this.languageHints = request.languageHints; this.meetingAssistance = request.meetingAssistance; this.realtimeSubtitle = request.realtimeSubtitle; this.serviceInspection = request.serviceInspection; this.sourceLanguage = request.sourceLanguage; this.storageConfig = request.storageConfig; this.summarization = request.summarization; this.taskId = request.taskId; this.textPolish = request.textPolish; this.transcription = request.transcription; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2ws***z3</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * AutoChapters. */ public Builder autoChapters(AutoChapters autoChapters) { String autoChaptersShrink = shrink(autoChapters, "AutoChapters", "json"); this.putQueryParameter("AutoChapters", autoChaptersShrink); this.autoChapters = autoChapters; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder channelId(String channelId) { this.putQueryParameter("ChannelId", channelId); this.channelId = channelId; return this; } /** * CustomPrompt. */ public Builder customPrompt(CustomPrompt customPrompt) { String customPromptShrink = shrink(customPrompt, "CustomPrompt", "json"); this.putQueryParameter("CustomPrompt", customPromptShrink); this.customPrompt = customPrompt; return this; } /** * LanguageHints. */ public Builder languageHints(java.util.List<String> languageHints) { this.putQueryParameter("LanguageHints", languageHints); this.languageHints = languageHints; return this; } /** * MeetingAssistance. */ public Builder meetingAssistance(MeetingAssistance meetingAssistance) { String meetingAssistanceShrink = shrink(meetingAssistance, "MeetingAssistance", "json"); this.putQueryParameter("MeetingAssistance", meetingAssistanceShrink); this.meetingAssistance = meetingAssistance; return this; } /** * RealtimeSubtitle. */ public Builder realtimeSubtitle(RealtimeSubtitle realtimeSubtitle) { String realtimeSubtitleShrink = shrink(realtimeSubtitle, "RealtimeSubtitle", "json"); this.putQueryParameter("RealtimeSubtitle", realtimeSubtitleShrink); this.realtimeSubtitle = realtimeSubtitle; return this; } /** * ServiceInspection. */ public Builder serviceInspection(ServiceInspection serviceInspection) { String serviceInspectionShrink = shrink(serviceInspection, "ServiceInspection", "json"); this.putQueryParameter("ServiceInspection", serviceInspectionShrink); this.serviceInspection = serviceInspection; return this; } /** * SourceLanguage. */ public Builder sourceLanguage(String sourceLanguage) { this.putQueryParameter("SourceLanguage", sourceLanguage); this.sourceLanguage = sourceLanguage; return this; } /** * <p>This parameter is required.</p> */ public Builder storageConfig(StorageConfig storageConfig) { this.putQueryParameter("StorageConfig", storageConfig); this.storageConfig = storageConfig; return this; } /** * Summarization. */ public Builder summarization(Summarization summarization) { String summarizationShrink = shrink(summarization, "Summarization", "json"); this.putQueryParameter("Summarization", summarizationShrink); this.summarization = summarization; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>rtc</p> */ public Builder taskId(String taskId) { this.putQueryParameter("TaskId", taskId); this.taskId = taskId; return this; } /** * TextPolish. */ public Builder textPolish(TextPolish textPolish) { String textPolishShrink = shrink(textPolish, "TextPolish", "json"); this.putQueryParameter("TextPolish", textPolishShrink); this.textPolish = textPolish; return this; } /** * Transcription. */ public Builder transcription(Transcription transcription) { String transcriptionShrink = shrink(transcription, "Transcription", "json"); this.putQueryParameter("Transcription", transcriptionShrink); this.transcription = transcription; return this; } @Override public StartCloudNoteRequest build() { return new StartCloudNoteRequest(this); } } /** * * {@link StartCloudNoteRequest} extends {@link TeaModel} * * <p>StartCloudNoteRequest</p> */ public static class AutoChapters extends TeaModel { @com.aliyun.core.annotation.NameInMap("Enabled") private Boolean enabled; private AutoChapters(Builder builder) { this.enabled = builder.enabled; } public static Builder builder() { return new Builder(); } public static AutoChapters create() { return builder().build(); } /** * @return enabled */ public Boolean getEnabled() { return this.enabled; } public static final class Builder { private Boolean enabled; private Builder() { } private Builder(AutoChapters model) { this.enabled = model.enabled; } /** * Enabled. */ public Builder enabled(Boolean enabled) { this.enabled = enabled; return this; } public AutoChapters build() { return new AutoChapters(this); } } } /** * * {@link StartCloudNoteRequest} extends {@link TeaModel} * * <p>StartCloudNoteRequest</p> */ public static class CustomPromptContents extends TeaModel { @com.aliyun.core.annotation.NameInMap("Model") private String model; @com.aliyun.core.annotation.NameInMap("Name") @com.aliyun.core.annotation.Validation(required = true) private String name; @com.aliyun.core.annotation.NameInMap("Prompt") @com.aliyun.core.annotation.Validation(required = true) private String prompt; @com.aliyun.core.annotation.NameInMap("TransType") private String transType; private CustomPromptContents(Builder builder) { this.model = builder.model; this.name = builder.name; this.prompt = builder.prompt; this.transType = builder.transType; } public static Builder builder() { return new Builder(); } public static CustomPromptContents create() { return builder().build(); } /** * @return model */ public String getModel() { return this.model; } /** * @return name */ public String getName() { return this.name; } /** * @return prompt */ public String getPrompt() { return this.prompt; } /** * @return transType */ public String getTransType() { return this.transType; } public static final class Builder { private String model; private String name; private String prompt; private String transType; private Builder() { } private Builder(CustomPromptContents model) { this.model = model.model; this.name = model.name; this.prompt = model.prompt; this.transType = model.transType; } /** * Model. */ public Builder model(String model) { this.model = model; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>split-summary-demo</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>请帮我将下面的对话进行总结,根据发言人来总结:\n {Transcription}</p> */ public Builder prompt(String prompt) { this.prompt = prompt; return this; } /** * TransType. */ public Builder transType(String transType) { this.transType = transType; return this; } public CustomPromptContents build() { return new CustomPromptContents(this); } } } /** * * {@link StartCloudNoteRequest} extends {@link TeaModel} * * <p>StartCloudNoteRequest</p> */ public static class CustomPrompt extends TeaModel { @com.aliyun.core.annotation.NameInMap("CustomPromptContents") @com.aliyun.core.annotation.Validation(required = true) private java.util.List<CustomPromptContents> customPromptContents; @com.aliyun.core.annotation.NameInMap("Enabled") private Boolean enabled; private CustomPrompt(Builder builder) { this.customPromptContents = builder.customPromptContents; this.enabled = builder.enabled; } public static Builder builder() { return new Builder(); } public static CustomPrompt create() { return builder().build(); } /** * @return customPromptContents */ public java.util.List<CustomPromptContents> getCustomPromptContents() { return this.customPromptContents; } /** * @return enabled */ public Boolean getEnabled() { return this.enabled; } public static final class Builder { private java.util.List<CustomPromptContents> customPromptContents; private Boolean enabled; private Builder() { } private Builder(CustomPrompt model) { this.customPromptContents = model.customPromptContents; this.enabled = model.enabled; } /** * <p>This parameter is required.</p> */ public Builder customPromptContents(java.util.List<CustomPromptContents> customPromptContents) { this.customPromptContents = customPromptContents; return this; } /** * Enabled. */ public Builder enabled(Boolean enabled) { this.enabled = enabled; return this; } public CustomPrompt build() { return new CustomPrompt(this); } } } /** * * {@link StartCloudNoteRequest} extends {@link TeaModel} * * <p>StartCloudNoteRequest</p> */ public static class MeetingAssistance extends TeaModel { @com.aliyun.core.annotation.NameInMap("Enabled") private Boolean enabled; @com.aliyun.core.annotation.NameInMap("MeetingAssistanceType") @com.aliyun.core.annotation.Validation(required = true) private java.util.List<String> meetingAssistanceType; private MeetingAssistance(Builder builder) { this.enabled = builder.enabled; this.meetingAssistanceType = builder.meetingAssistanceType; } public static Builder builder() { return new Builder(); } public static MeetingAssistance create() { return builder().build(); } /** * @return enabled */ public Boolean getEnabled() { return this.enabled; } /** * @return meetingAssistanceType */ public java.util.List<String> getMeetingAssistanceType() { return this.meetingAssistanceType; } public static final class Builder { private Boolean enabled; private java.util.List<String> meetingAssistanceType; private Builder() { } private Builder(MeetingAssistance model) { this.enabled = model.enabled; this.meetingAssistanceType = model.meetingAssistanceType; } /** * Enabled. */ public Builder enabled(Boolean enabled) { this.enabled = enabled; return this; } /** * <p>This parameter is required.</p> */ public Builder meetingAssistanceType(java.util.List<String> meetingAssistanceType) { this.meetingAssistanceType = meetingAssistanceType; return this; } public MeetingAssistance build() { return new MeetingAssistance(this); } } } /** * * {@link StartCloudNoteRequest} extends {@link TeaModel} * * <p>StartCloudNoteRequest</p> */ public static class Translation extends TeaModel { @com.aliyun.core.annotation.NameInMap("TranslateLevel") private Integer translateLevel; private Translation(Builder builder) { this.translateLevel = builder.translateLevel; } public static Builder builder() { return new Builder(); } public static Translation create() { return builder().build(); } /** * @return translateLevel */ public Integer getTranslateLevel() { return this.translateLevel; } public static final class Builder { private Integer translateLevel; private Builder() { } private Builder(Translation model) { this.translateLevel = model.translateLevel; } /** * TranslateLevel. */ public Builder translateLevel(Integer translateLevel) { this.translateLevel = translateLevel; return this; } public Translation build() { return new Translation(this); } } } /** * * {@link StartCloudNoteRequest} extends {@link TeaModel} * * <p>StartCloudNoteRequest</p> */ public static class RealtimeSubtitle extends TeaModel { @com.aliyun.core.annotation.NameInMap("Enabled") private Boolean enabled; @com.aliyun.core.annotation.NameInMap("Translation") private Translation translation; private RealtimeSubtitle(Builder builder) { this.enabled = builder.enabled; this.translation = builder.translation; } public static Builder builder() { return new Builder(); } public static RealtimeSubtitle create() { return builder().build(); } /** * @return enabled */ public Boolean getEnabled() { return this.enabled; } /** * @return translation */ public Translation getTranslation() { return this.translation; } public static final class Builder { private Boolean enabled; private Translation translation; private Builder() { } private Builder(RealtimeSubtitle model) { this.enabled = model.enabled; this.translation = model.translation; } /** * Enabled. */ public Builder enabled(Boolean enabled) { this.enabled = enabled; return this; } /** * Translation. */ public Builder translation(Translation translation) { this.translation = translation; return this; } public RealtimeSubtitle build() { return new RealtimeSubtitle(this); } } } /** * * {@link StartCloudNoteRequest} extends {@link TeaModel} * * <p>StartCloudNoteRequest</p> */ public static class InspectionContents extends TeaModel { @com.aliyun.core.annotation.NameInMap("Content") @com.aliyun.core.annotation.Validation(required = true) private String content; @com.aliyun.core.annotation.NameInMap("Title") @com.aliyun.core.annotation.Validation(required = true) private String title; private InspectionContents(Builder builder) { this.content = builder.content; this.title = builder.title; } public static Builder builder() { return new Builder(); } public static InspectionContents create() { return builder().build(); } /** * @return content */ public String getContent() { return this.content; } /** * @return title */ public String getTitle() { return this.title; } public static final class Builder { private String content; private String title; private Builder() { } private Builder(InspectionContents model) { this.content = model.content; this.title = model.title; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>销售在开场白的时候主动向客户打招呼进行欢迎</p> */ public Builder content(String content) { this.content = content; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>到店欢迎-欢迎语</p> */ public Builder title(String title) { this.title = title; return this; } public InspectionContents build() { return new InspectionContents(this); } } } /** * * {@link StartCloudNoteRequest} extends {@link TeaModel} * * <p>StartCloudNoteRequest</p> */ public static class ServiceInspection extends TeaModel { @com.aliyun.core.annotation.NameInMap("Enabled") private Boolean enabled; @com.aliyun.core.annotation.NameInMap("InspectionContents") @com.aliyun.core.annotation.Validation(required = true) private java.util.List<InspectionContents> inspectionContents; @com.aliyun.core.annotation.NameInMap("InspectionIntroduction") @com.aliyun.core.annotation.Validation(required = true, maxLength = 1024) private String inspectionIntroduction; @com.aliyun.core.annotation.NameInMap("SceneIntroduction") @com.aliyun.core.annotation.Validation(required = true, maxLength = 1024) private String sceneIntroduction; private ServiceInspection(Builder builder) { this.enabled = builder.enabled; this.inspectionContents = builder.inspectionContents; this.inspectionIntroduction = builder.inspectionIntroduction; this.sceneIntroduction = builder.sceneIntroduction; } public static Builder builder() { return new Builder(); } public static ServiceInspection create() { return builder().build(); } /** * @return enabled */ public Boolean getEnabled() { return this.enabled; } /** * @return inspectionContents */ public java.util.List<InspectionContents> getInspectionContents() { return this.inspectionContents; } /** * @return inspectionIntroduction */ public String getInspectionIntroduction() { return this.inspectionIntroduction; } /** * @return sceneIntroduction */ public String getSceneIntroduction() { return this.sceneIntroduction; } public static final class Builder { private Boolean enabled; private java.util.List<InspectionContents> inspectionContents; private String inspectionIntroduction; private String sceneIntroduction; private Builder() { } private Builder(ServiceInspection model) { this.enabled = model.enabled; this.inspectionContents = model.inspectionContents; this.inspectionIntroduction = model.inspectionIntroduction; this.sceneIntroduction = model.sceneIntroduction; } /** * Enabled. */ public Builder enabled(Boolean enabled) { this.enabled = enabled; return this; } /** * <p>This parameter is required.</p> */ public Builder inspectionContents(java.util.List<InspectionContents> inspectionContents) { this.inspectionContents = inspectionContents; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>请监测对话中销售人员表现是否接待热情、态度良好</p> */ public Builder inspectionIntroduction(String inspectionIntroduction) { this.inspectionIntroduction = inspectionIntroduction; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>汽车门店线下销售场景</p> */ public Builder sceneIntroduction(String sceneIntroduction) { this.sceneIntroduction = sceneIntroduction; return this; } public ServiceInspection build() { return new ServiceInspection(this); } } } /** * * {@link StartCloudNoteRequest} extends {@link TeaModel} * * <p>StartCloudNoteRequest</p> */ public static class StorageConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("AccessKey") @com.aliyun.core.annotation.Validation(required = true, minLength = 1) private String accessKey; @com.aliyun.core.annotation.NameInMap("Bucket") @com.aliyun.core.annotation.Validation(required = true, minLength = 1) private String bucket; @com.aliyun.core.annotation.NameInMap("Region") @com.aliyun.core.annotation.Validation(required = true) private Integer region; @com.aliyun.core.annotation.NameInMap("SecretKey") @com.aliyun.core.annotation.Validation(required = true, minLength = 1) private String secretKey; @com.aliyun.core.annotation.NameInMap("Vendor") @com.aliyun.core.annotation.Validation(required = true, minimum = 1) private Integer vendor; private StorageConfig(Builder builder) { this.accessKey = builder.accessKey; this.bucket = builder.bucket; this.region = builder.region; this.secretKey = builder.secretKey; this.vendor = builder.vendor; } public static Builder builder() { return new Builder(); } public static StorageConfig create() { return builder().build(); } /** * @return accessKey */ public String getAccessKey() { return this.accessKey; } /** * @return bucket */ public String getBucket() { return this.bucket; } /** * @return region */ public Integer getRegion() { return this.region; } /** * @return secretKey */ public String getSecretKey() { return this.secretKey; } /** * @return vendor */ public Integer getVendor() { return this.vendor; } public static final class Builder { private String accessKey; private String bucket; private Integer region; private String secretKey; private Integer vendor; private Builder() { } private Builder(StorageConfig model) { this.accessKey = model.accessKey; this.bucket = model.bucket; this.region = model.region; this.secretKey = model.secretKey; this.vendor = model.vendor; } /** * <p>accessKey。</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>LTAX***</p> */ public Builder accessKey(String accessKey) { this.accessKey = accessKey; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>test-bucket-for-recording</p> */ public Builder bucket(String bucket) { this.bucket = bucket; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder region(Integer region) { this.region = region; return this; } /** * <p>secretKey。</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>APb6qWYEzKtYxE***</p> */ public Builder secretKey(String secretKey) { this.secretKey = secretKey; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder vendor(Integer vendor) { this.vendor = vendor; return this; } public StorageConfig build() { return new StorageConfig(this); } } } /** * * {@link StartCloudNoteRequest} extends {@link TeaModel} * * <p>StartCloudNoteRequest</p> */ public static class Summarization extends TeaModel { @com.aliyun.core.annotation.NameInMap("Enabled") private Boolean enabled; @com.aliyun.core.annotation.NameInMap("Type") @com.aliyun.core.annotation.Validation(required = true) private java.util.List<String> type; private Summarization(Builder builder) { this.enabled = builder.enabled; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static Summarization create() { return builder().build(); } /** * @return enabled */ public Boolean getEnabled() { return this.enabled; } /** * @return type */ public java.util.List<String> getType() { return this.type; } public static final class Builder { private Boolean enabled; private java.util.List<String> type; private Builder() { } private Builder(Summarization model) { this.enabled = model.enabled; this.type = model.type; } /** * Enabled. */ public Builder enabled(Boolean enabled) { this.enabled = enabled; return this; } /** * <p>This parameter is required.</p> */ public Builder type(java.util.List<String> type) { this.type = type; return this; } public Summarization build() { return new Summarization(this); } } } /** * * {@link StartCloudNoteRequest} extends {@link TeaModel} * * <p>StartCloudNoteRequest</p> */ public static class TextPolish extends TeaModel { @com.aliyun.core.annotation.NameInMap("Enabled") private Boolean enabled; private TextPolish(Builder builder) { this.enabled = builder.enabled; } public static Builder builder() { return new Builder(); } public static TextPolish create() { return builder().build(); } /** * @return enabled */ public Boolean getEnabled() { return this.enabled; } public static final class Builder { private Boolean enabled; private Builder() { } private Builder(TextPolish model) { this.enabled = model.enabled; } /** * Enabled. */ public Builder enabled(Boolean enabled) { this.enabled = enabled; return this; } public TextPolish build() { return new TextPolish(this); } } } /** * * {@link StartCloudNoteRequest} extends {@link TeaModel} * * <p>StartCloudNoteRequest</p> */ public static class Transcription extends TeaModel { @com.aliyun.core.annotation.NameInMap("DiarizationEnabled") private Boolean diarizationEnabled; @com.aliyun.core.annotation.NameInMap("PhraseId") @com.aliyun.core.annotation.Validation(maxLength = 50, minLength = 1) private String phraseId; @com.aliyun.core.annotation.NameInMap("SpeakerCount") private Integer speakerCount; @com.aliyun.core.annotation.NameInMap("TranscriptionLevel") private Integer transcriptionLevel; private Transcription(Builder builder) { this.diarizationEnabled = builder.diarizationEnabled; this.phraseId = builder.phraseId; this.speakerCount = builder.speakerCount; this.transcriptionLevel = builder.transcriptionLevel; } public static Builder builder() { return new Builder(); } public static Transcription create() { return builder().build(); } /** * @return diarizationEnabled */ public Boolean getDiarizationEnabled() { return this.diarizationEnabled; } /** * @return phraseId */ public String getPhraseId() { return this.phraseId; } /** * @return speakerCount */ public Integer getSpeakerCount() { return this.speakerCount; } /** * @return transcriptionLevel */ public Integer getTranscriptionLevel() { return this.transcriptionLevel; } public static final class Builder { private Boolean diarizationEnabled; private String phraseId; private Integer speakerCount; private Integer transcriptionLevel; private Builder() { } private Builder(Transcription model) { this.diarizationEnabled = model.diarizationEnabled; this.phraseId = model.phraseId; this.speakerCount = model.speakerCount; this.transcriptionLevel = model.transcriptionLevel; } /** * DiarizationEnabled. */ public Builder diarizationEnabled(Boolean diarizationEnabled) { this.diarizationEnabled = diarizationEnabled; return this; } /** * PhraseId. */ public Builder phraseId(String phraseId) { this.phraseId = phraseId; return this; } /** * SpeakerCount. */ public Builder speakerCount(Integer speakerCount) { this.speakerCount = speakerCount; return this; } /** * TranscriptionLevel. */ public Builder transcriptionLevel(Integer transcriptionLevel) { this.transcriptionLevel = transcriptionLevel; return this; } public Transcription build() { return new Transcription(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StartCloudNoteResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StartCloudNoteResponse} extends {@link TeaModel} * * <p>StartCloudNoteResponse</p> */ public class StartCloudNoteResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private StartCloudNoteResponseBody body; private StartCloudNoteResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static StartCloudNoteResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public StartCloudNoteResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<StartCloudNoteResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(StartCloudNoteResponseBody body); @Override StartCloudNoteResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<StartCloudNoteResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private StartCloudNoteResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(StartCloudNoteResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(StartCloudNoteResponseBody body) { this.body = body; return this; } @Override public StartCloudNoteResponse build() { return new StartCloudNoteResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StartCloudNoteResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StartCloudNoteResponseBody} extends {@link TeaModel} * * <p>StartCloudNoteResponseBody</p> */ public class StartCloudNoteResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; private StartCloudNoteResponseBody(Builder builder) { this.requestId = builder.requestId; this.taskId = builder.taskId; } public static Builder builder() { return new Builder(); } public static StartCloudNoteResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return taskId */ public String getTaskId() { return this.taskId; } public static final class Builder { private String requestId; private String taskId; private Builder() { } private Builder(StartCloudNoteResponseBody model) { this.requestId = model.requestId; this.taskId = model.taskId; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * TaskId. */ public Builder taskId(String taskId) { this.taskId = taskId; return this; } public StartCloudNoteResponseBody build() { return new StartCloudNoteResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StartCloudRecordRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StartCloudRecordRequest} extends {@link RequestModel} * * <p>StartCloudRecordRequest</p> */ public class StartCloudRecordRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Annotation") private String annotation; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Backgrounds") private java.util.List<Backgrounds> backgrounds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("BgColor") private BgColor bgColor; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ChannelId") @com.aliyun.core.annotation.Validation(required = true) private String channelId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClockWidgets") private java.util.List<ClockWidgets> clockWidgets; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CropMode") private Integer cropMode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Images") private java.util.List<Images> images; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("LayoutSpecifiedUsers") private LayoutSpecifiedUsers layoutSpecifiedUsers; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Panes") private java.util.List<Panes> panes; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RecordMode") private Integer recordMode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionColor") private RegionColor regionColor; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ReservePaneForNoCameraUser") private Boolean reservePaneForNoCameraUser; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ShowDefaultBackgroundOnMute") private Boolean showDefaultBackgroundOnMute; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SingleStreamingRecord") private SingleStreamingRecord singleStreamingRecord; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartWithoutChannel") private Boolean startWithoutChannel; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartWithoutChannelWaitTime") private Integer startWithoutChannelWaitTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StorageConfig") @com.aliyun.core.annotation.Validation(required = true) private StorageConfig storageConfig; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SubHighResolutionStream") private Boolean subHighResolutionStream; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskId") @com.aliyun.core.annotation.Validation(maxLength = 55, minLength = 1) private String taskId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TemplateId") @com.aliyun.core.annotation.Validation(required = true, maxLength = 128, minLength = 1) private String templateId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Texts") private java.util.List<Texts> texts; private StartCloudRecordRequest(Builder builder) { super(builder); this.annotation = builder.annotation; this.appId = builder.appId; this.backgrounds = builder.backgrounds; this.bgColor = builder.bgColor; this.channelId = builder.channelId; this.clockWidgets = builder.clockWidgets; this.cropMode = builder.cropMode; this.images = builder.images; this.layoutSpecifiedUsers = builder.layoutSpecifiedUsers; this.panes = builder.panes; this.recordMode = builder.recordMode; this.regionColor = builder.regionColor; this.reservePaneForNoCameraUser = builder.reservePaneForNoCameraUser; this.showDefaultBackgroundOnMute = builder.showDefaultBackgroundOnMute; this.singleStreamingRecord = builder.singleStreamingRecord; this.startWithoutChannel = builder.startWithoutChannel; this.startWithoutChannelWaitTime = builder.startWithoutChannelWaitTime; this.storageConfig = builder.storageConfig; this.subHighResolutionStream = builder.subHighResolutionStream; this.taskId = builder.taskId; this.templateId = builder.templateId; this.texts = builder.texts; } public static Builder builder() { return new Builder(); } public static StartCloudRecordRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return annotation */ public String getAnnotation() { return this.annotation; } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return backgrounds */ public java.util.List<Backgrounds> getBackgrounds() { return this.backgrounds; } /** * @return bgColor */ public BgColor getBgColor() { return this.bgColor; } /** * @return channelId */ public String getChannelId() { return this.channelId; } /** * @return clockWidgets */ public java.util.List<ClockWidgets> getClockWidgets() { return this.clockWidgets; } /** * @return cropMode */ public Integer getCropMode() { return this.cropMode; } /** * @return images */ public java.util.List<Images> getImages() { return this.images; } /** * @return layoutSpecifiedUsers */ public LayoutSpecifiedUsers getLayoutSpecifiedUsers() { return this.layoutSpecifiedUsers; } /** * @return panes */ public java.util.List<Panes> getPanes() { return this.panes; } /** * @return recordMode */ public Integer getRecordMode() { return this.recordMode; } /** * @return regionColor */ public RegionColor getRegionColor() { return this.regionColor; } /** * @return reservePaneForNoCameraUser */ public Boolean getReservePaneForNoCameraUser() { return this.reservePaneForNoCameraUser; } /** * @return showDefaultBackgroundOnMute */ public Boolean getShowDefaultBackgroundOnMute() { return this.showDefaultBackgroundOnMute; } /** * @return singleStreamingRecord */ public SingleStreamingRecord getSingleStreamingRecord() { return this.singleStreamingRecord; } /** * @return startWithoutChannel */ public Boolean getStartWithoutChannel() { return this.startWithoutChannel; } /** * @return startWithoutChannelWaitTime */ public Integer getStartWithoutChannelWaitTime() { return this.startWithoutChannelWaitTime; } /** * @return storageConfig */ public StorageConfig getStorageConfig() { return this.storageConfig; } /** * @return subHighResolutionStream */ public Boolean getSubHighResolutionStream() { return this.subHighResolutionStream; } /** * @return taskId */ public String getTaskId() { return this.taskId; } /** * @return templateId */ public String getTemplateId() { return this.templateId; } /** * @return texts */ public java.util.List<Texts> getTexts() { return this.texts; } public static final class Builder extends Request.Builder<StartCloudRecordRequest, Builder> { private String annotation; private String appId; private java.util.List<Backgrounds> backgrounds; private BgColor bgColor; private String channelId; private java.util.List<ClockWidgets> clockWidgets; private Integer cropMode; private java.util.List<Images> images; private LayoutSpecifiedUsers layoutSpecifiedUsers; private java.util.List<Panes> panes; private Integer recordMode; private RegionColor regionColor; private Boolean reservePaneForNoCameraUser; private Boolean showDefaultBackgroundOnMute; private SingleStreamingRecord singleStreamingRecord; private Boolean startWithoutChannel; private Integer startWithoutChannelWaitTime; private StorageConfig storageConfig; private Boolean subHighResolutionStream; private String taskId; private String templateId; private java.util.List<Texts> texts; private Builder() { super(); } private Builder(StartCloudRecordRequest request) { super(request); this.annotation = request.annotation; this.appId = request.appId; this.backgrounds = request.backgrounds; this.bgColor = request.bgColor; this.channelId = request.channelId; this.clockWidgets = request.clockWidgets; this.cropMode = request.cropMode; this.images = request.images; this.layoutSpecifiedUsers = request.layoutSpecifiedUsers; this.panes = request.panes; this.recordMode = request.recordMode; this.regionColor = request.regionColor; this.reservePaneForNoCameraUser = request.reservePaneForNoCameraUser; this.showDefaultBackgroundOnMute = request.showDefaultBackgroundOnMute; this.singleStreamingRecord = request.singleStreamingRecord; this.startWithoutChannel = request.startWithoutChannel; this.startWithoutChannelWaitTime = request.startWithoutChannelWaitTime; this.storageConfig = request.storageConfig; this.subHighResolutionStream = request.subHighResolutionStream; this.taskId = request.taskId; this.templateId = request.templateId; this.texts = request.texts; } /** * Annotation. */ public Builder annotation(String annotation) { this.putQueryParameter("Annotation", annotation); this.annotation = annotation; return this; } /** * <p>appId</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>eo85****</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * Backgrounds. */ public Builder backgrounds(java.util.List<Backgrounds> backgrounds) { this.putQueryParameter("Backgrounds", backgrounds); this.backgrounds = backgrounds; return this; } /** * BgColor. */ public Builder bgColor(BgColor bgColor) { this.putQueryParameter("BgColor", bgColor); this.bgColor = bgColor; return this; } /** * <p>channelName</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>testid</p> */ public Builder channelId(String channelId) { this.putQueryParameter("ChannelId", channelId); this.channelId = channelId; return this; } /** * ClockWidgets. */ public Builder clockWidgets(java.util.List<ClockWidgets> clockWidgets) { this.putQueryParameter("ClockWidgets", clockWidgets); this.clockWidgets = clockWidgets; return this; } /** * CropMode. */ public Builder cropMode(Integer cropMode) { this.putQueryParameter("CropMode", cropMode); this.cropMode = cropMode; return this; } /** * Images. */ public Builder images(java.util.List<Images> images) { this.putQueryParameter("Images", images); this.images = images; return this; } /** * LayoutSpecifiedUsers. */ public Builder layoutSpecifiedUsers(LayoutSpecifiedUsers layoutSpecifiedUsers) { String layoutSpecifiedUsersShrink = shrink(layoutSpecifiedUsers, "LayoutSpecifiedUsers", "json"); this.putQueryParameter("LayoutSpecifiedUsers", layoutSpecifiedUsersShrink); this.layoutSpecifiedUsers = layoutSpecifiedUsers; return this; } /** * <p>panes</p> */ public Builder panes(java.util.List<Panes> panes) { this.putQueryParameter("Panes", panes); this.panes = panes; return this; } /** * RecordMode. */ public Builder recordMode(Integer recordMode) { this.putQueryParameter("RecordMode", recordMode); this.recordMode = recordMode; return this; } /** * RegionColor. */ public Builder regionColor(RegionColor regionColor) { this.putQueryParameter("RegionColor", regionColor); this.regionColor = regionColor; return this; } /** * ReservePaneForNoCameraUser. */ public Builder reservePaneForNoCameraUser(Boolean reservePaneForNoCameraUser) { this.putQueryParameter("ReservePaneForNoCameraUser", reservePaneForNoCameraUser); this.reservePaneForNoCameraUser = reservePaneForNoCameraUser; return this; } /** * ShowDefaultBackgroundOnMute. */ public Builder showDefaultBackgroundOnMute(Boolean showDefaultBackgroundOnMute) { this.putQueryParameter("ShowDefaultBackgroundOnMute", showDefaultBackgroundOnMute); this.showDefaultBackgroundOnMute = showDefaultBackgroundOnMute; return this; } /** * SingleStreamingRecord. */ public Builder singleStreamingRecord(SingleStreamingRecord singleStreamingRecord) { String singleStreamingRecordShrink = shrink(singleStreamingRecord, "SingleStreamingRecord", "json"); this.putQueryParameter("SingleStreamingRecord", singleStreamingRecordShrink); this.singleStreamingRecord = singleStreamingRecord; return this; } /** * StartWithoutChannel. */ public Builder startWithoutChannel(Boolean startWithoutChannel) { this.putQueryParameter("StartWithoutChannel", startWithoutChannel); this.startWithoutChannel = startWithoutChannel; return this; } /** * StartWithoutChannelWaitTime. */ public Builder startWithoutChannelWaitTime(Integer startWithoutChannelWaitTime) { this.putQueryParameter("StartWithoutChannelWaitTime", startWithoutChannelWaitTime); this.startWithoutChannelWaitTime = startWithoutChannelWaitTime; return this; } /** * <p>storageConfig</p> * <p>This parameter is required.</p> */ public Builder storageConfig(StorageConfig storageConfig) { this.putQueryParameter("StorageConfig", storageConfig); this.storageConfig = storageConfig; return this; } /** * SubHighResolutionStream. */ public Builder subHighResolutionStream(Boolean subHighResolutionStream) { this.putQueryParameter("SubHighResolutionStream", subHighResolutionStream); this.subHighResolutionStream = subHighResolutionStream; return this; } /** * <p>taskId</p> * * <strong>example:</strong> * <p>123</p> */ public Builder taskId(String taskId) { this.putQueryParameter("TaskId", taskId); this.taskId = taskId; return this; } /** * <p>templateId</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>567</p> */ public Builder templateId(String templateId) { this.putQueryParameter("TemplateId", templateId); this.templateId = templateId; return this; } /** * Texts. */ public Builder texts(java.util.List<Texts> texts) { this.putQueryParameter("Texts", texts); this.texts = texts; return this; } @Override public StartCloudRecordRequest build() { return new StartCloudRecordRequest(this); } } /** * * {@link StartCloudRecordRequest} extends {@link TeaModel} * * <p>StartCloudRecordRequest</p> */ public static class Backgrounds extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") @com.aliyun.core.annotation.Validation(maximum = 1) private Double alpha; @com.aliyun.core.annotation.NameInMap("BackgroundCropMode") private Integer backgroundCropMode; @com.aliyun.core.annotation.NameInMap("Height") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double height; @com.aliyun.core.annotation.NameInMap("Layer") @com.aliyun.core.annotation.Validation(maximum = 100) private Integer layer; @com.aliyun.core.annotation.NameInMap("Url") @com.aliyun.core.annotation.Validation(required = true, maxLength = 1024, minLength = 1) private String url; @com.aliyun.core.annotation.NameInMap("Width") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double width; @com.aliyun.core.annotation.NameInMap("X") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double x; @com.aliyun.core.annotation.NameInMap("Y") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double y; private Backgrounds(Builder builder) { this.alpha = builder.alpha; this.backgroundCropMode = builder.backgroundCropMode; this.height = builder.height; this.layer = builder.layer; this.url = builder.url; this.width = builder.width; this.x = builder.x; this.y = builder.y; } public static Builder builder() { return new Builder(); } public static Backgrounds create() { return builder().build(); } /** * @return alpha */ public Double getAlpha() { return this.alpha; } /** * @return backgroundCropMode */ public Integer getBackgroundCropMode() { return this.backgroundCropMode; } /** * @return height */ public Double getHeight() { return this.height; } /** * @return layer */ public Integer getLayer() { return this.layer; } /** * @return url */ public String getUrl() { return this.url; } /** * @return width */ public Double getWidth() { return this.width; } /** * @return x */ public Double getX() { return this.x; } /** * @return y */ public Double getY() { return this.y; } public static final class Builder { private Double alpha; private Integer backgroundCropMode; private Double height; private Integer layer; private String url; private Double width; private Double x; private Double y; private Builder() { } private Builder(Backgrounds model) { this.alpha = model.alpha; this.backgroundCropMode = model.backgroundCropMode; this.height = model.height; this.layer = model.layer; this.url = model.url; this.width = model.width; this.x = model.x; this.y = model.y; } /** * Alpha. */ public Builder alpha(Double alpha) { this.alpha = alpha; return this; } /** * BackgroundCropMode. */ public Builder backgroundCropMode(Integer backgroundCropMode) { this.backgroundCropMode = backgroundCropMode; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder height(Double height) { this.height = height; return this; } /** * Layer. */ public Builder layer(Integer layer) { this.layer = layer; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p><a href="https://aliyun.com/123.jpg">https://aliyun.com/123.jpg</a></p> */ public Builder url(String url) { this.url = url; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder width(Double width) { this.width = width; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder x(Double x) { this.x = x; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder y(Double y) { this.y = y; return this; } public Backgrounds build() { return new Backgrounds(this); } } } /** * * {@link StartCloudRecordRequest} extends {@link TeaModel} * * <p>StartCloudRecordRequest</p> */ public static class BgColor extends TeaModel { @com.aliyun.core.annotation.NameInMap("B") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer b; @com.aliyun.core.annotation.NameInMap("G") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer g; @com.aliyun.core.annotation.NameInMap("R") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer r; private BgColor(Builder builder) { this.b = builder.b; this.g = builder.g; this.r = builder.r; } public static Builder builder() { return new Builder(); } public static BgColor create() { return builder().build(); } /** * @return b */ public Integer getB() { return this.b; } /** * @return g */ public Integer getG() { return this.g; } /** * @return r */ public Integer getR() { return this.r; } public static final class Builder { private Integer b; private Integer g; private Integer r; private Builder() { } private Builder(BgColor model) { this.b = model.b; this.g = model.g; this.r = model.r; } /** * B. */ public Builder b(Integer b) { this.b = b; return this; } /** * G. */ public Builder g(Integer g) { this.g = g; return this; } /** * R. */ public Builder r(Integer r) { this.r = r; return this; } public BgColor build() { return new BgColor(this); } } } /** * * {@link StartCloudRecordRequest} extends {@link TeaModel} * * <p>StartCloudRecordRequest</p> */ public static class BoxColor extends TeaModel { @com.aliyun.core.annotation.NameInMap("B") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer b; @com.aliyun.core.annotation.NameInMap("G") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer g; @com.aliyun.core.annotation.NameInMap("R") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer r; private BoxColor(Builder builder) { this.b = builder.b; this.g = builder.g; this.r = builder.r; } public static Builder builder() { return new Builder(); } public static BoxColor create() { return builder().build(); } /** * @return b */ public Integer getB() { return this.b; } /** * @return g */ public Integer getG() { return this.g; } /** * @return r */ public Integer getR() { return this.r; } public static final class Builder { private Integer b; private Integer g; private Integer r; private Builder() { } private Builder(BoxColor model) { this.b = model.b; this.g = model.g; this.r = model.r; } /** * B. */ public Builder b(Integer b) { this.b = b; return this; } /** * G. */ public Builder g(Integer g) { this.g = g; return this; } /** * R. */ public Builder r(Integer r) { this.r = r; return this; } public BoxColor build() { return new BoxColor(this); } } } /** * * {@link StartCloudRecordRequest} extends {@link TeaModel} * * <p>StartCloudRecordRequest</p> */ public static class FontColor extends TeaModel { @com.aliyun.core.annotation.NameInMap("B") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer b; @com.aliyun.core.annotation.NameInMap("G") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer g; @com.aliyun.core.annotation.NameInMap("R") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer r; private FontColor(Builder builder) { this.b = builder.b; this.g = builder.g; this.r = builder.r; } public static Builder builder() { return new Builder(); } public static FontColor create() { return builder().build(); } /** * @return b */ public Integer getB() { return this.b; } /** * @return g */ public Integer getG() { return this.g; } /** * @return r */ public Integer getR() { return this.r; } public static final class Builder { private Integer b; private Integer g; private Integer r; private Builder() { } private Builder(FontColor model) { this.b = model.b; this.g = model.g; this.r = model.r; } /** * B. */ public Builder b(Integer b) { this.b = b; return this; } /** * G. */ public Builder g(Integer g) { this.g = g; return this; } /** * R. */ public Builder r(Integer r) { this.r = r; return this; } public FontColor build() { return new FontColor(this); } } } /** * * {@link StartCloudRecordRequest} extends {@link TeaModel} * * <p>StartCloudRecordRequest</p> */ public static class ClockWidgets extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") @com.aliyun.core.annotation.Validation(maximum = 1) private Double alpha; @com.aliyun.core.annotation.NameInMap("BoxAlpha") @com.aliyun.core.annotation.Validation(maximum = 1) private Double boxAlpha; @com.aliyun.core.annotation.NameInMap("BoxBorderw") @com.aliyun.core.annotation.Validation(maximum = 10, minimum = 1) private Integer boxBorderw; @com.aliyun.core.annotation.NameInMap("BoxColor") private BoxColor boxColor; @com.aliyun.core.annotation.NameInMap("Font") @com.aliyun.core.annotation.Validation(maximum = 9) private Integer font; @com.aliyun.core.annotation.NameInMap("FontColor") private FontColor fontColor; @com.aliyun.core.annotation.NameInMap("FontSize") @com.aliyun.core.annotation.Validation(maximum = 72) private Integer fontSize; @com.aliyun.core.annotation.NameInMap("HasBox") private Boolean hasBox; @com.aliyun.core.annotation.NameInMap("Layer") @com.aliyun.core.annotation.Validation(maximum = 100) private Integer layer; @com.aliyun.core.annotation.NameInMap("X") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double x; @com.aliyun.core.annotation.NameInMap("Y") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double y; @com.aliyun.core.annotation.NameInMap("Zone") @com.aliyun.core.annotation.Validation(maximum = 12) private Integer zone; private ClockWidgets(Builder builder) { this.alpha = builder.alpha; this.boxAlpha = builder.boxAlpha; this.boxBorderw = builder.boxBorderw; this.boxColor = builder.boxColor; this.font = builder.font; this.fontColor = builder.fontColor; this.fontSize = builder.fontSize; this.hasBox = builder.hasBox; this.layer = builder.layer; this.x = builder.x; this.y = builder.y; this.zone = builder.zone; } public static Builder builder() { return new Builder(); } public static ClockWidgets create() { return builder().build(); } /** * @return alpha */ public Double getAlpha() { return this.alpha; } /** * @return boxAlpha */ public Double getBoxAlpha() { return this.boxAlpha; } /** * @return boxBorderw */ public Integer getBoxBorderw() { return this.boxBorderw; } /** * @return boxColor */ public BoxColor getBoxColor() { return this.boxColor; } /** * @return font */ public Integer getFont() { return this.font; } /** * @return fontColor */ public FontColor getFontColor() { return this.fontColor; } /** * @return fontSize */ public Integer getFontSize() { return this.fontSize; } /** * @return hasBox */ public Boolean getHasBox() { return this.hasBox; } /** * @return layer */ public Integer getLayer() { return this.layer; } /** * @return x */ public Double getX() { return this.x; } /** * @return y */ public Double getY() { return this.y; } /** * @return zone */ public Integer getZone() { return this.zone; } public static final class Builder { private Double alpha; private Double boxAlpha; private Integer boxBorderw; private BoxColor boxColor; private Integer font; private FontColor fontColor; private Integer fontSize; private Boolean hasBox; private Integer layer; private Double x; private Double y; private Integer zone; private Builder() { } private Builder(ClockWidgets model) { this.alpha = model.alpha; this.boxAlpha = model.boxAlpha; this.boxBorderw = model.boxBorderw; this.boxColor = model.boxColor; this.font = model.font; this.fontColor = model.fontColor; this.fontSize = model.fontSize; this.hasBox = model.hasBox; this.layer = model.layer; this.x = model.x; this.y = model.y; this.zone = model.zone; } /** * Alpha. */ public Builder alpha(Double alpha) { this.alpha = alpha; return this; } /** * BoxAlpha. */ public Builder boxAlpha(Double boxAlpha) { this.boxAlpha = boxAlpha; return this; } /** * BoxBorderw. */ public Builder boxBorderw(Integer boxBorderw) { this.boxBorderw = boxBorderw; return this; } /** * BoxColor. */ public Builder boxColor(BoxColor boxColor) { this.boxColor = boxColor; return this; } /** * Font. */ public Builder font(Integer font) { this.font = font; return this; } /** * FontColor. */ public Builder fontColor(FontColor fontColor) { this.fontColor = fontColor; return this; } /** * FontSize. */ public Builder fontSize(Integer fontSize) { this.fontSize = fontSize; return this; } /** * HasBox. */ public Builder hasBox(Boolean hasBox) { this.hasBox = hasBox; return this; } /** * Layer. */ public Builder layer(Integer layer) { this.layer = layer; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder x(Double x) { this.x = x; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder y(Double y) { this.y = y; return this; } /** * Zone. */ public Builder zone(Integer zone) { this.zone = zone; return this; } public ClockWidgets build() { return new ClockWidgets(this); } } } /** * * {@link StartCloudRecordRequest} extends {@link TeaModel} * * <p>StartCloudRecordRequest</p> */ public static class Images extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") @com.aliyun.core.annotation.Validation(maximum = 1) private Double alpha; @com.aliyun.core.annotation.NameInMap("Height") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double height; @com.aliyun.core.annotation.NameInMap("ImageCropMode") private Integer imageCropMode; @com.aliyun.core.annotation.NameInMap("Layer") @com.aliyun.core.annotation.Validation(maximum = 100) private Integer layer; @com.aliyun.core.annotation.NameInMap("Url") @com.aliyun.core.annotation.Validation(required = true, maxLength = 1024, minLength = 1) private String url; @com.aliyun.core.annotation.NameInMap("Width") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double width; @com.aliyun.core.annotation.NameInMap("X") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double x; @com.aliyun.core.annotation.NameInMap("Y") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double y; private Images(Builder builder) { this.alpha = builder.alpha; this.height = builder.height; this.imageCropMode = builder.imageCropMode; this.layer = builder.layer; this.url = builder.url; this.width = builder.width; this.x = builder.x; this.y = builder.y; } public static Builder builder() { return new Builder(); } public static Images create() { return builder().build(); } /** * @return alpha */ public Double getAlpha() { return this.alpha; } /** * @return height */ public Double getHeight() { return this.height; } /** * @return imageCropMode */ public Integer getImageCropMode() { return this.imageCropMode; } /** * @return layer */ public Integer getLayer() { return this.layer; } /** * @return url */ public String getUrl() { return this.url; } /** * @return width */ public Double getWidth() { return this.width; } /** * @return x */ public Double getX() { return this.x; } /** * @return y */ public Double getY() { return this.y; } public static final class Builder { private Double alpha; private Double height; private Integer imageCropMode; private Integer layer; private String url; private Double width; private Double x; private Double y; private Builder() { } private Builder(Images model) { this.alpha = model.alpha; this.height = model.height; this.imageCropMode = model.imageCropMode; this.layer = model.layer; this.url = model.url; this.width = model.width; this.x = model.x; this.y = model.y; } /** * Alpha. */ public Builder alpha(Double alpha) { this.alpha = alpha; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder height(Double height) { this.height = height; return this; } /** * ImageCropMode. */ public Builder imageCropMode(Integer imageCropMode) { this.imageCropMode = imageCropMode; return this; } /** * Layer. */ public Builder layer(Integer layer) { this.layer = layer; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p><a href="https://aliyun.com/123xxx.jpg">https://aliyun.com/123xxx.jpg</a></p> */ public Builder url(String url) { this.url = url; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder width(Double width) { this.width = width; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder x(Double x) { this.x = x; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.3</p> */ public Builder y(Double y) { this.y = y; return this; } public Images build() { return new Images(this); } } } /** * * {@link StartCloudRecordRequest} extends {@link TeaModel} * * <p>StartCloudRecordRequest</p> */ public static class LayoutSpecifiedUsers extends TeaModel { @com.aliyun.core.annotation.NameInMap("Ids") @com.aliyun.core.annotation.Validation(required = true) private java.util.List<String> ids; @com.aliyun.core.annotation.NameInMap("Type") @com.aliyun.core.annotation.Validation(required = true) private String type; private LayoutSpecifiedUsers(Builder builder) { this.ids = builder.ids; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static LayoutSpecifiedUsers create() { return builder().build(); } /** * @return ids */ public java.util.List<String> getIds() { return this.ids; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private java.util.List<String> ids; private String type; private Builder() { } private Builder(LayoutSpecifiedUsers model) { this.ids = model.ids; this.type = model.type; } /** * <p>This parameter is required.</p> */ public Builder ids(java.util.List<String> ids) { this.ids = ids; return this; } /** * <p>This parameter is required.</p> */ public Builder type(String type) { this.type = type; return this; } public LayoutSpecifiedUsers build() { return new LayoutSpecifiedUsers(this); } } } /** * * {@link StartCloudRecordRequest} extends {@link TeaModel} * * <p>StartCloudRecordRequest</p> */ public static class PanesBackgrounds extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") @com.aliyun.core.annotation.Validation(maximum = 1) private Double alpha; @com.aliyun.core.annotation.NameInMap("Display") private String display; @com.aliyun.core.annotation.NameInMap("Height") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double height; @com.aliyun.core.annotation.NameInMap("Layer") @com.aliyun.core.annotation.Validation(maximum = 100) private Integer layer; @com.aliyun.core.annotation.NameInMap("PaneBackgroundCropMode") private Integer paneBackgroundCropMode; @com.aliyun.core.annotation.NameInMap("Url") @com.aliyun.core.annotation.Validation(required = true, maxLength = 1024, minLength = 1) private String url; @com.aliyun.core.annotation.NameInMap("Width") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double width; @com.aliyun.core.annotation.NameInMap("X") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double x; @com.aliyun.core.annotation.NameInMap("Y") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double y; private PanesBackgrounds(Builder builder) { this.alpha = builder.alpha; this.display = builder.display; this.height = builder.height; this.layer = builder.layer; this.paneBackgroundCropMode = builder.paneBackgroundCropMode; this.url = builder.url; this.width = builder.width; this.x = builder.x; this.y = builder.y; } public static Builder builder() { return new Builder(); } public static PanesBackgrounds create() { return builder().build(); } /** * @return alpha */ public Double getAlpha() { return this.alpha; } /** * @return display */ public String getDisplay() { return this.display; } /** * @return height */ public Double getHeight() { return this.height; } /** * @return layer */ public Integer getLayer() { return this.layer; } /** * @return paneBackgroundCropMode */ public Integer getPaneBackgroundCropMode() { return this.paneBackgroundCropMode; } /** * @return url */ public String getUrl() { return this.url; } /** * @return width */ public Double getWidth() { return this.width; } /** * @return x */ public Double getX() { return this.x; } /** * @return y */ public Double getY() { return this.y; } public static final class Builder { private Double alpha; private String display; private Double height; private Integer layer; private Integer paneBackgroundCropMode; private String url; private Double width; private Double x; private Double y; private Builder() { } private Builder(PanesBackgrounds model) { this.alpha = model.alpha; this.display = model.display; this.height = model.height; this.layer = model.layer; this.paneBackgroundCropMode = model.paneBackgroundCropMode; this.url = model.url; this.width = model.width; this.x = model.x; this.y = model.y; } /** * Alpha. */ public Builder alpha(Double alpha) { this.alpha = alpha; return this; } /** * Display. */ public Builder display(String display) { this.display = display; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder height(Double height) { this.height = height; return this; } /** * Layer. */ public Builder layer(Integer layer) { this.layer = layer; return this; } /** * PaneBackgroundCropMode. */ public Builder paneBackgroundCropMode(Integer paneBackgroundCropMode) { this.paneBackgroundCropMode = paneBackgroundCropMode; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p><a href="https://aliyun.com/123xx.jpg">https://aliyun.com/123xx.jpg</a></p> */ public Builder url(String url) { this.url = url; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder width(Double width) { this.width = width; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder x(Double x) { this.x = x; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder y(Double y) { this.y = y; return this; } public PanesBackgrounds build() { return new PanesBackgrounds(this); } } } /** * * {@link StartCloudRecordRequest} extends {@link TeaModel} * * <p>StartCloudRecordRequest</p> */ public static class PanesImages extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") @com.aliyun.core.annotation.Validation(maximum = 1) private Double alpha; @com.aliyun.core.annotation.NameInMap("Display") private String display; @com.aliyun.core.annotation.NameInMap("Height") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double height; @com.aliyun.core.annotation.NameInMap("Layer") @com.aliyun.core.annotation.Validation(maximum = 100) private Integer layer; @com.aliyun.core.annotation.NameInMap("PaneImageCropMode") private Integer paneImageCropMode; @com.aliyun.core.annotation.NameInMap("Url") @com.aliyun.core.annotation.Validation(required = true, maxLength = 1024, minLength = 1) private String url; @com.aliyun.core.annotation.NameInMap("Width") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double width; @com.aliyun.core.annotation.NameInMap("X") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double x; @com.aliyun.core.annotation.NameInMap("Y") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double y; private PanesImages(Builder builder) { this.alpha = builder.alpha; this.display = builder.display; this.height = builder.height; this.layer = builder.layer; this.paneImageCropMode = builder.paneImageCropMode; this.url = builder.url; this.width = builder.width; this.x = builder.x; this.y = builder.y; } public static Builder builder() { return new Builder(); } public static PanesImages create() { return builder().build(); } /** * @return alpha */ public Double getAlpha() { return this.alpha; } /** * @return display */ public String getDisplay() { return this.display; } /** * @return height */ public Double getHeight() { return this.height; } /** * @return layer */ public Integer getLayer() { return this.layer; } /** * @return paneImageCropMode */ public Integer getPaneImageCropMode() { return this.paneImageCropMode; } /** * @return url */ public String getUrl() { return this.url; } /** * @return width */ public Double getWidth() { return this.width; } /** * @return x */ public Double getX() { return this.x; } /** * @return y */ public Double getY() { return this.y; } public static final class Builder { private Double alpha; private String display; private Double height; private Integer layer; private Integer paneImageCropMode; private String url; private Double width; private Double x; private Double y; private Builder() { } private Builder(PanesImages model) { this.alpha = model.alpha; this.display = model.display; this.height = model.height; this.layer = model.layer; this.paneImageCropMode = model.paneImageCropMode; this.url = model.url; this.width = model.width; this.x = model.x; this.y = model.y; } /** * Alpha. */ public Builder alpha(Double alpha) { this.alpha = alpha; return this; } /** * Display. */ public Builder display(String display) { this.display = display; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder height(Double height) { this.height = height; return this; } /** * Layer. */ public Builder layer(Integer layer) { this.layer = layer; return this; } /** * PaneImageCropMode. */ public Builder paneImageCropMode(Integer paneImageCropMode) { this.paneImageCropMode = paneImageCropMode; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p><a href="https://aliyun.com/123xx.jpg">https://aliyun.com/123xx.jpg</a></p> */ public Builder url(String url) { this.url = url; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder width(Double width) { this.width = width; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder x(Double x) { this.x = x; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder y(Double y) { this.y = y; return this; } public PanesImages build() { return new PanesImages(this); } } } /** * * {@link StartCloudRecordRequest} extends {@link TeaModel} * * <p>StartCloudRecordRequest</p> */ public static class TextsBoxColor extends TeaModel { @com.aliyun.core.annotation.NameInMap("B") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer b; @com.aliyun.core.annotation.NameInMap("G") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer g; @com.aliyun.core.annotation.NameInMap("R") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer r; private TextsBoxColor(Builder builder) { this.b = builder.b; this.g = builder.g; this.r = builder.r; } public static Builder builder() { return new Builder(); } public static TextsBoxColor create() { return builder().build(); } /** * @return b */ public Integer getB() { return this.b; } /** * @return g */ public Integer getG() { return this.g; } /** * @return r */ public Integer getR() { return this.r; } public static final class Builder { private Integer b; private Integer g; private Integer r; private Builder() { } private Builder(TextsBoxColor model) { this.b = model.b; this.g = model.g; this.r = model.r; } /** * B. */ public Builder b(Integer b) { this.b = b; return this; } /** * G. */ public Builder g(Integer g) { this.g = g; return this; } /** * R. */ public Builder r(Integer r) { this.r = r; return this; } public TextsBoxColor build() { return new TextsBoxColor(this); } } } /** * * {@link StartCloudRecordRequest} extends {@link TeaModel} * * <p>StartCloudRecordRequest</p> */ public static class TextsFontColor extends TeaModel { @com.aliyun.core.annotation.NameInMap("B") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer b; @com.aliyun.core.annotation.NameInMap("G") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer g; @com.aliyun.core.annotation.NameInMap("R") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer r; private TextsFontColor(Builder builder) { this.b = builder.b; this.g = builder.g; this.r = builder.r; } public static Builder builder() { return new Builder(); } public static TextsFontColor create() { return builder().build(); } /** * @return b */ public Integer getB() { return this.b; } /** * @return g */ public Integer getG() { return this.g; } /** * @return r */ public Integer getR() { return this.r; } public static final class Builder { private Integer b; private Integer g; private Integer r; private Builder() { } private Builder(TextsFontColor model) { this.b = model.b; this.g = model.g; this.r = model.r; } /** * B. */ public Builder b(Integer b) { this.b = b; return this; } /** * G. */ public Builder g(Integer g) { this.g = g; return this; } /** * R. */ public Builder r(Integer r) { this.r = r; return this; } public TextsFontColor build() { return new TextsFontColor(this); } } } /** * * {@link StartCloudRecordRequest} extends {@link TeaModel} * * <p>StartCloudRecordRequest</p> */ public static class PanesTexts extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") @com.aliyun.core.annotation.Validation(maximum = 1) private Double alpha; @com.aliyun.core.annotation.NameInMap("BoxAlpha") @com.aliyun.core.annotation.Validation(maximum = 1) private Double boxAlpha; @com.aliyun.core.annotation.NameInMap("BoxBorderw") @com.aliyun.core.annotation.Validation(maximum = 10, minimum = 1) private Integer boxBorderw; @com.aliyun.core.annotation.NameInMap("BoxColor") private TextsBoxColor boxColor; @com.aliyun.core.annotation.NameInMap("Display") private String display; @com.aliyun.core.annotation.NameInMap("Font") @com.aliyun.core.annotation.Validation(maximum = 9) private Integer font; @com.aliyun.core.annotation.NameInMap("FontColor") private TextsFontColor fontColor; @com.aliyun.core.annotation.NameInMap("FontSize") @com.aliyun.core.annotation.Validation(maximum = 72) private Integer fontSize; @com.aliyun.core.annotation.NameInMap("HasBox") private Boolean hasBox; @com.aliyun.core.annotation.NameInMap("Layer") @com.aliyun.core.annotation.Validation(maximum = 100) private Integer layer; @com.aliyun.core.annotation.NameInMap("Texture") @com.aliyun.core.annotation.Validation(required = true, maxLength = 128, minLength = 1) private String texture; @com.aliyun.core.annotation.NameInMap("X") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double x; @com.aliyun.core.annotation.NameInMap("Y") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double y; private PanesTexts(Builder builder) { this.alpha = builder.alpha; this.boxAlpha = builder.boxAlpha; this.boxBorderw = builder.boxBorderw; this.boxColor = builder.boxColor; this.display = builder.display; this.font = builder.font; this.fontColor = builder.fontColor; this.fontSize = builder.fontSize; this.hasBox = builder.hasBox; this.layer = builder.layer; this.texture = builder.texture; this.x = builder.x; this.y = builder.y; } public static Builder builder() { return new Builder(); } public static PanesTexts create() { return builder().build(); } /** * @return alpha */ public Double getAlpha() { return this.alpha; } /** * @return boxAlpha */ public Double getBoxAlpha() { return this.boxAlpha; } /** * @return boxBorderw */ public Integer getBoxBorderw() { return this.boxBorderw; } /** * @return boxColor */ public TextsBoxColor getBoxColor() { return this.boxColor; } /** * @return display */ public String getDisplay() { return this.display; } /** * @return font */ public Integer getFont() { return this.font; } /** * @return fontColor */ public TextsFontColor getFontColor() { return this.fontColor; } /** * @return fontSize */ public Integer getFontSize() { return this.fontSize; } /** * @return hasBox */ public Boolean getHasBox() { return this.hasBox; } /** * @return layer */ public Integer getLayer() { return this.layer; } /** * @return texture */ public String getTexture() { return this.texture; } /** * @return x */ public Double getX() { return this.x; } /** * @return y */ public Double getY() { return this.y; } public static final class Builder { private Double alpha; private Double boxAlpha; private Integer boxBorderw; private TextsBoxColor boxColor; private String display; private Integer font; private TextsFontColor fontColor; private Integer fontSize; private Boolean hasBox; private Integer layer; private String texture; private Double x; private Double y; private Builder() { } private Builder(PanesTexts model) { this.alpha = model.alpha; this.boxAlpha = model.boxAlpha; this.boxBorderw = model.boxBorderw; this.boxColor = model.boxColor; this.display = model.display; this.font = model.font; this.fontColor = model.fontColor; this.fontSize = model.fontSize; this.hasBox = model.hasBox; this.layer = model.layer; this.texture = model.texture; this.x = model.x; this.y = model.y; } /** * Alpha. */ public Builder alpha(Double alpha) { this.alpha = alpha; return this; } /** * BoxAlpha. */ public Builder boxAlpha(Double boxAlpha) { this.boxAlpha = boxAlpha; return this; } /** * BoxBorderw. */ public Builder boxBorderw(Integer boxBorderw) { this.boxBorderw = boxBorderw; return this; } /** * BoxColor. */ public Builder boxColor(TextsBoxColor boxColor) { this.boxColor = boxColor; return this; } /** * Display. */ public Builder display(String display) { this.display = display; return this; } /** * Font. */ public Builder font(Integer font) { this.font = font; return this; } /** * FontColor. */ public Builder fontColor(TextsFontColor fontColor) { this.fontColor = fontColor; return this; } /** * FontSize. */ public Builder fontSize(Integer fontSize) { this.fontSize = fontSize; return this; } /** * HasBox. */ public Builder hasBox(Boolean hasBox) { this.hasBox = hasBox; return this; } /** * Layer. */ public Builder layer(Integer layer) { this.layer = layer; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>文字水印</p> */ public Builder texture(String texture) { this.texture = texture; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder x(Double x) { this.x = x; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder y(Double y) { this.y = y; return this; } public PanesTexts build() { return new PanesTexts(this); } } } /** * * {@link StartCloudRecordRequest} extends {@link TeaModel} * * <p>StartCloudRecordRequest</p> */ public static class Whiteboard extends TeaModel { @com.aliyun.core.annotation.NameInMap("WhiteboardId") private String whiteboardId; private Whiteboard(Builder builder) { this.whiteboardId = builder.whiteboardId; } public static Builder builder() { return new Builder(); } public static Whiteboard create() { return builder().build(); } /** * @return whiteboardId */ public String getWhiteboardId() { return this.whiteboardId; } public static final class Builder { private String whiteboardId; private Builder() { } private Builder(Whiteboard model) { this.whiteboardId = model.whiteboardId; } /** * WhiteboardId. */ public Builder whiteboardId(String whiteboardId) { this.whiteboardId = whiteboardId; return this; } public Whiteboard build() { return new Whiteboard(this); } } } /** * * {@link StartCloudRecordRequest} extends {@link TeaModel} * * <p>StartCloudRecordRequest</p> */ public static class Panes extends TeaModel { @com.aliyun.core.annotation.NameInMap("Backgrounds") private java.util.List<PanesBackgrounds> backgrounds; @com.aliyun.core.annotation.NameInMap("Images") private java.util.List<PanesImages> images; @com.aliyun.core.annotation.NameInMap("PaneCropMode") private Integer paneCropMode; @com.aliyun.core.annotation.NameInMap("PaneId") @com.aliyun.core.annotation.Validation(required = true, maximum = 15) private Integer paneId; @com.aliyun.core.annotation.NameInMap("ReservePaneForOfflineUser") private Boolean reservePaneForOfflineUser; @com.aliyun.core.annotation.NameInMap("Source") private String source; @com.aliyun.core.annotation.NameInMap("SourceType") private String sourceType; @com.aliyun.core.annotation.NameInMap("Texts") private java.util.List<PanesTexts> texts; @com.aliyun.core.annotation.NameInMap("VideoOrder") private String videoOrder; @com.aliyun.core.annotation.NameInMap("Whiteboard") private Whiteboard whiteboard; private Panes(Builder builder) { this.backgrounds = builder.backgrounds; this.images = builder.images; this.paneCropMode = builder.paneCropMode; this.paneId = builder.paneId; this.reservePaneForOfflineUser = builder.reservePaneForOfflineUser; this.source = builder.source; this.sourceType = builder.sourceType; this.texts = builder.texts; this.videoOrder = builder.videoOrder; this.whiteboard = builder.whiteboard; } public static Builder builder() { return new Builder(); } public static Panes create() { return builder().build(); } /** * @return backgrounds */ public java.util.List<PanesBackgrounds> getBackgrounds() { return this.backgrounds; } /** * @return images */ public java.util.List<PanesImages> getImages() { return this.images; } /** * @return paneCropMode */ public Integer getPaneCropMode() { return this.paneCropMode; } /** * @return paneId */ public Integer getPaneId() { return this.paneId; } /** * @return reservePaneForOfflineUser */ public Boolean getReservePaneForOfflineUser() { return this.reservePaneForOfflineUser; } /** * @return source */ public String getSource() { return this.source; } /** * @return sourceType */ public String getSourceType() { return this.sourceType; } /** * @return texts */ public java.util.List<PanesTexts> getTexts() { return this.texts; } /** * @return videoOrder */ public String getVideoOrder() { return this.videoOrder; } /** * @return whiteboard */ public Whiteboard getWhiteboard() { return this.whiteboard; } public static final class Builder { private java.util.List<PanesBackgrounds> backgrounds; private java.util.List<PanesImages> images; private Integer paneCropMode; private Integer paneId; private Boolean reservePaneForOfflineUser; private String source; private String sourceType; private java.util.List<PanesTexts> texts; private String videoOrder; private Whiteboard whiteboard; private Builder() { } private Builder(Panes model) { this.backgrounds = model.backgrounds; this.images = model.images; this.paneCropMode = model.paneCropMode; this.paneId = model.paneId; this.reservePaneForOfflineUser = model.reservePaneForOfflineUser; this.source = model.source; this.sourceType = model.sourceType; this.texts = model.texts; this.videoOrder = model.videoOrder; this.whiteboard = model.whiteboard; } /** * Backgrounds. */ public Builder backgrounds(java.util.List<PanesBackgrounds> backgrounds) { this.backgrounds = backgrounds; return this; } /** * Images. */ public Builder images(java.util.List<PanesImages> images) { this.images = images; return this; } /** * PaneCropMode. */ public Builder paneCropMode(Integer paneCropMode) { this.paneCropMode = paneCropMode; return this; } /** * <p>paneId</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder paneId(Integer paneId) { this.paneId = paneId; return this; } /** * ReservePaneForOfflineUser. */ public Builder reservePaneForOfflineUser(Boolean reservePaneForOfflineUser) { this.reservePaneForOfflineUser = reservePaneForOfflineUser; return this; } /** * <p>source</p> */ public Builder source(String source) { this.source = source; return this; } /** * <p>sourceType</p> * * <strong>example:</strong> * <p>video</p> */ public Builder sourceType(String sourceType) { this.sourceType = sourceType; return this; } /** * Texts. */ public Builder texts(java.util.List<PanesTexts> texts) { this.texts = texts; return this; } /** * VideoOrder. */ public Builder videoOrder(String videoOrder) { this.videoOrder = videoOrder; return this; } /** * Whiteboard. */ public Builder whiteboard(Whiteboard whiteboard) { this.whiteboard = whiteboard; return this; } public Panes build() { return new Panes(this); } } } /** * * {@link StartCloudRecordRequest} extends {@link TeaModel} * * <p>StartCloudRecordRequest</p> */ public static class RegionColor extends TeaModel { @com.aliyun.core.annotation.NameInMap("B") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer b; @com.aliyun.core.annotation.NameInMap("G") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer g; @com.aliyun.core.annotation.NameInMap("R") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer r; private RegionColor(Builder builder) { this.b = builder.b; this.g = builder.g; this.r = builder.r; } public static Builder builder() { return new Builder(); } public static RegionColor create() { return builder().build(); } /** * @return b */ public Integer getB() { return this.b; } /** * @return g */ public Integer getG() { return this.g; } /** * @return r */ public Integer getR() { return this.r; } public static final class Builder { private Integer b; private Integer g; private Integer r; private Builder() { } private Builder(RegionColor model) { this.b = model.b; this.g = model.g; this.r = model.r; } /** * B. */ public Builder b(Integer b) { this.b = b; return this; } /** * G. */ public Builder g(Integer g) { this.g = g; return this; } /** * R. */ public Builder r(Integer r) { this.r = r; return this; } public RegionColor build() { return new RegionColor(this); } } } /** * * {@link StartCloudRecordRequest} extends {@link TeaModel} * * <p>StartCloudRecordRequest</p> */ public static class SpecifiedStreams extends TeaModel { @com.aliyun.core.annotation.NameInMap("Ids") @com.aliyun.core.annotation.Validation(required = true) private java.util.List<String> ids; @com.aliyun.core.annotation.NameInMap("StreamType") @com.aliyun.core.annotation.Validation(required = true) private String streamType; @com.aliyun.core.annotation.NameInMap("Type") private String type; private SpecifiedStreams(Builder builder) { this.ids = builder.ids; this.streamType = builder.streamType; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static SpecifiedStreams create() { return builder().build(); } /** * @return ids */ public java.util.List<String> getIds() { return this.ids; } /** * @return streamType */ public String getStreamType() { return this.streamType; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private java.util.List<String> ids; private String streamType; private String type; private Builder() { } private Builder(SpecifiedStreams model) { this.ids = model.ids; this.streamType = model.streamType; this.type = model.type; } /** * <p>This parameter is required.</p> */ public Builder ids(java.util.List<String> ids) { this.ids = ids; return this; } /** * <p>This parameter is required.</p> */ public Builder streamType(String streamType) { this.streamType = streamType; return this; } /** * <p>This parameter is required.</p> */ public Builder type(String type) { this.type = type; return this; } public SpecifiedStreams build() { return new SpecifiedStreams(this); } } } /** * * {@link StartCloudRecordRequest} extends {@link TeaModel} * * <p>StartCloudRecordRequest</p> */ public static class Audio extends TeaModel { @com.aliyun.core.annotation.NameInMap("Bitrate") private Integer bitrate; @com.aliyun.core.annotation.NameInMap("Codec") private String codec; @com.aliyun.core.annotation.NameInMap("SampleRate") private Integer sampleRate; private Audio(Builder builder) { this.bitrate = builder.bitrate; this.codec = builder.codec; this.sampleRate = builder.sampleRate; } public static Builder builder() { return new Builder(); } public static Audio create() { return builder().build(); } /** * @return bitrate */ public Integer getBitrate() { return this.bitrate; } /** * @return codec */ public String getCodec() { return this.codec; } /** * @return sampleRate */ public Integer getSampleRate() { return this.sampleRate; } public static final class Builder { private Integer bitrate; private String codec; private Integer sampleRate; private Builder() { } private Builder(Audio model) { this.bitrate = model.bitrate; this.codec = model.codec; this.sampleRate = model.sampleRate; } /** * Bitrate. */ public Builder bitrate(Integer bitrate) { this.bitrate = bitrate; return this; } /** * Codec. */ public Builder codec(String codec) { this.codec = codec; return this; } /** * SampleRate. */ public Builder sampleRate(Integer sampleRate) { this.sampleRate = sampleRate; return this; } public Audio build() { return new Audio(this); } } } /** * * {@link StartCloudRecordRequest} extends {@link TeaModel} * * <p>StartCloudRecordRequest</p> */ public static class TranscodingParameters extends TeaModel { @com.aliyun.core.annotation.NameInMap("Audio") private Audio audio; @com.aliyun.core.annotation.NameInMap("Container") private String container; private TranscodingParameters(Builder builder) { this.audio = builder.audio; this.container = builder.container; } public static Builder builder() { return new Builder(); } public static TranscodingParameters create() { return builder().build(); } /** * @return audio */ public Audio getAudio() { return this.audio; } /** * @return container */ public String getContainer() { return this.container; } public static final class Builder { private Audio audio; private String container; private Builder() { } private Builder(TranscodingParameters model) { this.audio = model.audio; this.container = model.container; } /** * Audio. */ public Builder audio(Audio audio) { this.audio = audio; return this; } /** * Container. */ public Builder container(String container) { this.container = container; return this; } public TranscodingParameters build() { return new TranscodingParameters(this); } } } /** * * {@link StartCloudRecordRequest} extends {@link TeaModel} * * <p>StartCloudRecordRequest</p> */ public static class SingleStreamingRecord extends TeaModel { @com.aliyun.core.annotation.NameInMap("SpecifiedStreams") @com.aliyun.core.annotation.Validation(required = true) private java.util.List<SpecifiedStreams> specifiedStreams; @com.aliyun.core.annotation.NameInMap("TranscodingParameters") private TranscodingParameters transcodingParameters; private SingleStreamingRecord(Builder builder) { this.specifiedStreams = builder.specifiedStreams; this.transcodingParameters = builder.transcodingParameters; } public static Builder builder() { return new Builder(); } public static SingleStreamingRecord create() { return builder().build(); } /** * @return specifiedStreams */ public java.util.List<SpecifiedStreams> getSpecifiedStreams() { return this.specifiedStreams; } /** * @return transcodingParameters */ public TranscodingParameters getTranscodingParameters() { return this.transcodingParameters; } public static final class Builder { private java.util.List<SpecifiedStreams> specifiedStreams; private TranscodingParameters transcodingParameters; private Builder() { } private Builder(SingleStreamingRecord model) { this.specifiedStreams = model.specifiedStreams; this.transcodingParameters = model.transcodingParameters; } /** * <p>This parameter is required.</p> */ public Builder specifiedStreams(java.util.List<SpecifiedStreams> specifiedStreams) { this.specifiedStreams = specifiedStreams; return this; } /** * TranscodingParameters. */ public Builder transcodingParameters(TranscodingParameters transcodingParameters) { this.transcodingParameters = transcodingParameters; return this; } public SingleStreamingRecord build() { return new SingleStreamingRecord(this); } } } /** * * {@link StartCloudRecordRequest} extends {@link TeaModel} * * <p>StartCloudRecordRequest</p> */ public static class StorageConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("AccessKey") @com.aliyun.core.annotation.Validation(required = true, minLength = 1) private String accessKey; @com.aliyun.core.annotation.NameInMap("Bucket") @com.aliyun.core.annotation.Validation(required = true, minLength = 1) private String bucket; @com.aliyun.core.annotation.NameInMap("Endpoint") private String endpoint; @com.aliyun.core.annotation.NameInMap("Region") @com.aliyun.core.annotation.Validation(required = true) private Integer region; @com.aliyun.core.annotation.NameInMap("SecretKey") @com.aliyun.core.annotation.Validation(required = true, minLength = 1) private String secretKey; @com.aliyun.core.annotation.NameInMap("Vendor") @com.aliyun.core.annotation.Validation(required = true, minimum = 1) private Integer vendor; private StorageConfig(Builder builder) { this.accessKey = builder.accessKey; this.bucket = builder.bucket; this.endpoint = builder.endpoint; this.region = builder.region; this.secretKey = builder.secretKey; this.vendor = builder.vendor; } public static Builder builder() { return new Builder(); } public static StorageConfig create() { return builder().build(); } /** * @return accessKey */ public String getAccessKey() { return this.accessKey; } /** * @return bucket */ public String getBucket() { return this.bucket; } /** * @return endpoint */ public String getEndpoint() { return this.endpoint; } /** * @return region */ public Integer getRegion() { return this.region; } /** * @return secretKey */ public String getSecretKey() { return this.secretKey; } /** * @return vendor */ public Integer getVendor() { return this.vendor; } public static final class Builder { private String accessKey; private String bucket; private String endpoint; private Integer region; private String secretKey; private Integer vendor; private Builder() { } private Builder(StorageConfig model) { this.accessKey = model.accessKey; this.bucket = model.bucket; this.endpoint = model.endpoint; this.region = model.region; this.secretKey = model.secretKey; this.vendor = model.vendor; } /** * <p>accessKey</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>LTAX***</p> */ public Builder accessKey(String accessKey) { this.accessKey = accessKey; return this; } /** * <p>bucket</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>test-bucket-for-recording</p> */ public Builder bucket(String bucket) { this.bucket = bucket; return this; } /** * Endpoint. */ public Builder endpoint(String endpoint) { this.endpoint = endpoint; return this; } /** * <p>region</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder region(Integer region) { this.region = region; return this; } /** * <p>secretKey</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>APb6qWYEzKtYxE***</p> */ public Builder secretKey(String secretKey) { this.secretKey = secretKey; return this; } /** * <p>vendor</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder vendor(Integer vendor) { this.vendor = vendor; return this; } public StorageConfig build() { return new StorageConfig(this); } } } /** * * {@link StartCloudRecordRequest} extends {@link TeaModel} * * <p>StartCloudRecordRequest</p> */ public static class StartCloudRecordRequestTextsBoxColor extends TeaModel { @com.aliyun.core.annotation.NameInMap("B") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer b; @com.aliyun.core.annotation.NameInMap("G") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer g; @com.aliyun.core.annotation.NameInMap("R") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer r; private StartCloudRecordRequestTextsBoxColor(Builder builder) { this.b = builder.b; this.g = builder.g; this.r = builder.r; } public static Builder builder() { return new Builder(); } public static StartCloudRecordRequestTextsBoxColor create() { return builder().build(); } /** * @return b */ public Integer getB() { return this.b; } /** * @return g */ public Integer getG() { return this.g; } /** * @return r */ public Integer getR() { return this.r; } public static final class Builder { private Integer b; private Integer g; private Integer r; private Builder() { } private Builder(StartCloudRecordRequestTextsBoxColor model) { this.b = model.b; this.g = model.g; this.r = model.r; } /** * B. */ public Builder b(Integer b) { this.b = b; return this; } /** * G. */ public Builder g(Integer g) { this.g = g; return this; } /** * R. */ public Builder r(Integer r) { this.r = r; return this; } public StartCloudRecordRequestTextsBoxColor build() { return new StartCloudRecordRequestTextsBoxColor(this); } } } /** * * {@link StartCloudRecordRequest} extends {@link TeaModel} * * <p>StartCloudRecordRequest</p> */ public static class StartCloudRecordRequestTextsFontColor extends TeaModel { @com.aliyun.core.annotation.NameInMap("B") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer b; @com.aliyun.core.annotation.NameInMap("G") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer g; @com.aliyun.core.annotation.NameInMap("R") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer r; private StartCloudRecordRequestTextsFontColor(Builder builder) { this.b = builder.b; this.g = builder.g; this.r = builder.r; } public static Builder builder() { return new Builder(); } public static StartCloudRecordRequestTextsFontColor create() { return builder().build(); } /** * @return b */ public Integer getB() { return this.b; } /** * @return g */ public Integer getG() { return this.g; } /** * @return r */ public Integer getR() { return this.r; } public static final class Builder { private Integer b; private Integer g; private Integer r; private Builder() { } private Builder(StartCloudRecordRequestTextsFontColor model) { this.b = model.b; this.g = model.g; this.r = model.r; } /** * B. */ public Builder b(Integer b) { this.b = b; return this; } /** * G. */ public Builder g(Integer g) { this.g = g; return this; } /** * R. */ public Builder r(Integer r) { this.r = r; return this; } public StartCloudRecordRequestTextsFontColor build() { return new StartCloudRecordRequestTextsFontColor(this); } } } /** * * {@link StartCloudRecordRequest} extends {@link TeaModel} * * <p>StartCloudRecordRequest</p> */ public static class Texts extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") @com.aliyun.core.annotation.Validation(maximum = 1) private Double alpha; @com.aliyun.core.annotation.NameInMap("BoxAlpha") @com.aliyun.core.annotation.Validation(maximum = 1) private Double boxAlpha; @com.aliyun.core.annotation.NameInMap("BoxBorderw") @com.aliyun.core.annotation.Validation(maximum = 10, minimum = 1) private Integer boxBorderw; @com.aliyun.core.annotation.NameInMap("BoxColor") private StartCloudRecordRequestTextsBoxColor boxColor; @com.aliyun.core.annotation.NameInMap("Font") @com.aliyun.core.annotation.Validation(maximum = 9) private Integer font; @com.aliyun.core.annotation.NameInMap("FontColor") private StartCloudRecordRequestTextsFontColor fontColor; @com.aliyun.core.annotation.NameInMap("FontSize") @com.aliyun.core.annotation.Validation(maximum = 72) private Integer fontSize; @com.aliyun.core.annotation.NameInMap("HasBox") private Boolean hasBox; @com.aliyun.core.annotation.NameInMap("Layer") @com.aliyun.core.annotation.Validation(maximum = 100) private Integer layer; @com.aliyun.core.annotation.NameInMap("Texture") @com.aliyun.core.annotation.Validation(required = true, maxLength = 128, minLength = 1) private String texture; @com.aliyun.core.annotation.NameInMap("X") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double x; @com.aliyun.core.annotation.NameInMap("Y") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double y; private Texts(Builder builder) { this.alpha = builder.alpha; this.boxAlpha = builder.boxAlpha; this.boxBorderw = builder.boxBorderw; this.boxColor = builder.boxColor; this.font = builder.font; this.fontColor = builder.fontColor; this.fontSize = builder.fontSize; this.hasBox = builder.hasBox; this.layer = builder.layer; this.texture = builder.texture; this.x = builder.x; this.y = builder.y; } public static Builder builder() { return new Builder(); } public static Texts create() { return builder().build(); } /** * @return alpha */ public Double getAlpha() { return this.alpha; } /** * @return boxAlpha */ public Double getBoxAlpha() { return this.boxAlpha; } /** * @return boxBorderw */ public Integer getBoxBorderw() { return this.boxBorderw; } /** * @return boxColor */ public StartCloudRecordRequestTextsBoxColor getBoxColor() { return this.boxColor; } /** * @return font */ public Integer getFont() { return this.font; } /** * @return fontColor */ public StartCloudRecordRequestTextsFontColor getFontColor() { return this.fontColor; } /** * @return fontSize */ public Integer getFontSize() { return this.fontSize; } /** * @return hasBox */ public Boolean getHasBox() { return this.hasBox; } /** * @return layer */ public Integer getLayer() { return this.layer; } /** * @return texture */ public String getTexture() { return this.texture; } /** * @return x */ public Double getX() { return this.x; } /** * @return y */ public Double getY() { return this.y; } public static final class Builder { private Double alpha; private Double boxAlpha; private Integer boxBorderw; private StartCloudRecordRequestTextsBoxColor boxColor; private Integer font; private StartCloudRecordRequestTextsFontColor fontColor; private Integer fontSize; private Boolean hasBox; private Integer layer; private String texture; private Double x; private Double y; private Builder() { } private Builder(Texts model) { this.alpha = model.alpha; this.boxAlpha = model.boxAlpha; this.boxBorderw = model.boxBorderw; this.boxColor = model.boxColor; this.font = model.font; this.fontColor = model.fontColor; this.fontSize = model.fontSize; this.hasBox = model.hasBox; this.layer = model.layer; this.texture = model.texture; this.x = model.x; this.y = model.y; } /** * Alpha. */ public Builder alpha(Double alpha) { this.alpha = alpha; return this; } /** * BoxAlpha. */ public Builder boxAlpha(Double boxAlpha) { this.boxAlpha = boxAlpha; return this; } /** * BoxBorderw. */ public Builder boxBorderw(Integer boxBorderw) { this.boxBorderw = boxBorderw; return this; } /** * BoxColor. */ public Builder boxColor(StartCloudRecordRequestTextsBoxColor boxColor) { this.boxColor = boxColor; return this; } /** * Font. */ public Builder font(Integer font) { this.font = font; return this; } /** * FontColor. */ public Builder fontColor(StartCloudRecordRequestTextsFontColor fontColor) { this.fontColor = fontColor; return this; } /** * FontSize. */ public Builder fontSize(Integer fontSize) { this.fontSize = fontSize; return this; } /** * HasBox. */ public Builder hasBox(Boolean hasBox) { this.hasBox = hasBox; return this; } /** * Layer. */ public Builder layer(Integer layer) { this.layer = layer; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>文字水印</p> */ public Builder texture(String texture) { this.texture = texture; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder x(Double x) { this.x = x; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder y(Double y) { this.y = y; return this; } public Texts build() { return new Texts(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StartCloudRecordResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StartCloudRecordResponse} extends {@link TeaModel} * * <p>StartCloudRecordResponse</p> */ public class StartCloudRecordResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private StartCloudRecordResponseBody body; private StartCloudRecordResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static StartCloudRecordResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public StartCloudRecordResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<StartCloudRecordResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(StartCloudRecordResponseBody body); @Override StartCloudRecordResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<StartCloudRecordResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private StartCloudRecordResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(StartCloudRecordResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(StartCloudRecordResponseBody body) { this.body = body; return this; } @Override public StartCloudRecordResponse build() { return new StartCloudRecordResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StartCloudRecordResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StartCloudRecordResponseBody} extends {@link TeaModel} * * <p>StartCloudRecordResponseBody</p> */ public class StartCloudRecordResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; private StartCloudRecordResponseBody(Builder builder) { this.requestId = builder.requestId; this.taskId = builder.taskId; } public static Builder builder() { return new Builder(); } public static StartCloudRecordResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return taskId */ public String getTaskId() { return this.taskId; } public static final class Builder { private String requestId; private String taskId; private Builder() { } private Builder(StartCloudRecordResponseBody model) { this.requestId = model.requestId; this.taskId = model.taskId; } /** * <p>requestId</p> * * <strong>example:</strong> * <p>16A96B9A-F203-4EC5-8E43-CB92E68F4CF8</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>taskId</p> * * <strong>example:</strong> * <p>123</p> */ public Builder taskId(String taskId) { this.taskId = taskId; return this; } public StartCloudRecordResponseBody build() { return new StartCloudRecordResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StartMPUTaskRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StartMPUTaskRequest} extends {@link RequestModel} * * <p>StartMPUTaskRequest</p> */ public class StartMPUTaskRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("BackgroundColor") private Integer backgroundColor; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Backgrounds") private java.util.List<Backgrounds> backgrounds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ChannelId") @com.aliyun.core.annotation.Validation(required = true) private String channelId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClockWidgets") private java.util.List<ClockWidgets> clockWidgets; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CropMode") private Integer cropMode; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("EnhancedParam") private EnhancedParam enhancedParam; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("LayoutIds") private java.util.List<Long> layoutIds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MediaEncode") private Integer mediaEncode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MixMode") private Integer mixMode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PayloadType") private Integer payloadType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ReportVad") private Integer reportVad; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RtpExtInfo") private Integer rtpExtInfo; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SourceType") private String sourceType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StreamType") private Integer streamType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StreamURL") private String streamURL; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SubSpecAudioUsers") private java.util.List<String> subSpecAudioUsers; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SubSpecCameraUsers") private java.util.List<String> subSpecCameraUsers; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SubSpecShareScreenUsers") private java.util.List<String> subSpecShareScreenUsers; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SubSpecUsers") private java.util.List<String> subSpecUsers; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskId") @com.aliyun.core.annotation.Validation(required = true) private String taskId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskType") @com.aliyun.core.annotation.Validation(maximum = 1) private Integer taskType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TimeStampRef") private Long timeStampRef; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UnsubSpecAudioUsers") private java.util.List<String> unsubSpecAudioUsers; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UnsubSpecCameraUsers") private java.util.List<String> unsubSpecCameraUsers; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UnsubSpecShareScreenUsers") private java.util.List<String> unsubSpecShareScreenUsers; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UserPanes") private java.util.List<UserPanes> userPanes; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VadInterval") private Long vadInterval; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Watermarks") private java.util.List<Watermarks> watermarks; private StartMPUTaskRequest(Builder builder) { super(builder); this.appId = builder.appId; this.backgroundColor = builder.backgroundColor; this.backgrounds = builder.backgrounds; this.channelId = builder.channelId; this.clockWidgets = builder.clockWidgets; this.cropMode = builder.cropMode; this.enhancedParam = builder.enhancedParam; this.layoutIds = builder.layoutIds; this.mediaEncode = builder.mediaEncode; this.mixMode = builder.mixMode; this.ownerId = builder.ownerId; this.payloadType = builder.payloadType; this.reportVad = builder.reportVad; this.rtpExtInfo = builder.rtpExtInfo; this.sourceType = builder.sourceType; this.streamType = builder.streamType; this.streamURL = builder.streamURL; this.subSpecAudioUsers = builder.subSpecAudioUsers; this.subSpecCameraUsers = builder.subSpecCameraUsers; this.subSpecShareScreenUsers = builder.subSpecShareScreenUsers; this.subSpecUsers = builder.subSpecUsers; this.taskId = builder.taskId; this.taskType = builder.taskType; this.timeStampRef = builder.timeStampRef; this.unsubSpecAudioUsers = builder.unsubSpecAudioUsers; this.unsubSpecCameraUsers = builder.unsubSpecCameraUsers; this.unsubSpecShareScreenUsers = builder.unsubSpecShareScreenUsers; this.userPanes = builder.userPanes; this.vadInterval = builder.vadInterval; this.watermarks = builder.watermarks; } public static Builder builder() { return new Builder(); } public static StartMPUTaskRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return backgroundColor */ public Integer getBackgroundColor() { return this.backgroundColor; } /** * @return backgrounds */ public java.util.List<Backgrounds> getBackgrounds() { return this.backgrounds; } /** * @return channelId */ public String getChannelId() { return this.channelId; } /** * @return clockWidgets */ public java.util.List<ClockWidgets> getClockWidgets() { return this.clockWidgets; } /** * @return cropMode */ public Integer getCropMode() { return this.cropMode; } /** * @return enhancedParam */ public EnhancedParam getEnhancedParam() { return this.enhancedParam; } /** * @return layoutIds */ public java.util.List<Long> getLayoutIds() { return this.layoutIds; } /** * @return mediaEncode */ public Integer getMediaEncode() { return this.mediaEncode; } /** * @return mixMode */ public Integer getMixMode() { return this.mixMode; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return payloadType */ public Integer getPayloadType() { return this.payloadType; } /** * @return reportVad */ public Integer getReportVad() { return this.reportVad; } /** * @return rtpExtInfo */ public Integer getRtpExtInfo() { return this.rtpExtInfo; } /** * @return sourceType */ public String getSourceType() { return this.sourceType; } /** * @return streamType */ public Integer getStreamType() { return this.streamType; } /** * @return streamURL */ public String getStreamURL() { return this.streamURL; } /** * @return subSpecAudioUsers */ public java.util.List<String> getSubSpecAudioUsers() { return this.subSpecAudioUsers; } /** * @return subSpecCameraUsers */ public java.util.List<String> getSubSpecCameraUsers() { return this.subSpecCameraUsers; } /** * @return subSpecShareScreenUsers */ public java.util.List<String> getSubSpecShareScreenUsers() { return this.subSpecShareScreenUsers; } /** * @return subSpecUsers */ public java.util.List<String> getSubSpecUsers() { return this.subSpecUsers; } /** * @return taskId */ public String getTaskId() { return this.taskId; } /** * @return taskType */ public Integer getTaskType() { return this.taskType; } /** * @return timeStampRef */ public Long getTimeStampRef() { return this.timeStampRef; } /** * @return unsubSpecAudioUsers */ public java.util.List<String> getUnsubSpecAudioUsers() { return this.unsubSpecAudioUsers; } /** * @return unsubSpecCameraUsers */ public java.util.List<String> getUnsubSpecCameraUsers() { return this.unsubSpecCameraUsers; } /** * @return unsubSpecShareScreenUsers */ public java.util.List<String> getUnsubSpecShareScreenUsers() { return this.unsubSpecShareScreenUsers; } /** * @return userPanes */ public java.util.List<UserPanes> getUserPanes() { return this.userPanes; } /** * @return vadInterval */ public Long getVadInterval() { return this.vadInterval; } /** * @return watermarks */ public java.util.List<Watermarks> getWatermarks() { return this.watermarks; } public static final class Builder extends Request.Builder<StartMPUTaskRequest, Builder> { private String appId; private Integer backgroundColor; private java.util.List<Backgrounds> backgrounds; private String channelId; private java.util.List<ClockWidgets> clockWidgets; private Integer cropMode; private EnhancedParam enhancedParam; private java.util.List<Long> layoutIds; private Integer mediaEncode; private Integer mixMode; private Long ownerId; private Integer payloadType; private Integer reportVad; private Integer rtpExtInfo; private String sourceType; private Integer streamType; private String streamURL; private java.util.List<String> subSpecAudioUsers; private java.util.List<String> subSpecCameraUsers; private java.util.List<String> subSpecShareScreenUsers; private java.util.List<String> subSpecUsers; private String taskId; private Integer taskType; private Long timeStampRef; private java.util.List<String> unsubSpecAudioUsers; private java.util.List<String> unsubSpecCameraUsers; private java.util.List<String> unsubSpecShareScreenUsers; private java.util.List<UserPanes> userPanes; private Long vadInterval; private java.util.List<Watermarks> watermarks; private Builder() { super(); } private Builder(StartMPUTaskRequest request) { super(request); this.appId = request.appId; this.backgroundColor = request.backgroundColor; this.backgrounds = request.backgrounds; this.channelId = request.channelId; this.clockWidgets = request.clockWidgets; this.cropMode = request.cropMode; this.enhancedParam = request.enhancedParam; this.layoutIds = request.layoutIds; this.mediaEncode = request.mediaEncode; this.mixMode = request.mixMode; this.ownerId = request.ownerId; this.payloadType = request.payloadType; this.reportVad = request.reportVad; this.rtpExtInfo = request.rtpExtInfo; this.sourceType = request.sourceType; this.streamType = request.streamType; this.streamURL = request.streamURL; this.subSpecAudioUsers = request.subSpecAudioUsers; this.subSpecCameraUsers = request.subSpecCameraUsers; this.subSpecShareScreenUsers = request.subSpecShareScreenUsers; this.subSpecUsers = request.subSpecUsers; this.taskId = request.taskId; this.taskType = request.taskType; this.timeStampRef = request.timeStampRef; this.unsubSpecAudioUsers = request.unsubSpecAudioUsers; this.unsubSpecCameraUsers = request.unsubSpecCameraUsers; this.unsubSpecShareScreenUsers = request.unsubSpecShareScreenUsers; this.userPanes = request.userPanes; this.vadInterval = request.vadInterval; this.watermarks = request.watermarks; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>yourAppId</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * BackgroundColor. */ public Builder backgroundColor(Integer backgroundColor) { this.putQueryParameter("BackgroundColor", backgroundColor); this.backgroundColor = backgroundColor; return this; } /** * Backgrounds. */ public Builder backgrounds(java.util.List<Backgrounds> backgrounds) { this.putQueryParameter("Backgrounds", backgrounds); this.backgrounds = backgrounds; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>yourChannelId</p> */ public Builder channelId(String channelId) { this.putQueryParameter("ChannelId", channelId); this.channelId = channelId; return this; } /** * ClockWidgets. */ public Builder clockWidgets(java.util.List<ClockWidgets> clockWidgets) { this.putQueryParameter("ClockWidgets", clockWidgets); this.clockWidgets = clockWidgets; return this; } /** * CropMode. */ public Builder cropMode(Integer cropMode) { this.putQueryParameter("CropMode", cropMode); this.cropMode = cropMode; return this; } /** * EnhancedParam. */ public Builder enhancedParam(EnhancedParam enhancedParam) { this.putBodyParameter("EnhancedParam", enhancedParam); this.enhancedParam = enhancedParam; return this; } /** * LayoutIds. */ public Builder layoutIds(java.util.List<Long> layoutIds) { this.putQueryParameter("LayoutIds", layoutIds); this.layoutIds = layoutIds; return this; } /** * MediaEncode. */ public Builder mediaEncode(Integer mediaEncode) { this.putQueryParameter("MediaEncode", mediaEncode); this.mediaEncode = mediaEncode; return this; } /** * MixMode. */ public Builder mixMode(Integer mixMode) { this.putQueryParameter("MixMode", mixMode); this.mixMode = mixMode; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * PayloadType. */ public Builder payloadType(Integer payloadType) { this.putQueryParameter("PayloadType", payloadType); this.payloadType = payloadType; return this; } /** * ReportVad. */ public Builder reportVad(Integer reportVad) { this.putQueryParameter("ReportVad", reportVad); this.reportVad = reportVad; return this; } /** * RtpExtInfo. */ public Builder rtpExtInfo(Integer rtpExtInfo) { this.putQueryParameter("RtpExtInfo", rtpExtInfo); this.rtpExtInfo = rtpExtInfo; return this; } /** * SourceType. */ public Builder sourceType(String sourceType) { this.putQueryParameter("SourceType", sourceType); this.sourceType = sourceType; return this; } /** * StreamType. */ public Builder streamType(Integer streamType) { this.putQueryParameter("StreamType", streamType); this.streamType = streamType; return this; } /** * StreamURL. */ public Builder streamURL(String streamURL) { this.putQueryParameter("StreamURL", streamURL); this.streamURL = streamURL; return this; } /** * SubSpecAudioUsers. */ public Builder subSpecAudioUsers(java.util.List<String> subSpecAudioUsers) { this.putQueryParameter("SubSpecAudioUsers", subSpecAudioUsers); this.subSpecAudioUsers = subSpecAudioUsers; return this; } /** * SubSpecCameraUsers. */ public Builder subSpecCameraUsers(java.util.List<String> subSpecCameraUsers) { this.putQueryParameter("SubSpecCameraUsers", subSpecCameraUsers); this.subSpecCameraUsers = subSpecCameraUsers; return this; } /** * SubSpecShareScreenUsers. */ public Builder subSpecShareScreenUsers(java.util.List<String> subSpecShareScreenUsers) { this.putQueryParameter("SubSpecShareScreenUsers", subSpecShareScreenUsers); this.subSpecShareScreenUsers = subSpecShareScreenUsers; return this; } /** * SubSpecUsers. */ public Builder subSpecUsers(java.util.List<String> subSpecUsers) { this.putQueryParameter("SubSpecUsers", subSpecUsers); this.subSpecUsers = subSpecUsers; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>yourTaskId</p> */ public Builder taskId(String taskId) { this.putQueryParameter("TaskId", taskId); this.taskId = taskId; return this; } /** * TaskType. */ public Builder taskType(Integer taskType) { this.putQueryParameter("TaskType", taskType); this.taskType = taskType; return this; } /** * TimeStampRef. */ public Builder timeStampRef(Long timeStampRef) { this.putQueryParameter("TimeStampRef", timeStampRef); this.timeStampRef = timeStampRef; return this; } /** * UnsubSpecAudioUsers. */ public Builder unsubSpecAudioUsers(java.util.List<String> unsubSpecAudioUsers) { this.putQueryParameter("UnsubSpecAudioUsers", unsubSpecAudioUsers); this.unsubSpecAudioUsers = unsubSpecAudioUsers; return this; } /** * UnsubSpecCameraUsers. */ public Builder unsubSpecCameraUsers(java.util.List<String> unsubSpecCameraUsers) { this.putQueryParameter("UnsubSpecCameraUsers", unsubSpecCameraUsers); this.unsubSpecCameraUsers = unsubSpecCameraUsers; return this; } /** * UnsubSpecShareScreenUsers. */ public Builder unsubSpecShareScreenUsers(java.util.List<String> unsubSpecShareScreenUsers) { this.putQueryParameter("UnsubSpecShareScreenUsers", unsubSpecShareScreenUsers); this.unsubSpecShareScreenUsers = unsubSpecShareScreenUsers; return this; } /** * UserPanes. */ public Builder userPanes(java.util.List<UserPanes> userPanes) { this.putQueryParameter("UserPanes", userPanes); this.userPanes = userPanes; return this; } /** * VadInterval. */ public Builder vadInterval(Long vadInterval) { this.putQueryParameter("VadInterval", vadInterval); this.vadInterval = vadInterval; return this; } /** * Watermarks. */ public Builder watermarks(java.util.List<Watermarks> watermarks) { this.putQueryParameter("Watermarks", watermarks); this.watermarks = watermarks; return this; } @Override public StartMPUTaskRequest build() { return new StartMPUTaskRequest(this); } } /** * * {@link StartMPUTaskRequest} extends {@link TeaModel} * * <p>StartMPUTaskRequest</p> */ public static class Backgrounds extends TeaModel { @com.aliyun.core.annotation.NameInMap("Display") private Integer display; @com.aliyun.core.annotation.NameInMap("Height") private Float height; @com.aliyun.core.annotation.NameInMap("Url") private String url; @com.aliyun.core.annotation.NameInMap("Width") private Float width; @com.aliyun.core.annotation.NameInMap("X") private Float x; @com.aliyun.core.annotation.NameInMap("Y") private Float y; @com.aliyun.core.annotation.NameInMap("ZOrder") private Integer zOrder; private Backgrounds(Builder builder) { this.display = builder.display; this.height = builder.height; this.url = builder.url; this.width = builder.width; this.x = builder.x; this.y = builder.y; this.zOrder = builder.zOrder; } public static Builder builder() { return new Builder(); } public static Backgrounds create() { return builder().build(); } /** * @return display */ public Integer getDisplay() { return this.display; } /** * @return height */ public Float getHeight() { return this.height; } /** * @return url */ public String getUrl() { return this.url; } /** * @return width */ public Float getWidth() { return this.width; } /** * @return x */ public Float getX() { return this.x; } /** * @return y */ public Float getY() { return this.y; } /** * @return zOrder */ public Integer getZOrder() { return this.zOrder; } public static final class Builder { private Integer display; private Float height; private String url; private Float width; private Float x; private Float y; private Integer zOrder; private Builder() { } private Builder(Backgrounds model) { this.display = model.display; this.height = model.height; this.url = model.url; this.width = model.width; this.x = model.x; this.y = model.y; this.zOrder = model.zOrder; } /** * Display. */ public Builder display(Integer display) { this.display = display; return this; } /** * Height. */ public Builder height(Float height) { this.height = height; return this; } /** * Url. */ public Builder url(String url) { this.url = url; return this; } /** * Width. */ public Builder width(Float width) { this.width = width; return this; } /** * X. */ public Builder x(Float x) { this.x = x; return this; } /** * Y. */ public Builder y(Float y) { this.y = y; return this; } /** * ZOrder. */ public Builder zOrder(Integer zOrder) { this.zOrder = zOrder; return this; } public Backgrounds build() { return new Backgrounds(this); } } } /** * * {@link StartMPUTaskRequest} extends {@link TeaModel} * * <p>StartMPUTaskRequest</p> */ public static class ClockWidgets extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") private Float alpha; @com.aliyun.core.annotation.NameInMap("BorderColor") private Long borderColor; @com.aliyun.core.annotation.NameInMap("BorderWidth") private Integer borderWidth; @com.aliyun.core.annotation.NameInMap("Box") private Boolean box; @com.aliyun.core.annotation.NameInMap("BoxBorderWidth") private Integer boxBorderWidth; @com.aliyun.core.annotation.NameInMap("BoxColor") private Long boxColor; @com.aliyun.core.annotation.NameInMap("FontColor") private Integer fontColor; @com.aliyun.core.annotation.NameInMap("FontSize") private Integer fontSize; @com.aliyun.core.annotation.NameInMap("FontType") private Integer fontType; @com.aliyun.core.annotation.NameInMap("X") private Float x; @com.aliyun.core.annotation.NameInMap("Y") private Float y; @com.aliyun.core.annotation.NameInMap("ZOrder") private Integer zOrder; private ClockWidgets(Builder builder) { this.alpha = builder.alpha; this.borderColor = builder.borderColor; this.borderWidth = builder.borderWidth; this.box = builder.box; this.boxBorderWidth = builder.boxBorderWidth; this.boxColor = builder.boxColor; this.fontColor = builder.fontColor; this.fontSize = builder.fontSize; this.fontType = builder.fontType; this.x = builder.x; this.y = builder.y; this.zOrder = builder.zOrder; } public static Builder builder() { return new Builder(); } public static ClockWidgets create() { return builder().build(); } /** * @return alpha */ public Float getAlpha() { return this.alpha; } /** * @return borderColor */ public Long getBorderColor() { return this.borderColor; } /** * @return borderWidth */ public Integer getBorderWidth() { return this.borderWidth; } /** * @return box */ public Boolean getBox() { return this.box; } /** * @return boxBorderWidth */ public Integer getBoxBorderWidth() { return this.boxBorderWidth; } /** * @return boxColor */ public Long getBoxColor() { return this.boxColor; } /** * @return fontColor */ public Integer getFontColor() { return this.fontColor; } /** * @return fontSize */ public Integer getFontSize() { return this.fontSize; } /** * @return fontType */ public Integer getFontType() { return this.fontType; } /** * @return x */ public Float getX() { return this.x; } /** * @return y */ public Float getY() { return this.y; } /** * @return zOrder */ public Integer getZOrder() { return this.zOrder; } public static final class Builder { private Float alpha; private Long borderColor; private Integer borderWidth; private Boolean box; private Integer boxBorderWidth; private Long boxColor; private Integer fontColor; private Integer fontSize; private Integer fontType; private Float x; private Float y; private Integer zOrder; private Builder() { } private Builder(ClockWidgets model) { this.alpha = model.alpha; this.borderColor = model.borderColor; this.borderWidth = model.borderWidth; this.box = model.box; this.boxBorderWidth = model.boxBorderWidth; this.boxColor = model.boxColor; this.fontColor = model.fontColor; this.fontSize = model.fontSize; this.fontType = model.fontType; this.x = model.x; this.y = model.y; this.zOrder = model.zOrder; } /** * Alpha. */ public Builder alpha(Float alpha) { this.alpha = alpha; return this; } /** * BorderColor. */ public Builder borderColor(Long borderColor) { this.borderColor = borderColor; return this; } /** * BorderWidth. */ public Builder borderWidth(Integer borderWidth) { this.borderWidth = borderWidth; return this; } /** * Box. */ public Builder box(Boolean box) { this.box = box; return this; } /** * BoxBorderWidth. */ public Builder boxBorderWidth(Integer boxBorderWidth) { this.boxBorderWidth = boxBorderWidth; return this; } /** * BoxColor. */ public Builder boxColor(Long boxColor) { this.boxColor = boxColor; return this; } /** * FontColor. */ public Builder fontColor(Integer fontColor) { this.fontColor = fontColor; return this; } /** * FontSize. */ public Builder fontSize(Integer fontSize) { this.fontSize = fontSize; return this; } /** * FontType. */ public Builder fontType(Integer fontType) { this.fontType = fontType; return this; } /** * X. */ public Builder x(Float x) { this.x = x; return this; } /** * Y. */ public Builder y(Float y) { this.y = y; return this; } /** * ZOrder. */ public Builder zOrder(Integer zOrder) { this.zOrder = zOrder; return this; } public ClockWidgets build() { return new ClockWidgets(this); } } } /** * * {@link StartMPUTaskRequest} extends {@link TeaModel} * * <p>StartMPUTaskRequest</p> */ public static class EnhancedParam extends TeaModel { @com.aliyun.core.annotation.NameInMap("EnablePortraitSegmentation") private Boolean enablePortraitSegmentation; private EnhancedParam(Builder builder) { this.enablePortraitSegmentation = builder.enablePortraitSegmentation; } public static Builder builder() { return new Builder(); } public static EnhancedParam create() { return builder().build(); } /** * @return enablePortraitSegmentation */ public Boolean getEnablePortraitSegmentation() { return this.enablePortraitSegmentation; } public static final class Builder { private Boolean enablePortraitSegmentation; private Builder() { } private Builder(EnhancedParam model) { this.enablePortraitSegmentation = model.enablePortraitSegmentation; } /** * EnablePortraitSegmentation. */ public Builder enablePortraitSegmentation(Boolean enablePortraitSegmentation) { this.enablePortraitSegmentation = enablePortraitSegmentation; return this; } public EnhancedParam build() { return new EnhancedParam(this); } } } /** * * {@link StartMPUTaskRequest} extends {@link TeaModel} * * <p>StartMPUTaskRequest</p> */ public static class Images extends TeaModel { @com.aliyun.core.annotation.NameInMap("Display") private Integer display; @com.aliyun.core.annotation.NameInMap("Height") private Float height; @com.aliyun.core.annotation.NameInMap("Url") private String url; @com.aliyun.core.annotation.NameInMap("Width") private Float width; @com.aliyun.core.annotation.NameInMap("X") private Float x; @com.aliyun.core.annotation.NameInMap("Y") private Float y; @com.aliyun.core.annotation.NameInMap("ZOrder") private Integer zOrder; private Images(Builder builder) { this.display = builder.display; this.height = builder.height; this.url = builder.url; this.width = builder.width; this.x = builder.x; this.y = builder.y; this.zOrder = builder.zOrder; } public static Builder builder() { return new Builder(); } public static Images create() { return builder().build(); } /** * @return display */ public Integer getDisplay() { return this.display; } /** * @return height */ public Float getHeight() { return this.height; } /** * @return url */ public String getUrl() { return this.url; } /** * @return width */ public Float getWidth() { return this.width; } /** * @return x */ public Float getX() { return this.x; } /** * @return y */ public Float getY() { return this.y; } /** * @return zOrder */ public Integer getZOrder() { return this.zOrder; } public static final class Builder { private Integer display; private Float height; private String url; private Float width; private Float x; private Float y; private Integer zOrder; private Builder() { } private Builder(Images model) { this.display = model.display; this.height = model.height; this.url = model.url; this.width = model.width; this.x = model.x; this.y = model.y; this.zOrder = model.zOrder; } /** * Display. */ public Builder display(Integer display) { this.display = display; return this; } /** * Height. */ public Builder height(Float height) { this.height = height; return this; } /** * Url. */ public Builder url(String url) { this.url = url; return this; } /** * Width. */ public Builder width(Float width) { this.width = width; return this; } /** * X. */ public Builder x(Float x) { this.x = x; return this; } /** * Y. */ public Builder y(Float y) { this.y = y; return this; } /** * ZOrder. */ public Builder zOrder(Integer zOrder) { this.zOrder = zOrder; return this; } public Images build() { return new Images(this); } } } /** * * {@link StartMPUTaskRequest} extends {@link TeaModel} * * <p>StartMPUTaskRequest</p> */ public static class Texts extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") private Float alpha; @com.aliyun.core.annotation.NameInMap("BorderColor") private Long borderColor; @com.aliyun.core.annotation.NameInMap("BorderWidth") private Integer borderWidth; @com.aliyun.core.annotation.NameInMap("Box") private Boolean box; @com.aliyun.core.annotation.NameInMap("BoxBorderWidth") private Integer boxBorderWidth; @com.aliyun.core.annotation.NameInMap("BoxColor") private Long boxColor; @com.aliyun.core.annotation.NameInMap("FontColor") private Integer fontColor; @com.aliyun.core.annotation.NameInMap("FontSize") private Integer fontSize; @com.aliyun.core.annotation.NameInMap("FontType") private Integer fontType; @com.aliyun.core.annotation.NameInMap("Text") private String text; @com.aliyun.core.annotation.NameInMap("X") private Float x; @com.aliyun.core.annotation.NameInMap("Y") private Float y; @com.aliyun.core.annotation.NameInMap("ZOrder") private Integer zOrder; private Texts(Builder builder) { this.alpha = builder.alpha; this.borderColor = builder.borderColor; this.borderWidth = builder.borderWidth; this.box = builder.box; this.boxBorderWidth = builder.boxBorderWidth; this.boxColor = builder.boxColor; this.fontColor = builder.fontColor; this.fontSize = builder.fontSize; this.fontType = builder.fontType; this.text = builder.text; this.x = builder.x; this.y = builder.y; this.zOrder = builder.zOrder; } public static Builder builder() { return new Builder(); } public static Texts create() { return builder().build(); } /** * @return alpha */ public Float getAlpha() { return this.alpha; } /** * @return borderColor */ public Long getBorderColor() { return this.borderColor; } /** * @return borderWidth */ public Integer getBorderWidth() { return this.borderWidth; } /** * @return box */ public Boolean getBox() { return this.box; } /** * @return boxBorderWidth */ public Integer getBoxBorderWidth() { return this.boxBorderWidth; } /** * @return boxColor */ public Long getBoxColor() { return this.boxColor; } /** * @return fontColor */ public Integer getFontColor() { return this.fontColor; } /** * @return fontSize */ public Integer getFontSize() { return this.fontSize; } /** * @return fontType */ public Integer getFontType() { return this.fontType; } /** * @return text */ public String getText() { return this.text; } /** * @return x */ public Float getX() { return this.x; } /** * @return y */ public Float getY() { return this.y; } /** * @return zOrder */ public Integer getZOrder() { return this.zOrder; } public static final class Builder { private Float alpha; private Long borderColor; private Integer borderWidth; private Boolean box; private Integer boxBorderWidth; private Long boxColor; private Integer fontColor; private Integer fontSize; private Integer fontType; private String text; private Float x; private Float y; private Integer zOrder; private Builder() { } private Builder(Texts model) { this.alpha = model.alpha; this.borderColor = model.borderColor; this.borderWidth = model.borderWidth; this.box = model.box; this.boxBorderWidth = model.boxBorderWidth; this.boxColor = model.boxColor; this.fontColor = model.fontColor; this.fontSize = model.fontSize; this.fontType = model.fontType; this.text = model.text; this.x = model.x; this.y = model.y; this.zOrder = model.zOrder; } /** * Alpha. */ public Builder alpha(Float alpha) { this.alpha = alpha; return this; } /** * BorderColor. */ public Builder borderColor(Long borderColor) { this.borderColor = borderColor; return this; } /** * BorderWidth. */ public Builder borderWidth(Integer borderWidth) { this.borderWidth = borderWidth; return this; } /** * Box. */ public Builder box(Boolean box) { this.box = box; return this; } /** * BoxBorderWidth. */ public Builder boxBorderWidth(Integer boxBorderWidth) { this.boxBorderWidth = boxBorderWidth; return this; } /** * BoxColor. */ public Builder boxColor(Long boxColor) { this.boxColor = boxColor; return this; } /** * FontColor. */ public Builder fontColor(Integer fontColor) { this.fontColor = fontColor; return this; } /** * FontSize. */ public Builder fontSize(Integer fontSize) { this.fontSize = fontSize; return this; } /** * FontType. */ public Builder fontType(Integer fontType) { this.fontType = fontType; return this; } /** * Text. */ public Builder text(String text) { this.text = text; return this; } /** * X. */ public Builder x(Float x) { this.x = x; return this; } /** * Y. */ public Builder y(Float y) { this.y = y; return this; } /** * ZOrder. */ public Builder zOrder(Integer zOrder) { this.zOrder = zOrder; return this; } public Texts build() { return new Texts(this); } } } /** * * {@link StartMPUTaskRequest} extends {@link TeaModel} * * <p>StartMPUTaskRequest</p> */ public static class UserPanes extends TeaModel { @com.aliyun.core.annotation.NameInMap("Images") private java.util.List<Images> images; @com.aliyun.core.annotation.NameInMap("PaneId") private Integer paneId; @com.aliyun.core.annotation.NameInMap("SegmentType") private Integer segmentType; @com.aliyun.core.annotation.NameInMap("SourceType") private String sourceType; @com.aliyun.core.annotation.NameInMap("Texts") private java.util.List<Texts> texts; @com.aliyun.core.annotation.NameInMap("UserId") private String userId; private UserPanes(Builder builder) { this.images = builder.images; this.paneId = builder.paneId; this.segmentType = builder.segmentType; this.sourceType = builder.sourceType; this.texts = builder.texts; this.userId = builder.userId; } public static Builder builder() { return new Builder(); } public static UserPanes create() { return builder().build(); } /** * @return images */ public java.util.List<Images> getImages() { return this.images; } /** * @return paneId */ public Integer getPaneId() { return this.paneId; } /** * @return segmentType */ public Integer getSegmentType() { return this.segmentType; } /** * @return sourceType */ public String getSourceType() { return this.sourceType; } /** * @return texts */ public java.util.List<Texts> getTexts() { return this.texts; } /** * @return userId */ public String getUserId() { return this.userId; } public static final class Builder { private java.util.List<Images> images; private Integer paneId; private Integer segmentType; private String sourceType; private java.util.List<Texts> texts; private String userId; private Builder() { } private Builder(UserPanes model) { this.images = model.images; this.paneId = model.paneId; this.segmentType = model.segmentType; this.sourceType = model.sourceType; this.texts = model.texts; this.userId = model.userId; } /** * Images. */ public Builder images(java.util.List<Images> images) { this.images = images; return this; } /** * PaneId. */ public Builder paneId(Integer paneId) { this.paneId = paneId; return this; } /** * SegmentType. */ public Builder segmentType(Integer segmentType) { this.segmentType = segmentType; return this; } /** * SourceType. */ public Builder sourceType(String sourceType) { this.sourceType = sourceType; return this; } /** * Texts. */ public Builder texts(java.util.List<Texts> texts) { this.texts = texts; return this; } /** * UserId. */ public Builder userId(String userId) { this.userId = userId; return this; } public UserPanes build() { return new UserPanes(this); } } } /** * * {@link StartMPUTaskRequest} extends {@link TeaModel} * * <p>StartMPUTaskRequest</p> */ public static class Watermarks extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") private Float alpha; @com.aliyun.core.annotation.NameInMap("Display") private Integer display; @com.aliyun.core.annotation.NameInMap("Height") private Float height; @com.aliyun.core.annotation.NameInMap("Url") private String url; @com.aliyun.core.annotation.NameInMap("Width") private Float width; @com.aliyun.core.annotation.NameInMap("X") private Float x; @com.aliyun.core.annotation.NameInMap("Y") private Float y; @com.aliyun.core.annotation.NameInMap("ZOrder") private Integer zOrder; private Watermarks(Builder builder) { this.alpha = builder.alpha; this.display = builder.display; this.height = builder.height; this.url = builder.url; this.width = builder.width; this.x = builder.x; this.y = builder.y; this.zOrder = builder.zOrder; } public static Builder builder() { return new Builder(); } public static Watermarks create() { return builder().build(); } /** * @return alpha */ public Float getAlpha() { return this.alpha; } /** * @return display */ public Integer getDisplay() { return this.display; } /** * @return height */ public Float getHeight() { return this.height; } /** * @return url */ public String getUrl() { return this.url; } /** * @return width */ public Float getWidth() { return this.width; } /** * @return x */ public Float getX() { return this.x; } /** * @return y */ public Float getY() { return this.y; } /** * @return zOrder */ public Integer getZOrder() { return this.zOrder; } public static final class Builder { private Float alpha; private Integer display; private Float height; private String url; private Float width; private Float x; private Float y; private Integer zOrder; private Builder() { } private Builder(Watermarks model) { this.alpha = model.alpha; this.display = model.display; this.height = model.height; this.url = model.url; this.width = model.width; this.x = model.x; this.y = model.y; this.zOrder = model.zOrder; } /** * Alpha. */ public Builder alpha(Float alpha) { this.alpha = alpha; return this; } /** * Display. */ public Builder display(Integer display) { this.display = display; return this; } /** * Height. */ public Builder height(Float height) { this.height = height; return this; } /** * Url. */ public Builder url(String url) { this.url = url; return this; } /** * Width. */ public Builder width(Float width) { this.width = width; return this; } /** * X. */ public Builder x(Float x) { this.x = x; return this; } /** * Y. */ public Builder y(Float y) { this.y = y; return this; } /** * ZOrder. */ public Builder zOrder(Integer zOrder) { this.zOrder = zOrder; return this; } public Watermarks build() { return new Watermarks(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StartMPUTaskResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StartMPUTaskResponse} extends {@link TeaModel} * * <p>StartMPUTaskResponse</p> */ public class StartMPUTaskResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private StartMPUTaskResponseBody body; private StartMPUTaskResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static StartMPUTaskResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public StartMPUTaskResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<StartMPUTaskResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(StartMPUTaskResponseBody body); @Override StartMPUTaskResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<StartMPUTaskResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private StartMPUTaskResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(StartMPUTaskResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(StartMPUTaskResponseBody body) { this.body = body; return this; } @Override public StartMPUTaskResponse build() { return new StartMPUTaskResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StartMPUTaskResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StartMPUTaskResponseBody} extends {@link TeaModel} * * <p>StartMPUTaskResponseBody</p> */ public class StartMPUTaskResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private StartMPUTaskResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static StartMPUTaskResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(StartMPUTaskResponseBody model) { this.requestId = model.requestId; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public StartMPUTaskResponseBody build() { return new StartMPUTaskResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StartRecordTaskRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StartRecordTaskRequest} extends {@link RequestModel} * * <p>StartRecordTaskRequest</p> */ public class StartRecordTaskRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ChannelId") @com.aliyun.core.annotation.Validation(required = true) private String channelId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CropMode") private Long cropMode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("LayoutIds") private java.util.List<Long> layoutIds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MediaEncode") private Integer mediaEncode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MixMode") private Integer mixMode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SourceType") private String sourceType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StreamType") private Integer streamType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SubSpecAudioUsers") private java.util.List<String> subSpecAudioUsers; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SubSpecCameraUsers") private java.util.List<String> subSpecCameraUsers; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SubSpecShareScreenUsers") private java.util.List<String> subSpecShareScreenUsers; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SubSpecUsers") private java.util.List<String> subSpecUsers; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskId") @com.aliyun.core.annotation.Validation(required = true) private String taskId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskProfile") private String taskProfile; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TemplateId") @com.aliyun.core.annotation.Validation(required = true) private String templateId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UnsubSpecAudioUsers") private java.util.List<String> unsubSpecAudioUsers; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UnsubSpecCameraUsers") private java.util.List<String> unsubSpecCameraUsers; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UnsubSpecShareScreenUsers") private java.util.List<String> unsubSpecShareScreenUsers; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UserPanes") private java.util.List<UserPanes> userPanes; private StartRecordTaskRequest(Builder builder) { super(builder); this.appId = builder.appId; this.channelId = builder.channelId; this.cropMode = builder.cropMode; this.layoutIds = builder.layoutIds; this.mediaEncode = builder.mediaEncode; this.mixMode = builder.mixMode; this.ownerId = builder.ownerId; this.sourceType = builder.sourceType; this.streamType = builder.streamType; this.subSpecAudioUsers = builder.subSpecAudioUsers; this.subSpecCameraUsers = builder.subSpecCameraUsers; this.subSpecShareScreenUsers = builder.subSpecShareScreenUsers; this.subSpecUsers = builder.subSpecUsers; this.taskId = builder.taskId; this.taskProfile = builder.taskProfile; this.templateId = builder.templateId; this.unsubSpecAudioUsers = builder.unsubSpecAudioUsers; this.unsubSpecCameraUsers = builder.unsubSpecCameraUsers; this.unsubSpecShareScreenUsers = builder.unsubSpecShareScreenUsers; this.userPanes = builder.userPanes; } public static Builder builder() { return new Builder(); } public static StartRecordTaskRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return channelId */ public String getChannelId() { return this.channelId; } /** * @return cropMode */ public Long getCropMode() { return this.cropMode; } /** * @return layoutIds */ public java.util.List<Long> getLayoutIds() { return this.layoutIds; } /** * @return mediaEncode */ public Integer getMediaEncode() { return this.mediaEncode; } /** * @return mixMode */ public Integer getMixMode() { return this.mixMode; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return sourceType */ public String getSourceType() { return this.sourceType; } /** * @return streamType */ public Integer getStreamType() { return this.streamType; } /** * @return subSpecAudioUsers */ public java.util.List<String> getSubSpecAudioUsers() { return this.subSpecAudioUsers; } /** * @return subSpecCameraUsers */ public java.util.List<String> getSubSpecCameraUsers() { return this.subSpecCameraUsers; } /** * @return subSpecShareScreenUsers */ public java.util.List<String> getSubSpecShareScreenUsers() { return this.subSpecShareScreenUsers; } /** * @return subSpecUsers */ public java.util.List<String> getSubSpecUsers() { return this.subSpecUsers; } /** * @return taskId */ public String getTaskId() { return this.taskId; } /** * @return taskProfile */ public String getTaskProfile() { return this.taskProfile; } /** * @return templateId */ public String getTemplateId() { return this.templateId; } /** * @return unsubSpecAudioUsers */ public java.util.List<String> getUnsubSpecAudioUsers() { return this.unsubSpecAudioUsers; } /** * @return unsubSpecCameraUsers */ public java.util.List<String> getUnsubSpecCameraUsers() { return this.unsubSpecCameraUsers; } /** * @return unsubSpecShareScreenUsers */ public java.util.List<String> getUnsubSpecShareScreenUsers() { return this.unsubSpecShareScreenUsers; } /** * @return userPanes */ public java.util.List<UserPanes> getUserPanes() { return this.userPanes; } public static final class Builder extends Request.Builder<StartRecordTaskRequest, Builder> { private String appId; private String channelId; private Long cropMode; private java.util.List<Long> layoutIds; private Integer mediaEncode; private Integer mixMode; private Long ownerId; private String sourceType; private Integer streamType; private java.util.List<String> subSpecAudioUsers; private java.util.List<String> subSpecCameraUsers; private java.util.List<String> subSpecShareScreenUsers; private java.util.List<String> subSpecUsers; private String taskId; private String taskProfile; private String templateId; private java.util.List<String> unsubSpecAudioUsers; private java.util.List<String> unsubSpecCameraUsers; private java.util.List<String> unsubSpecShareScreenUsers; private java.util.List<UserPanes> userPanes; private Builder() { super(); } private Builder(StartRecordTaskRequest request) { super(request); this.appId = request.appId; this.channelId = request.channelId; this.cropMode = request.cropMode; this.layoutIds = request.layoutIds; this.mediaEncode = request.mediaEncode; this.mixMode = request.mixMode; this.ownerId = request.ownerId; this.sourceType = request.sourceType; this.streamType = request.streamType; this.subSpecAudioUsers = request.subSpecAudioUsers; this.subSpecCameraUsers = request.subSpecCameraUsers; this.subSpecShareScreenUsers = request.subSpecShareScreenUsers; this.subSpecUsers = request.subSpecUsers; this.taskId = request.taskId; this.taskProfile = request.taskProfile; this.templateId = request.templateId; this.unsubSpecAudioUsers = request.unsubSpecAudioUsers; this.unsubSpecCameraUsers = request.unsubSpecCameraUsers; this.unsubSpecShareScreenUsers = request.unsubSpecShareScreenUsers; this.userPanes = request.userPanes; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>yourAppId</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>yourChannelId</p> */ public Builder channelId(String channelId) { this.putQueryParameter("ChannelId", channelId); this.channelId = channelId; return this; } /** * CropMode. */ public Builder cropMode(Long cropMode) { this.putQueryParameter("CropMode", cropMode); this.cropMode = cropMode; return this; } /** * LayoutIds. */ public Builder layoutIds(java.util.List<Long> layoutIds) { this.putQueryParameter("LayoutIds", layoutIds); this.layoutIds = layoutIds; return this; } /** * MediaEncode. */ public Builder mediaEncode(Integer mediaEncode) { this.putQueryParameter("MediaEncode", mediaEncode); this.mediaEncode = mediaEncode; return this; } /** * MixMode. */ public Builder mixMode(Integer mixMode) { this.putQueryParameter("MixMode", mixMode); this.mixMode = mixMode; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * SourceType. */ public Builder sourceType(String sourceType) { this.putQueryParameter("SourceType", sourceType); this.sourceType = sourceType; return this; } /** * StreamType. */ public Builder streamType(Integer streamType) { this.putQueryParameter("StreamType", streamType); this.streamType = streamType; return this; } /** * SubSpecAudioUsers. */ public Builder subSpecAudioUsers(java.util.List<String> subSpecAudioUsers) { this.putQueryParameter("SubSpecAudioUsers", subSpecAudioUsers); this.subSpecAudioUsers = subSpecAudioUsers; return this; } /** * SubSpecCameraUsers. */ public Builder subSpecCameraUsers(java.util.List<String> subSpecCameraUsers) { this.putQueryParameter("SubSpecCameraUsers", subSpecCameraUsers); this.subSpecCameraUsers = subSpecCameraUsers; return this; } /** * SubSpecShareScreenUsers. */ public Builder subSpecShareScreenUsers(java.util.List<String> subSpecShareScreenUsers) { this.putQueryParameter("SubSpecShareScreenUsers", subSpecShareScreenUsers); this.subSpecShareScreenUsers = subSpecShareScreenUsers; return this; } /** * SubSpecUsers. */ public Builder subSpecUsers(java.util.List<String> subSpecUsers) { this.putQueryParameter("SubSpecUsers", subSpecUsers); this.subSpecUsers = subSpecUsers; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>yourTaskId</p> */ public Builder taskId(String taskId) { this.putQueryParameter("TaskId", taskId); this.taskId = taskId; return this; } /** * TaskProfile. */ public Builder taskProfile(String taskProfile) { this.putQueryParameter("TaskProfile", taskProfile); this.taskProfile = taskProfile; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>76dasgb****</p> */ public Builder templateId(String templateId) { this.putQueryParameter("TemplateId", templateId); this.templateId = templateId; return this; } /** * UnsubSpecAudioUsers. */ public Builder unsubSpecAudioUsers(java.util.List<String> unsubSpecAudioUsers) { this.putQueryParameter("UnsubSpecAudioUsers", unsubSpecAudioUsers); this.unsubSpecAudioUsers = unsubSpecAudioUsers; return this; } /** * UnsubSpecCameraUsers. */ public Builder unsubSpecCameraUsers(java.util.List<String> unsubSpecCameraUsers) { this.putQueryParameter("UnsubSpecCameraUsers", unsubSpecCameraUsers); this.unsubSpecCameraUsers = unsubSpecCameraUsers; return this; } /** * UnsubSpecShareScreenUsers. */ public Builder unsubSpecShareScreenUsers(java.util.List<String> unsubSpecShareScreenUsers) { this.putQueryParameter("UnsubSpecShareScreenUsers", unsubSpecShareScreenUsers); this.unsubSpecShareScreenUsers = unsubSpecShareScreenUsers; return this; } /** * UserPanes. */ public Builder userPanes(java.util.List<UserPanes> userPanes) { this.putQueryParameter("UserPanes", userPanes); this.userPanes = userPanes; return this; } @Override public StartRecordTaskRequest build() { return new StartRecordTaskRequest(this); } } /** * * {@link StartRecordTaskRequest} extends {@link TeaModel} * * <p>StartRecordTaskRequest</p> */ public static class Images extends TeaModel { @com.aliyun.core.annotation.NameInMap("Display") private Integer display; @com.aliyun.core.annotation.NameInMap("Height") private Float height; @com.aliyun.core.annotation.NameInMap("Url") private String url; @com.aliyun.core.annotation.NameInMap("Width") private Float width; @com.aliyun.core.annotation.NameInMap("X") private Float x; @com.aliyun.core.annotation.NameInMap("Y") private Float y; @com.aliyun.core.annotation.NameInMap("ZOrder") private Integer zOrder; private Images(Builder builder) { this.display = builder.display; this.height = builder.height; this.url = builder.url; this.width = builder.width; this.x = builder.x; this.y = builder.y; this.zOrder = builder.zOrder; } public static Builder builder() { return new Builder(); } public static Images create() { return builder().build(); } /** * @return display */ public Integer getDisplay() { return this.display; } /** * @return height */ public Float getHeight() { return this.height; } /** * @return url */ public String getUrl() { return this.url; } /** * @return width */ public Float getWidth() { return this.width; } /** * @return x */ public Float getX() { return this.x; } /** * @return y */ public Float getY() { return this.y; } /** * @return zOrder */ public Integer getZOrder() { return this.zOrder; } public static final class Builder { private Integer display; private Float height; private String url; private Float width; private Float x; private Float y; private Integer zOrder; private Builder() { } private Builder(Images model) { this.display = model.display; this.height = model.height; this.url = model.url; this.width = model.width; this.x = model.x; this.y = model.y; this.zOrder = model.zOrder; } /** * Display. */ public Builder display(Integer display) { this.display = display; return this; } /** * Height. */ public Builder height(Float height) { this.height = height; return this; } /** * Url. */ public Builder url(String url) { this.url = url; return this; } /** * Width. */ public Builder width(Float width) { this.width = width; return this; } /** * X. */ public Builder x(Float x) { this.x = x; return this; } /** * Y. */ public Builder y(Float y) { this.y = y; return this; } /** * ZOrder. */ public Builder zOrder(Integer zOrder) { this.zOrder = zOrder; return this; } public Images build() { return new Images(this); } } } /** * * {@link StartRecordTaskRequest} extends {@link TeaModel} * * <p>StartRecordTaskRequest</p> */ public static class Texts extends TeaModel { @com.aliyun.core.annotation.NameInMap("FontColor") private Integer fontColor; @com.aliyun.core.annotation.NameInMap("FontSize") private Integer fontSize; @com.aliyun.core.annotation.NameInMap("FontType") private Integer fontType; @com.aliyun.core.annotation.NameInMap("Text") private String text; @com.aliyun.core.annotation.NameInMap("X") private Float x; @com.aliyun.core.annotation.NameInMap("Y") private Float y; @com.aliyun.core.annotation.NameInMap("ZOrder") private Integer zOrder; private Texts(Builder builder) { this.fontColor = builder.fontColor; this.fontSize = builder.fontSize; this.fontType = builder.fontType; this.text = builder.text; this.x = builder.x; this.y = builder.y; this.zOrder = builder.zOrder; } public static Builder builder() { return new Builder(); } public static Texts create() { return builder().build(); } /** * @return fontColor */ public Integer getFontColor() { return this.fontColor; } /** * @return fontSize */ public Integer getFontSize() { return this.fontSize; } /** * @return fontType */ public Integer getFontType() { return this.fontType; } /** * @return text */ public String getText() { return this.text; } /** * @return x */ public Float getX() { return this.x; } /** * @return y */ public Float getY() { return this.y; } /** * @return zOrder */ public Integer getZOrder() { return this.zOrder; } public static final class Builder { private Integer fontColor; private Integer fontSize; private Integer fontType; private String text; private Float x; private Float y; private Integer zOrder; private Builder() { } private Builder(Texts model) { this.fontColor = model.fontColor; this.fontSize = model.fontSize; this.fontType = model.fontType; this.text = model.text; this.x = model.x; this.y = model.y; this.zOrder = model.zOrder; } /** * FontColor. */ public Builder fontColor(Integer fontColor) { this.fontColor = fontColor; return this; } /** * FontSize. */ public Builder fontSize(Integer fontSize) { this.fontSize = fontSize; return this; } /** * FontType. */ public Builder fontType(Integer fontType) { this.fontType = fontType; return this; } /** * Text. */ public Builder text(String text) { this.text = text; return this; } /** * X. */ public Builder x(Float x) { this.x = x; return this; } /** * Y. */ public Builder y(Float y) { this.y = y; return this; } /** * ZOrder. */ public Builder zOrder(Integer zOrder) { this.zOrder = zOrder; return this; } public Texts build() { return new Texts(this); } } } /** * * {@link StartRecordTaskRequest} extends {@link TeaModel} * * <p>StartRecordTaskRequest</p> */ public static class UserPanes extends TeaModel { @com.aliyun.core.annotation.NameInMap("Images") private java.util.List<Images> images; @com.aliyun.core.annotation.NameInMap("PaneId") private Integer paneId; @com.aliyun.core.annotation.NameInMap("SourceType") private String sourceType; @com.aliyun.core.annotation.NameInMap("Texts") private java.util.List<Texts> texts; @com.aliyun.core.annotation.NameInMap("UserId") private String userId; private UserPanes(Builder builder) { this.images = builder.images; this.paneId = builder.paneId; this.sourceType = builder.sourceType; this.texts = builder.texts; this.userId = builder.userId; } public static Builder builder() { return new Builder(); } public static UserPanes create() { return builder().build(); } /** * @return images */ public java.util.List<Images> getImages() { return this.images; } /** * @return paneId */ public Integer getPaneId() { return this.paneId; } /** * @return sourceType */ public String getSourceType() { return this.sourceType; } /** * @return texts */ public java.util.List<Texts> getTexts() { return this.texts; } /** * @return userId */ public String getUserId() { return this.userId; } public static final class Builder { private java.util.List<Images> images; private Integer paneId; private String sourceType; private java.util.List<Texts> texts; private String userId; private Builder() { } private Builder(UserPanes model) { this.images = model.images; this.paneId = model.paneId; this.sourceType = model.sourceType; this.texts = model.texts; this.userId = model.userId; } /** * Images. */ public Builder images(java.util.List<Images> images) { this.images = images; return this; } /** * PaneId. */ public Builder paneId(Integer paneId) { this.paneId = paneId; return this; } /** * SourceType. */ public Builder sourceType(String sourceType) { this.sourceType = sourceType; return this; } /** * Texts. */ public Builder texts(java.util.List<Texts> texts) { this.texts = texts; return this; } /** * UserId. */ public Builder userId(String userId) { this.userId = userId; return this; } public UserPanes build() { return new UserPanes(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StartRecordTaskResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StartRecordTaskResponse} extends {@link TeaModel} * * <p>StartRecordTaskResponse</p> */ public class StartRecordTaskResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private StartRecordTaskResponseBody body; private StartRecordTaskResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static StartRecordTaskResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public StartRecordTaskResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<StartRecordTaskResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(StartRecordTaskResponseBody body); @Override StartRecordTaskResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<StartRecordTaskResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private StartRecordTaskResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(StartRecordTaskResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(StartRecordTaskResponseBody body) { this.body = body; return this; } @Override public StartRecordTaskResponse build() { return new StartRecordTaskResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StartRecordTaskResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StartRecordTaskResponseBody} extends {@link TeaModel} * * <p>StartRecordTaskResponseBody</p> */ public class StartRecordTaskResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private StartRecordTaskResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static StartRecordTaskResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(StartRecordTaskResponseBody model) { this.requestId = model.requestId; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public StartRecordTaskResponseBody build() { return new StartRecordTaskResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StartStreamingOutRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StartStreamingOutRequest} extends {@link RequestModel} * * <p>StartStreamingOutRequest</p> */ public class StartStreamingOutRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Annotation") private String annotation; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Backgrounds") private java.util.List<Backgrounds> backgrounds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("BgColor") private BgColor bgColor; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ChannelId") @com.aliyun.core.annotation.Validation(required = true) private String channelId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClockWidgets") private java.util.List<ClockWidgets> clockWidgets; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CropMode") private Integer cropMode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Images") private java.util.List<Images> images; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("LayoutSpecifiedUsers") private LayoutSpecifiedUsers layoutSpecifiedUsers; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Panes") private java.util.List<Panes> panes; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionColor") private RegionColor regionColor; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ReservePaneForNoCameraUser") private Boolean reservePaneForNoCameraUser; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ShowDefaultBackgroundOnMute") private Boolean showDefaultBackgroundOnMute; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SpecMixedUserList") private java.util.List<String> specMixedUserList; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartWithoutChannel") private Boolean startWithoutChannel; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartWithoutChannelWaitTime") private Integer startWithoutChannelWaitTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SubHighResolutionStream") private Boolean subHighResolutionStream; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskId") @com.aliyun.core.annotation.Validation(maxLength = 55, minLength = 1) private String taskId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TemplateId") @com.aliyun.core.annotation.Validation(required = true, maxLength = 128, minLength = 1) private String templateId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Texts") private java.util.List<Texts> texts; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Url") @com.aliyun.core.annotation.Validation(required = true, maxLength = 1024, minLength = 1) private String url; private StartStreamingOutRequest(Builder builder) { super(builder); this.annotation = builder.annotation; this.appId = builder.appId; this.backgrounds = builder.backgrounds; this.bgColor = builder.bgColor; this.channelId = builder.channelId; this.clockWidgets = builder.clockWidgets; this.cropMode = builder.cropMode; this.images = builder.images; this.layoutSpecifiedUsers = builder.layoutSpecifiedUsers; this.panes = builder.panes; this.regionColor = builder.regionColor; this.reservePaneForNoCameraUser = builder.reservePaneForNoCameraUser; this.showDefaultBackgroundOnMute = builder.showDefaultBackgroundOnMute; this.specMixedUserList = builder.specMixedUserList; this.startWithoutChannel = builder.startWithoutChannel; this.startWithoutChannelWaitTime = builder.startWithoutChannelWaitTime; this.subHighResolutionStream = builder.subHighResolutionStream; this.taskId = builder.taskId; this.templateId = builder.templateId; this.texts = builder.texts; this.url = builder.url; } public static Builder builder() { return new Builder(); } public static StartStreamingOutRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return annotation */ public String getAnnotation() { return this.annotation; } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return backgrounds */ public java.util.List<Backgrounds> getBackgrounds() { return this.backgrounds; } /** * @return bgColor */ public BgColor getBgColor() { return this.bgColor; } /** * @return channelId */ public String getChannelId() { return this.channelId; } /** * @return clockWidgets */ public java.util.List<ClockWidgets> getClockWidgets() { return this.clockWidgets; } /** * @return cropMode */ public Integer getCropMode() { return this.cropMode; } /** * @return images */ public java.util.List<Images> getImages() { return this.images; } /** * @return layoutSpecifiedUsers */ public LayoutSpecifiedUsers getLayoutSpecifiedUsers() { return this.layoutSpecifiedUsers; } /** * @return panes */ public java.util.List<Panes> getPanes() { return this.panes; } /** * @return regionColor */ public RegionColor getRegionColor() { return this.regionColor; } /** * @return reservePaneForNoCameraUser */ public Boolean getReservePaneForNoCameraUser() { return this.reservePaneForNoCameraUser; } /** * @return showDefaultBackgroundOnMute */ public Boolean getShowDefaultBackgroundOnMute() { return this.showDefaultBackgroundOnMute; } /** * @return specMixedUserList */ public java.util.List<String> getSpecMixedUserList() { return this.specMixedUserList; } /** * @return startWithoutChannel */ public Boolean getStartWithoutChannel() { return this.startWithoutChannel; } /** * @return startWithoutChannelWaitTime */ public Integer getStartWithoutChannelWaitTime() { return this.startWithoutChannelWaitTime; } /** * @return subHighResolutionStream */ public Boolean getSubHighResolutionStream() { return this.subHighResolutionStream; } /** * @return taskId */ public String getTaskId() { return this.taskId; } /** * @return templateId */ public String getTemplateId() { return this.templateId; } /** * @return texts */ public java.util.List<Texts> getTexts() { return this.texts; } /** * @return url */ public String getUrl() { return this.url; } public static final class Builder extends Request.Builder<StartStreamingOutRequest, Builder> { private String annotation; private String appId; private java.util.List<Backgrounds> backgrounds; private BgColor bgColor; private String channelId; private java.util.List<ClockWidgets> clockWidgets; private Integer cropMode; private java.util.List<Images> images; private LayoutSpecifiedUsers layoutSpecifiedUsers; private java.util.List<Panes> panes; private RegionColor regionColor; private Boolean reservePaneForNoCameraUser; private Boolean showDefaultBackgroundOnMute; private java.util.List<String> specMixedUserList; private Boolean startWithoutChannel; private Integer startWithoutChannelWaitTime; private Boolean subHighResolutionStream; private String taskId; private String templateId; private java.util.List<Texts> texts; private String url; private Builder() { super(); } private Builder(StartStreamingOutRequest request) { super(request); this.annotation = request.annotation; this.appId = request.appId; this.backgrounds = request.backgrounds; this.bgColor = request.bgColor; this.channelId = request.channelId; this.clockWidgets = request.clockWidgets; this.cropMode = request.cropMode; this.images = request.images; this.layoutSpecifiedUsers = request.layoutSpecifiedUsers; this.panes = request.panes; this.regionColor = request.regionColor; this.reservePaneForNoCameraUser = request.reservePaneForNoCameraUser; this.showDefaultBackgroundOnMute = request.showDefaultBackgroundOnMute; this.specMixedUserList = request.specMixedUserList; this.startWithoutChannel = request.startWithoutChannel; this.startWithoutChannelWaitTime = request.startWithoutChannelWaitTime; this.subHighResolutionStream = request.subHighResolutionStream; this.taskId = request.taskId; this.templateId = request.templateId; this.texts = request.texts; this.url = request.url; } /** * Annotation. */ public Builder annotation(String annotation) { this.putQueryParameter("Annotation", annotation); this.annotation = annotation; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>eo85****</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * Backgrounds. */ public Builder backgrounds(java.util.List<Backgrounds> backgrounds) { this.putQueryParameter("Backgrounds", backgrounds); this.backgrounds = backgrounds; return this; } /** * BgColor. */ public Builder bgColor(BgColor bgColor) { this.putQueryParameter("BgColor", bgColor); this.bgColor = bgColor; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>testid</p> */ public Builder channelId(String channelId) { this.putQueryParameter("ChannelId", channelId); this.channelId = channelId; return this; } /** * ClockWidgets. */ public Builder clockWidgets(java.util.List<ClockWidgets> clockWidgets) { this.putQueryParameter("ClockWidgets", clockWidgets); this.clockWidgets = clockWidgets; return this; } /** * CropMode. */ public Builder cropMode(Integer cropMode) { this.putQueryParameter("CropMode", cropMode); this.cropMode = cropMode; return this; } /** * Images. */ public Builder images(java.util.List<Images> images) { this.putQueryParameter("Images", images); this.images = images; return this; } /** * LayoutSpecifiedUsers. */ public Builder layoutSpecifiedUsers(LayoutSpecifiedUsers layoutSpecifiedUsers) { String layoutSpecifiedUsersShrink = shrink(layoutSpecifiedUsers, "LayoutSpecifiedUsers", "json"); this.putQueryParameter("LayoutSpecifiedUsers", layoutSpecifiedUsersShrink); this.layoutSpecifiedUsers = layoutSpecifiedUsers; return this; } /** * Panes. */ public Builder panes(java.util.List<Panes> panes) { this.putQueryParameter("Panes", panes); this.panes = panes; return this; } /** * RegionColor. */ public Builder regionColor(RegionColor regionColor) { this.putQueryParameter("RegionColor", regionColor); this.regionColor = regionColor; return this; } /** * ReservePaneForNoCameraUser. */ public Builder reservePaneForNoCameraUser(Boolean reservePaneForNoCameraUser) { this.putQueryParameter("ReservePaneForNoCameraUser", reservePaneForNoCameraUser); this.reservePaneForNoCameraUser = reservePaneForNoCameraUser; return this; } /** * ShowDefaultBackgroundOnMute. */ public Builder showDefaultBackgroundOnMute(Boolean showDefaultBackgroundOnMute) { this.putQueryParameter("ShowDefaultBackgroundOnMute", showDefaultBackgroundOnMute); this.showDefaultBackgroundOnMute = showDefaultBackgroundOnMute; return this; } /** * SpecMixedUserList. */ public Builder specMixedUserList(java.util.List<String> specMixedUserList) { this.putQueryParameter("SpecMixedUserList", specMixedUserList); this.specMixedUserList = specMixedUserList; return this; } /** * StartWithoutChannel. */ public Builder startWithoutChannel(Boolean startWithoutChannel) { this.putQueryParameter("StartWithoutChannel", startWithoutChannel); this.startWithoutChannel = startWithoutChannel; return this; } /** * StartWithoutChannelWaitTime. */ public Builder startWithoutChannelWaitTime(Integer startWithoutChannelWaitTime) { this.putQueryParameter("StartWithoutChannelWaitTime", startWithoutChannelWaitTime); this.startWithoutChannelWaitTime = startWithoutChannelWaitTime; return this; } /** * SubHighResolutionStream. */ public Builder subHighResolutionStream(Boolean subHighResolutionStream) { this.putQueryParameter("SubHighResolutionStream", subHighResolutionStream); this.subHighResolutionStream = subHighResolutionStream; return this; } /** * TaskId. */ public Builder taskId(String taskId) { this.putQueryParameter("TaskId", taskId); this.taskId = taskId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>567</p> */ public Builder templateId(String templateId) { this.putQueryParameter("TemplateId", templateId); this.templateId = templateId; return this; } /** * Texts. */ public Builder texts(java.util.List<Texts> texts) { this.putQueryParameter("Texts", texts); this.texts = texts; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>rtmp://example.com/live/stream</p> */ public Builder url(String url) { this.putQueryParameter("Url", url); this.url = url; return this; } @Override public StartStreamingOutRequest build() { return new StartStreamingOutRequest(this); } } /** * * {@link StartStreamingOutRequest} extends {@link TeaModel} * * <p>StartStreamingOutRequest</p> */ public static class Backgrounds extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") private Double alpha; @com.aliyun.core.annotation.NameInMap("BackgroundCropMode") private Integer backgroundCropMode; @com.aliyun.core.annotation.NameInMap("Height") @com.aliyun.core.annotation.Validation(required = true) private Double height; @com.aliyun.core.annotation.NameInMap("Layer") private Integer layer; @com.aliyun.core.annotation.NameInMap("Url") @com.aliyun.core.annotation.Validation(required = true) private String url; @com.aliyun.core.annotation.NameInMap("Width") @com.aliyun.core.annotation.Validation(required = true) private Double width; @com.aliyun.core.annotation.NameInMap("X") @com.aliyun.core.annotation.Validation(required = true) private Double x; @com.aliyun.core.annotation.NameInMap("Y") @com.aliyun.core.annotation.Validation(required = true) private Double y; private Backgrounds(Builder builder) { this.alpha = builder.alpha; this.backgroundCropMode = builder.backgroundCropMode; this.height = builder.height; this.layer = builder.layer; this.url = builder.url; this.width = builder.width; this.x = builder.x; this.y = builder.y; } public static Builder builder() { return new Builder(); } public static Backgrounds create() { return builder().build(); } /** * @return alpha */ public Double getAlpha() { return this.alpha; } /** * @return backgroundCropMode */ public Integer getBackgroundCropMode() { return this.backgroundCropMode; } /** * @return height */ public Double getHeight() { return this.height; } /** * @return layer */ public Integer getLayer() { return this.layer; } /** * @return url */ public String getUrl() { return this.url; } /** * @return width */ public Double getWidth() { return this.width; } /** * @return x */ public Double getX() { return this.x; } /** * @return y */ public Double getY() { return this.y; } public static final class Builder { private Double alpha; private Integer backgroundCropMode; private Double height; private Integer layer; private String url; private Double width; private Double x; private Double y; private Builder() { } private Builder(Backgrounds model) { this.alpha = model.alpha; this.backgroundCropMode = model.backgroundCropMode; this.height = model.height; this.layer = model.layer; this.url = model.url; this.width = model.width; this.x = model.x; this.y = model.y; } /** * Alpha. */ public Builder alpha(Double alpha) { this.alpha = alpha; return this; } /** * BackgroundCropMode. */ public Builder backgroundCropMode(Integer backgroundCropMode) { this.backgroundCropMode = backgroundCropMode; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder height(Double height) { this.height = height; return this; } /** * Layer. */ public Builder layer(Integer layer) { this.layer = layer; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p><a href="https://aliyun.com/123.jpg">https://aliyun.com/123.jpg</a></p> */ public Builder url(String url) { this.url = url; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder width(Double width) { this.width = width; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder x(Double x) { this.x = x; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder y(Double y) { this.y = y; return this; } public Backgrounds build() { return new Backgrounds(this); } } } /** * * {@link StartStreamingOutRequest} extends {@link TeaModel} * * <p>StartStreamingOutRequest</p> */ public static class BgColor extends TeaModel { @com.aliyun.core.annotation.NameInMap("B") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer b; @com.aliyun.core.annotation.NameInMap("G") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer g; @com.aliyun.core.annotation.NameInMap("R") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer r; private BgColor(Builder builder) { this.b = builder.b; this.g = builder.g; this.r = builder.r; } public static Builder builder() { return new Builder(); } public static BgColor create() { return builder().build(); } /** * @return b */ public Integer getB() { return this.b; } /** * @return g */ public Integer getG() { return this.g; } /** * @return r */ public Integer getR() { return this.r; } public static final class Builder { private Integer b; private Integer g; private Integer r; private Builder() { } private Builder(BgColor model) { this.b = model.b; this.g = model.g; this.r = model.r; } /** * B. */ public Builder b(Integer b) { this.b = b; return this; } /** * G. */ public Builder g(Integer g) { this.g = g; return this; } /** * R. */ public Builder r(Integer r) { this.r = r; return this; } public BgColor build() { return new BgColor(this); } } } /** * * {@link StartStreamingOutRequest} extends {@link TeaModel} * * <p>StartStreamingOutRequest</p> */ public static class BoxColor extends TeaModel { @com.aliyun.core.annotation.NameInMap("B") private Integer b; @com.aliyun.core.annotation.NameInMap("G") private Integer g; @com.aliyun.core.annotation.NameInMap("R") private Integer r; private BoxColor(Builder builder) { this.b = builder.b; this.g = builder.g; this.r = builder.r; } public static Builder builder() { return new Builder(); } public static BoxColor create() { return builder().build(); } /** * @return b */ public Integer getB() { return this.b; } /** * @return g */ public Integer getG() { return this.g; } /** * @return r */ public Integer getR() { return this.r; } public static final class Builder { private Integer b; private Integer g; private Integer r; private Builder() { } private Builder(BoxColor model) { this.b = model.b; this.g = model.g; this.r = model.r; } /** * B. */ public Builder b(Integer b) { this.b = b; return this; } /** * G. */ public Builder g(Integer g) { this.g = g; return this; } /** * R. */ public Builder r(Integer r) { this.r = r; return this; } public BoxColor build() { return new BoxColor(this); } } } /** * * {@link StartStreamingOutRequest} extends {@link TeaModel} * * <p>StartStreamingOutRequest</p> */ public static class FontColor extends TeaModel { @com.aliyun.core.annotation.NameInMap("B") private Integer b; @com.aliyun.core.annotation.NameInMap("G") private Integer g; @com.aliyun.core.annotation.NameInMap("R") private Integer r; private FontColor(Builder builder) { this.b = builder.b; this.g = builder.g; this.r = builder.r; } public static Builder builder() { return new Builder(); } public static FontColor create() { return builder().build(); } /** * @return b */ public Integer getB() { return this.b; } /** * @return g */ public Integer getG() { return this.g; } /** * @return r */ public Integer getR() { return this.r; } public static final class Builder { private Integer b; private Integer g; private Integer r; private Builder() { } private Builder(FontColor model) { this.b = model.b; this.g = model.g; this.r = model.r; } /** * B. */ public Builder b(Integer b) { this.b = b; return this; } /** * G. */ public Builder g(Integer g) { this.g = g; return this; } /** * R. */ public Builder r(Integer r) { this.r = r; return this; } public FontColor build() { return new FontColor(this); } } } /** * * {@link StartStreamingOutRequest} extends {@link TeaModel} * * <p>StartStreamingOutRequest</p> */ public static class ClockWidgets extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") private Double alpha; @com.aliyun.core.annotation.NameInMap("BoxAlpha") private Double boxAlpha; @com.aliyun.core.annotation.NameInMap("BoxBorderw") private Integer boxBorderw; @com.aliyun.core.annotation.NameInMap("BoxColor") private BoxColor boxColor; @com.aliyun.core.annotation.NameInMap("Font") private Integer font; @com.aliyun.core.annotation.NameInMap("FontColor") private FontColor fontColor; @com.aliyun.core.annotation.NameInMap("FontSize") private Integer fontSize; @com.aliyun.core.annotation.NameInMap("HasBox") private Boolean hasBox; @com.aliyun.core.annotation.NameInMap("Layer") private Integer layer; @com.aliyun.core.annotation.NameInMap("X") @com.aliyun.core.annotation.Validation(required = true) private Double x; @com.aliyun.core.annotation.NameInMap("Y") @com.aliyun.core.annotation.Validation(required = true) private Double y; @com.aliyun.core.annotation.NameInMap("Zone") private Integer zone; private ClockWidgets(Builder builder) { this.alpha = builder.alpha; this.boxAlpha = builder.boxAlpha; this.boxBorderw = builder.boxBorderw; this.boxColor = builder.boxColor; this.font = builder.font; this.fontColor = builder.fontColor; this.fontSize = builder.fontSize; this.hasBox = builder.hasBox; this.layer = builder.layer; this.x = builder.x; this.y = builder.y; this.zone = builder.zone; } public static Builder builder() { return new Builder(); } public static ClockWidgets create() { return builder().build(); } /** * @return alpha */ public Double getAlpha() { return this.alpha; } /** * @return boxAlpha */ public Double getBoxAlpha() { return this.boxAlpha; } /** * @return boxBorderw */ public Integer getBoxBorderw() { return this.boxBorderw; } /** * @return boxColor */ public BoxColor getBoxColor() { return this.boxColor; } /** * @return font */ public Integer getFont() { return this.font; } /** * @return fontColor */ public FontColor getFontColor() { return this.fontColor; } /** * @return fontSize */ public Integer getFontSize() { return this.fontSize; } /** * @return hasBox */ public Boolean getHasBox() { return this.hasBox; } /** * @return layer */ public Integer getLayer() { return this.layer; } /** * @return x */ public Double getX() { return this.x; } /** * @return y */ public Double getY() { return this.y; } /** * @return zone */ public Integer getZone() { return this.zone; } public static final class Builder { private Double alpha; private Double boxAlpha; private Integer boxBorderw; private BoxColor boxColor; private Integer font; private FontColor fontColor; private Integer fontSize; private Boolean hasBox; private Integer layer; private Double x; private Double y; private Integer zone; private Builder() { } private Builder(ClockWidgets model) { this.alpha = model.alpha; this.boxAlpha = model.boxAlpha; this.boxBorderw = model.boxBorderw; this.boxColor = model.boxColor; this.font = model.font; this.fontColor = model.fontColor; this.fontSize = model.fontSize; this.hasBox = model.hasBox; this.layer = model.layer; this.x = model.x; this.y = model.y; this.zone = model.zone; } /** * Alpha. */ public Builder alpha(Double alpha) { this.alpha = alpha; return this; } /** * BoxAlpha. */ public Builder boxAlpha(Double boxAlpha) { this.boxAlpha = boxAlpha; return this; } /** * BoxBorderw. */ public Builder boxBorderw(Integer boxBorderw) { this.boxBorderw = boxBorderw; return this; } /** * BoxColor. */ public Builder boxColor(BoxColor boxColor) { this.boxColor = boxColor; return this; } /** * Font. */ public Builder font(Integer font) { this.font = font; return this; } /** * FontColor. */ public Builder fontColor(FontColor fontColor) { this.fontColor = fontColor; return this; } /** * FontSize. */ public Builder fontSize(Integer fontSize) { this.fontSize = fontSize; return this; } /** * HasBox. */ public Builder hasBox(Boolean hasBox) { this.hasBox = hasBox; return this; } /** * Layer. */ public Builder layer(Integer layer) { this.layer = layer; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder x(Double x) { this.x = x; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder y(Double y) { this.y = y; return this; } /** * Zone. */ public Builder zone(Integer zone) { this.zone = zone; return this; } public ClockWidgets build() { return new ClockWidgets(this); } } } /** * * {@link StartStreamingOutRequest} extends {@link TeaModel} * * <p>StartStreamingOutRequest</p> */ public static class Images extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") private Double alpha; @com.aliyun.core.annotation.NameInMap("Height") @com.aliyun.core.annotation.Validation(required = true) private Double height; @com.aliyun.core.annotation.NameInMap("ImageCropMode") private Integer imageCropMode; @com.aliyun.core.annotation.NameInMap("Layer") private Integer layer; @com.aliyun.core.annotation.NameInMap("Url") @com.aliyun.core.annotation.Validation(required = true) private String url; @com.aliyun.core.annotation.NameInMap("Width") @com.aliyun.core.annotation.Validation(required = true) private Double width; @com.aliyun.core.annotation.NameInMap("X") @com.aliyun.core.annotation.Validation(required = true) private Double x; @com.aliyun.core.annotation.NameInMap("Y") @com.aliyun.core.annotation.Validation(required = true) private Double y; private Images(Builder builder) { this.alpha = builder.alpha; this.height = builder.height; this.imageCropMode = builder.imageCropMode; this.layer = builder.layer; this.url = builder.url; this.width = builder.width; this.x = builder.x; this.y = builder.y; } public static Builder builder() { return new Builder(); } public static Images create() { return builder().build(); } /** * @return alpha */ public Double getAlpha() { return this.alpha; } /** * @return height */ public Double getHeight() { return this.height; } /** * @return imageCropMode */ public Integer getImageCropMode() { return this.imageCropMode; } /** * @return layer */ public Integer getLayer() { return this.layer; } /** * @return url */ public String getUrl() { return this.url; } /** * @return width */ public Double getWidth() { return this.width; } /** * @return x */ public Double getX() { return this.x; } /** * @return y */ public Double getY() { return this.y; } public static final class Builder { private Double alpha; private Double height; private Integer imageCropMode; private Integer layer; private String url; private Double width; private Double x; private Double y; private Builder() { } private Builder(Images model) { this.alpha = model.alpha; this.height = model.height; this.imageCropMode = model.imageCropMode; this.layer = model.layer; this.url = model.url; this.width = model.width; this.x = model.x; this.y = model.y; } /** * Alpha. */ public Builder alpha(Double alpha) { this.alpha = alpha; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder height(Double height) { this.height = height; return this; } /** * ImageCropMode. */ public Builder imageCropMode(Integer imageCropMode) { this.imageCropMode = imageCropMode; return this; } /** * Layer. */ public Builder layer(Integer layer) { this.layer = layer; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p><a href="https://aliyun.com/123xxx.jpg">https://aliyun.com/123xxx.jpg</a></p> */ public Builder url(String url) { this.url = url; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder width(Double width) { this.width = width; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder x(Double x) { this.x = x; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder y(Double y) { this.y = y; return this; } public Images build() { return new Images(this); } } } /** * * {@link StartStreamingOutRequest} extends {@link TeaModel} * * <p>StartStreamingOutRequest</p> */ public static class LayoutSpecifiedUsers extends TeaModel { @com.aliyun.core.annotation.NameInMap("Ids") @com.aliyun.core.annotation.Validation(required = true) private java.util.List<String> ids; @com.aliyun.core.annotation.NameInMap("Type") @com.aliyun.core.annotation.Validation(required = true) private String type; private LayoutSpecifiedUsers(Builder builder) { this.ids = builder.ids; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static LayoutSpecifiedUsers create() { return builder().build(); } /** * @return ids */ public java.util.List<String> getIds() { return this.ids; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private java.util.List<String> ids; private String type; private Builder() { } private Builder(LayoutSpecifiedUsers model) { this.ids = model.ids; this.type = model.type; } /** * <p>This parameter is required.</p> */ public Builder ids(java.util.List<String> ids) { this.ids = ids; return this; } /** * <p>This parameter is required.</p> */ public Builder type(String type) { this.type = type; return this; } public LayoutSpecifiedUsers build() { return new LayoutSpecifiedUsers(this); } } } /** * * {@link StartStreamingOutRequest} extends {@link TeaModel} * * <p>StartStreamingOutRequest</p> */ public static class PanesBackgrounds extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") private Double alpha; @com.aliyun.core.annotation.NameInMap("Display") private String display; @com.aliyun.core.annotation.NameInMap("Height") @com.aliyun.core.annotation.Validation(required = true) private Double height; @com.aliyun.core.annotation.NameInMap("Layer") private Integer layer; @com.aliyun.core.annotation.NameInMap("PaneBackgroundCropMode") private Integer paneBackgroundCropMode; @com.aliyun.core.annotation.NameInMap("Url") @com.aliyun.core.annotation.Validation(required = true) private String url; @com.aliyun.core.annotation.NameInMap("Width") @com.aliyun.core.annotation.Validation(required = true) private Double width; @com.aliyun.core.annotation.NameInMap("X") @com.aliyun.core.annotation.Validation(required = true) private Double x; @com.aliyun.core.annotation.NameInMap("Y") @com.aliyun.core.annotation.Validation(required = true) private Double y; private PanesBackgrounds(Builder builder) { this.alpha = builder.alpha; this.display = builder.display; this.height = builder.height; this.layer = builder.layer; this.paneBackgroundCropMode = builder.paneBackgroundCropMode; this.url = builder.url; this.width = builder.width; this.x = builder.x; this.y = builder.y; } public static Builder builder() { return new Builder(); } public static PanesBackgrounds create() { return builder().build(); } /** * @return alpha */ public Double getAlpha() { return this.alpha; } /** * @return display */ public String getDisplay() { return this.display; } /** * @return height */ public Double getHeight() { return this.height; } /** * @return layer */ public Integer getLayer() { return this.layer; } /** * @return paneBackgroundCropMode */ public Integer getPaneBackgroundCropMode() { return this.paneBackgroundCropMode; } /** * @return url */ public String getUrl() { return this.url; } /** * @return width */ public Double getWidth() { return this.width; } /** * @return x */ public Double getX() { return this.x; } /** * @return y */ public Double getY() { return this.y; } public static final class Builder { private Double alpha; private String display; private Double height; private Integer layer; private Integer paneBackgroundCropMode; private String url; private Double width; private Double x; private Double y; private Builder() { } private Builder(PanesBackgrounds model) { this.alpha = model.alpha; this.display = model.display; this.height = model.height; this.layer = model.layer; this.paneBackgroundCropMode = model.paneBackgroundCropMode; this.url = model.url; this.width = model.width; this.x = model.x; this.y = model.y; } /** * Alpha. */ public Builder alpha(Double alpha) { this.alpha = alpha; return this; } /** * Display. */ public Builder display(String display) { this.display = display; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder height(Double height) { this.height = height; return this; } /** * Layer. */ public Builder layer(Integer layer) { this.layer = layer; return this; } /** * PaneBackgroundCropMode. */ public Builder paneBackgroundCropMode(Integer paneBackgroundCropMode) { this.paneBackgroundCropMode = paneBackgroundCropMode; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p><a href="https://aliyun.com/123xx.jpg">https://aliyun.com/123xx.jpg</a></p> */ public Builder url(String url) { this.url = url; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder width(Double width) { this.width = width; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder x(Double x) { this.x = x; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder y(Double y) { this.y = y; return this; } public PanesBackgrounds build() { return new PanesBackgrounds(this); } } } /** * * {@link StartStreamingOutRequest} extends {@link TeaModel} * * <p>StartStreamingOutRequest</p> */ public static class PanesImages extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") private Double alpha; @com.aliyun.core.annotation.NameInMap("Display") private String display; @com.aliyun.core.annotation.NameInMap("Height") @com.aliyun.core.annotation.Validation(required = true) private Double height; @com.aliyun.core.annotation.NameInMap("Layer") private Integer layer; @com.aliyun.core.annotation.NameInMap("PaneImageCropMode") private Integer paneImageCropMode; @com.aliyun.core.annotation.NameInMap("Url") @com.aliyun.core.annotation.Validation(required = true) private String url; @com.aliyun.core.annotation.NameInMap("Width") @com.aliyun.core.annotation.Validation(required = true) private Double width; @com.aliyun.core.annotation.NameInMap("X") @com.aliyun.core.annotation.Validation(required = true) private Double x; @com.aliyun.core.annotation.NameInMap("Y") @com.aliyun.core.annotation.Validation(required = true) private Double y; private PanesImages(Builder builder) { this.alpha = builder.alpha; this.display = builder.display; this.height = builder.height; this.layer = builder.layer; this.paneImageCropMode = builder.paneImageCropMode; this.url = builder.url; this.width = builder.width; this.x = builder.x; this.y = builder.y; } public static Builder builder() { return new Builder(); } public static PanesImages create() { return builder().build(); } /** * @return alpha */ public Double getAlpha() { return this.alpha; } /** * @return display */ public String getDisplay() { return this.display; } /** * @return height */ public Double getHeight() { return this.height; } /** * @return layer */ public Integer getLayer() { return this.layer; } /** * @return paneImageCropMode */ public Integer getPaneImageCropMode() { return this.paneImageCropMode; } /** * @return url */ public String getUrl() { return this.url; } /** * @return width */ public Double getWidth() { return this.width; } /** * @return x */ public Double getX() { return this.x; } /** * @return y */ public Double getY() { return this.y; } public static final class Builder { private Double alpha; private String display; private Double height; private Integer layer; private Integer paneImageCropMode; private String url; private Double width; private Double x; private Double y; private Builder() { } private Builder(PanesImages model) { this.alpha = model.alpha; this.display = model.display; this.height = model.height; this.layer = model.layer; this.paneImageCropMode = model.paneImageCropMode; this.url = model.url; this.width = model.width; this.x = model.x; this.y = model.y; } /** * Alpha. */ public Builder alpha(Double alpha) { this.alpha = alpha; return this; } /** * Display. */ public Builder display(String display) { this.display = display; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder height(Double height) { this.height = height; return this; } /** * Layer. */ public Builder layer(Integer layer) { this.layer = layer; return this; } /** * PaneImageCropMode. */ public Builder paneImageCropMode(Integer paneImageCropMode) { this.paneImageCropMode = paneImageCropMode; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p><a href="https://aliyun.com/123xxx.jpg">https://aliyun.com/123xxx.jpg</a></p> */ public Builder url(String url) { this.url = url; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder width(Double width) { this.width = width; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder x(Double x) { this.x = x; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.3</p> */ public Builder y(Double y) { this.y = y; return this; } public PanesImages build() { return new PanesImages(this); } } } /** * * {@link StartStreamingOutRequest} extends {@link TeaModel} * * <p>StartStreamingOutRequest</p> */ public static class TextsBoxColor extends TeaModel { @com.aliyun.core.annotation.NameInMap("B") private Integer b; @com.aliyun.core.annotation.NameInMap("G") private Integer g; @com.aliyun.core.annotation.NameInMap("R") private Integer r; private TextsBoxColor(Builder builder) { this.b = builder.b; this.g = builder.g; this.r = builder.r; } public static Builder builder() { return new Builder(); } public static TextsBoxColor create() { return builder().build(); } /** * @return b */ public Integer getB() { return this.b; } /** * @return g */ public Integer getG() { return this.g; } /** * @return r */ public Integer getR() { return this.r; } public static final class Builder { private Integer b; private Integer g; private Integer r; private Builder() { } private Builder(TextsBoxColor model) { this.b = model.b; this.g = model.g; this.r = model.r; } /** * B. */ public Builder b(Integer b) { this.b = b; return this; } /** * G. */ public Builder g(Integer g) { this.g = g; return this; } /** * R. */ public Builder r(Integer r) { this.r = r; return this; } public TextsBoxColor build() { return new TextsBoxColor(this); } } } /** * * {@link StartStreamingOutRequest} extends {@link TeaModel} * * <p>StartStreamingOutRequest</p> */ public static class TextsFontColor extends TeaModel { @com.aliyun.core.annotation.NameInMap("B") private Integer b; @com.aliyun.core.annotation.NameInMap("G") private Integer g; @com.aliyun.core.annotation.NameInMap("R") private Integer r; private TextsFontColor(Builder builder) { this.b = builder.b; this.g = builder.g; this.r = builder.r; } public static Builder builder() { return new Builder(); } public static TextsFontColor create() { return builder().build(); } /** * @return b */ public Integer getB() { return this.b; } /** * @return g */ public Integer getG() { return this.g; } /** * @return r */ public Integer getR() { return this.r; } public static final class Builder { private Integer b; private Integer g; private Integer r; private Builder() { } private Builder(TextsFontColor model) { this.b = model.b; this.g = model.g; this.r = model.r; } /** * B. */ public Builder b(Integer b) { this.b = b; return this; } /** * G. */ public Builder g(Integer g) { this.g = g; return this; } /** * R. */ public Builder r(Integer r) { this.r = r; return this; } public TextsFontColor build() { return new TextsFontColor(this); } } } /** * * {@link StartStreamingOutRequest} extends {@link TeaModel} * * <p>StartStreamingOutRequest</p> */ public static class PanesTexts extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") private Double alpha; @com.aliyun.core.annotation.NameInMap("BoxAlpha") private Double boxAlpha; @com.aliyun.core.annotation.NameInMap("BoxBorderw") private Integer boxBorderw; @com.aliyun.core.annotation.NameInMap("BoxColor") private TextsBoxColor boxColor; @com.aliyun.core.annotation.NameInMap("Display") private String display; @com.aliyun.core.annotation.NameInMap("Font") private Integer font; @com.aliyun.core.annotation.NameInMap("FontColor") private TextsFontColor fontColor; @com.aliyun.core.annotation.NameInMap("FontSize") private Integer fontSize; @com.aliyun.core.annotation.NameInMap("HasBox") private Boolean hasBox; @com.aliyun.core.annotation.NameInMap("Layer") private Integer layer; @com.aliyun.core.annotation.NameInMap("Texture") @com.aliyun.core.annotation.Validation(required = true) private String texture; @com.aliyun.core.annotation.NameInMap("X") @com.aliyun.core.annotation.Validation(required = true) private Double x; @com.aliyun.core.annotation.NameInMap("Y") @com.aliyun.core.annotation.Validation(required = true) private Double y; private PanesTexts(Builder builder) { this.alpha = builder.alpha; this.boxAlpha = builder.boxAlpha; this.boxBorderw = builder.boxBorderw; this.boxColor = builder.boxColor; this.display = builder.display; this.font = builder.font; this.fontColor = builder.fontColor; this.fontSize = builder.fontSize; this.hasBox = builder.hasBox; this.layer = builder.layer; this.texture = builder.texture; this.x = builder.x; this.y = builder.y; } public static Builder builder() { return new Builder(); } public static PanesTexts create() { return builder().build(); } /** * @return alpha */ public Double getAlpha() { return this.alpha; } /** * @return boxAlpha */ public Double getBoxAlpha() { return this.boxAlpha; } /** * @return boxBorderw */ public Integer getBoxBorderw() { return this.boxBorderw; } /** * @return boxColor */ public TextsBoxColor getBoxColor() { return this.boxColor; } /** * @return display */ public String getDisplay() { return this.display; } /** * @return font */ public Integer getFont() { return this.font; } /** * @return fontColor */ public TextsFontColor getFontColor() { return this.fontColor; } /** * @return fontSize */ public Integer getFontSize() { return this.fontSize; } /** * @return hasBox */ public Boolean getHasBox() { return this.hasBox; } /** * @return layer */ public Integer getLayer() { return this.layer; } /** * @return texture */ public String getTexture() { return this.texture; } /** * @return x */ public Double getX() { return this.x; } /** * @return y */ public Double getY() { return this.y; } public static final class Builder { private Double alpha; private Double boxAlpha; private Integer boxBorderw; private TextsBoxColor boxColor; private String display; private Integer font; private TextsFontColor fontColor; private Integer fontSize; private Boolean hasBox; private Integer layer; private String texture; private Double x; private Double y; private Builder() { } private Builder(PanesTexts model) { this.alpha = model.alpha; this.boxAlpha = model.boxAlpha; this.boxBorderw = model.boxBorderw; this.boxColor = model.boxColor; this.display = model.display; this.font = model.font; this.fontColor = model.fontColor; this.fontSize = model.fontSize; this.hasBox = model.hasBox; this.layer = model.layer; this.texture = model.texture; this.x = model.x; this.y = model.y; } /** * Alpha. */ public Builder alpha(Double alpha) { this.alpha = alpha; return this; } /** * BoxAlpha. */ public Builder boxAlpha(Double boxAlpha) { this.boxAlpha = boxAlpha; return this; } /** * BoxBorderw. */ public Builder boxBorderw(Integer boxBorderw) { this.boxBorderw = boxBorderw; return this; } /** * BoxColor. */ public Builder boxColor(TextsBoxColor boxColor) { this.boxColor = boxColor; return this; } /** * Display. */ public Builder display(String display) { this.display = display; return this; } /** * Font. */ public Builder font(Integer font) { this.font = font; return this; } /** * FontColor. */ public Builder fontColor(TextsFontColor fontColor) { this.fontColor = fontColor; return this; } /** * FontSize. */ public Builder fontSize(Integer fontSize) { this.fontSize = fontSize; return this; } /** * HasBox. */ public Builder hasBox(Boolean hasBox) { this.hasBox = hasBox; return this; } /** * Layer. */ public Builder layer(Integer layer) { this.layer = layer; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>文字水印</p> */ public Builder texture(String texture) { this.texture = texture; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder x(Double x) { this.x = x; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder y(Double y) { this.y = y; return this; } public PanesTexts build() { return new PanesTexts(this); } } } /** * * {@link StartStreamingOutRequest} extends {@link TeaModel} * * <p>StartStreamingOutRequest</p> */ public static class Whiteboard extends TeaModel { @com.aliyun.core.annotation.NameInMap("WhiteboardId") private String whiteboardId; private Whiteboard(Builder builder) { this.whiteboardId = builder.whiteboardId; } public static Builder builder() { return new Builder(); } public static Whiteboard create() { return builder().build(); } /** * @return whiteboardId */ public String getWhiteboardId() { return this.whiteboardId; } public static final class Builder { private String whiteboardId; private Builder() { } private Builder(Whiteboard model) { this.whiteboardId = model.whiteboardId; } /** * WhiteboardId. */ public Builder whiteboardId(String whiteboardId) { this.whiteboardId = whiteboardId; return this; } public Whiteboard build() { return new Whiteboard(this); } } } /** * * {@link StartStreamingOutRequest} extends {@link TeaModel} * * <p>StartStreamingOutRequest</p> */ public static class Panes extends TeaModel { @com.aliyun.core.annotation.NameInMap("Backgrounds") private java.util.List<PanesBackgrounds> backgrounds; @com.aliyun.core.annotation.NameInMap("Images") private java.util.List<PanesImages> images; @com.aliyun.core.annotation.NameInMap("PaneCropMode") private Integer paneCropMode; @com.aliyun.core.annotation.NameInMap("PaneId") @com.aliyun.core.annotation.Validation(required = true) private String paneId; @com.aliyun.core.annotation.NameInMap("ReservePaneForOfflineUser") private Boolean reservePaneForOfflineUser; @com.aliyun.core.annotation.NameInMap("Source") private String source; @com.aliyun.core.annotation.NameInMap("SourceType") private String sourceType; @com.aliyun.core.annotation.NameInMap("Texts") private java.util.List<PanesTexts> texts; @com.aliyun.core.annotation.NameInMap("VideoOrder") private String videoOrder; @com.aliyun.core.annotation.NameInMap("Whiteboard") private Whiteboard whiteboard; private Panes(Builder builder) { this.backgrounds = builder.backgrounds; this.images = builder.images; this.paneCropMode = builder.paneCropMode; this.paneId = builder.paneId; this.reservePaneForOfflineUser = builder.reservePaneForOfflineUser; this.source = builder.source; this.sourceType = builder.sourceType; this.texts = builder.texts; this.videoOrder = builder.videoOrder; this.whiteboard = builder.whiteboard; } public static Builder builder() { return new Builder(); } public static Panes create() { return builder().build(); } /** * @return backgrounds */ public java.util.List<PanesBackgrounds> getBackgrounds() { return this.backgrounds; } /** * @return images */ public java.util.List<PanesImages> getImages() { return this.images; } /** * @return paneCropMode */ public Integer getPaneCropMode() { return this.paneCropMode; } /** * @return paneId */ public String getPaneId() { return this.paneId; } /** * @return reservePaneForOfflineUser */ public Boolean getReservePaneForOfflineUser() { return this.reservePaneForOfflineUser; } /** * @return source */ public String getSource() { return this.source; } /** * @return sourceType */ public String getSourceType() { return this.sourceType; } /** * @return texts */ public java.util.List<PanesTexts> getTexts() { return this.texts; } /** * @return videoOrder */ public String getVideoOrder() { return this.videoOrder; } /** * @return whiteboard */ public Whiteboard getWhiteboard() { return this.whiteboard; } public static final class Builder { private java.util.List<PanesBackgrounds> backgrounds; private java.util.List<PanesImages> images; private Integer paneCropMode; private String paneId; private Boolean reservePaneForOfflineUser; private String source; private String sourceType; private java.util.List<PanesTexts> texts; private String videoOrder; private Whiteboard whiteboard; private Builder() { } private Builder(Panes model) { this.backgrounds = model.backgrounds; this.images = model.images; this.paneCropMode = model.paneCropMode; this.paneId = model.paneId; this.reservePaneForOfflineUser = model.reservePaneForOfflineUser; this.source = model.source; this.sourceType = model.sourceType; this.texts = model.texts; this.videoOrder = model.videoOrder; this.whiteboard = model.whiteboard; } /** * Backgrounds. */ public Builder backgrounds(java.util.List<PanesBackgrounds> backgrounds) { this.backgrounds = backgrounds; return this; } /** * Images. */ public Builder images(java.util.List<PanesImages> images) { this.images = images; return this; } /** * PaneCropMode. */ public Builder paneCropMode(Integer paneCropMode) { this.paneCropMode = paneCropMode; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder paneId(String paneId) { this.paneId = paneId; return this; } /** * ReservePaneForOfflineUser. */ public Builder reservePaneForOfflineUser(Boolean reservePaneForOfflineUser) { this.reservePaneForOfflineUser = reservePaneForOfflineUser; return this; } /** * Source. */ public Builder source(String source) { this.source = source; return this; } /** * SourceType. */ public Builder sourceType(String sourceType) { this.sourceType = sourceType; return this; } /** * Texts. */ public Builder texts(java.util.List<PanesTexts> texts) { this.texts = texts; return this; } /** * VideoOrder. */ public Builder videoOrder(String videoOrder) { this.videoOrder = videoOrder; return this; } /** * Whiteboard. */ public Builder whiteboard(Whiteboard whiteboard) { this.whiteboard = whiteboard; return this; } public Panes build() { return new Panes(this); } } } /** * * {@link StartStreamingOutRequest} extends {@link TeaModel} * * <p>StartStreamingOutRequest</p> */ public static class RegionColor extends TeaModel { @com.aliyun.core.annotation.NameInMap("B") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer b; @com.aliyun.core.annotation.NameInMap("G") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer g; @com.aliyun.core.annotation.NameInMap("R") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer r; private RegionColor(Builder builder) { this.b = builder.b; this.g = builder.g; this.r = builder.r; } public static Builder builder() { return new Builder(); } public static RegionColor create() { return builder().build(); } /** * @return b */ public Integer getB() { return this.b; } /** * @return g */ public Integer getG() { return this.g; } /** * @return r */ public Integer getR() { return this.r; } public static final class Builder { private Integer b; private Integer g; private Integer r; private Builder() { } private Builder(RegionColor model) { this.b = model.b; this.g = model.g; this.r = model.r; } /** * B. */ public Builder b(Integer b) { this.b = b; return this; } /** * G. */ public Builder g(Integer g) { this.g = g; return this; } /** * R. */ public Builder r(Integer r) { this.r = r; return this; } public RegionColor build() { return new RegionColor(this); } } } /** * * {@link StartStreamingOutRequest} extends {@link TeaModel} * * <p>StartStreamingOutRequest</p> */ public static class StartStreamingOutRequestTextsBoxColor extends TeaModel { @com.aliyun.core.annotation.NameInMap("B") private Integer b; @com.aliyun.core.annotation.NameInMap("G") private Integer g; @com.aliyun.core.annotation.NameInMap("R") private Integer r; private StartStreamingOutRequestTextsBoxColor(Builder builder) { this.b = builder.b; this.g = builder.g; this.r = builder.r; } public static Builder builder() { return new Builder(); } public static StartStreamingOutRequestTextsBoxColor create() { return builder().build(); } /** * @return b */ public Integer getB() { return this.b; } /** * @return g */ public Integer getG() { return this.g; } /** * @return r */ public Integer getR() { return this.r; } public static final class Builder { private Integer b; private Integer g; private Integer r; private Builder() { } private Builder(StartStreamingOutRequestTextsBoxColor model) { this.b = model.b; this.g = model.g; this.r = model.r; } /** * B. */ public Builder b(Integer b) { this.b = b; return this; } /** * G. */ public Builder g(Integer g) { this.g = g; return this; } /** * R. */ public Builder r(Integer r) { this.r = r; return this; } public StartStreamingOutRequestTextsBoxColor build() { return new StartStreamingOutRequestTextsBoxColor(this); } } } /** * * {@link StartStreamingOutRequest} extends {@link TeaModel} * * <p>StartStreamingOutRequest</p> */ public static class StartStreamingOutRequestTextsFontColor extends TeaModel { @com.aliyun.core.annotation.NameInMap("B") private Integer b; @com.aliyun.core.annotation.NameInMap("G") private Integer g; @com.aliyun.core.annotation.NameInMap("R") private Integer r; private StartStreamingOutRequestTextsFontColor(Builder builder) { this.b = builder.b; this.g = builder.g; this.r = builder.r; } public static Builder builder() { return new Builder(); } public static StartStreamingOutRequestTextsFontColor create() { return builder().build(); } /** * @return b */ public Integer getB() { return this.b; } /** * @return g */ public Integer getG() { return this.g; } /** * @return r */ public Integer getR() { return this.r; } public static final class Builder { private Integer b; private Integer g; private Integer r; private Builder() { } private Builder(StartStreamingOutRequestTextsFontColor model) { this.b = model.b; this.g = model.g; this.r = model.r; } /** * B. */ public Builder b(Integer b) { this.b = b; return this; } /** * G. */ public Builder g(Integer g) { this.g = g; return this; } /** * R. */ public Builder r(Integer r) { this.r = r; return this; } public StartStreamingOutRequestTextsFontColor build() { return new StartStreamingOutRequestTextsFontColor(this); } } } /** * * {@link StartStreamingOutRequest} extends {@link TeaModel} * * <p>StartStreamingOutRequest</p> */ public static class Texts extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") private Double alpha; @com.aliyun.core.annotation.NameInMap("BoxAlpha") private Double boxAlpha; @com.aliyun.core.annotation.NameInMap("BoxBorderw") private Integer boxBorderw; @com.aliyun.core.annotation.NameInMap("BoxColor") private StartStreamingOutRequestTextsBoxColor boxColor; @com.aliyun.core.annotation.NameInMap("Font") private Integer font; @com.aliyun.core.annotation.NameInMap("FontColor") private StartStreamingOutRequestTextsFontColor fontColor; @com.aliyun.core.annotation.NameInMap("FontSize") private Integer fontSize; @com.aliyun.core.annotation.NameInMap("HasBox") private Boolean hasBox; @com.aliyun.core.annotation.NameInMap("Layer") private Integer layer; @com.aliyun.core.annotation.NameInMap("Texture") @com.aliyun.core.annotation.Validation(required = true) private String texture; @com.aliyun.core.annotation.NameInMap("X") @com.aliyun.core.annotation.Validation(required = true) private Double x; @com.aliyun.core.annotation.NameInMap("Y") @com.aliyun.core.annotation.Validation(required = true) private Double y; private Texts(Builder builder) { this.alpha = builder.alpha; this.boxAlpha = builder.boxAlpha; this.boxBorderw = builder.boxBorderw; this.boxColor = builder.boxColor; this.font = builder.font; this.fontColor = builder.fontColor; this.fontSize = builder.fontSize; this.hasBox = builder.hasBox; this.layer = builder.layer; this.texture = builder.texture; this.x = builder.x; this.y = builder.y; } public static Builder builder() { return new Builder(); } public static Texts create() { return builder().build(); } /** * @return alpha */ public Double getAlpha() { return this.alpha; } /** * @return boxAlpha */ public Double getBoxAlpha() { return this.boxAlpha; } /** * @return boxBorderw */ public Integer getBoxBorderw() { return this.boxBorderw; } /** * @return boxColor */ public StartStreamingOutRequestTextsBoxColor getBoxColor() { return this.boxColor; } /** * @return font */ public Integer getFont() { return this.font; } /** * @return fontColor */ public StartStreamingOutRequestTextsFontColor getFontColor() { return this.fontColor; } /** * @return fontSize */ public Integer getFontSize() { return this.fontSize; } /** * @return hasBox */ public Boolean getHasBox() { return this.hasBox; } /** * @return layer */ public Integer getLayer() { return this.layer; } /** * @return texture */ public String getTexture() { return this.texture; } /** * @return x */ public Double getX() { return this.x; } /** * @return y */ public Double getY() { return this.y; } public static final class Builder { private Double alpha; private Double boxAlpha; private Integer boxBorderw; private StartStreamingOutRequestTextsBoxColor boxColor; private Integer font; private StartStreamingOutRequestTextsFontColor fontColor; private Integer fontSize; private Boolean hasBox; private Integer layer; private String texture; private Double x; private Double y; private Builder() { } private Builder(Texts model) { this.alpha = model.alpha; this.boxAlpha = model.boxAlpha; this.boxBorderw = model.boxBorderw; this.boxColor = model.boxColor; this.font = model.font; this.fontColor = model.fontColor; this.fontSize = model.fontSize; this.hasBox = model.hasBox; this.layer = model.layer; this.texture = model.texture; this.x = model.x; this.y = model.y; } /** * Alpha. */ public Builder alpha(Double alpha) { this.alpha = alpha; return this; } /** * BoxAlpha. */ public Builder boxAlpha(Double boxAlpha) { this.boxAlpha = boxAlpha; return this; } /** * BoxBorderw. */ public Builder boxBorderw(Integer boxBorderw) { this.boxBorderw = boxBorderw; return this; } /** * BoxColor. */ public Builder boxColor(StartStreamingOutRequestTextsBoxColor boxColor) { this.boxColor = boxColor; return this; } /** * Font. */ public Builder font(Integer font) { this.font = font; return this; } /** * FontColor. */ public Builder fontColor(StartStreamingOutRequestTextsFontColor fontColor) { this.fontColor = fontColor; return this; } /** * FontSize. */ public Builder fontSize(Integer fontSize) { this.fontSize = fontSize; return this; } /** * HasBox. */ public Builder hasBox(Boolean hasBox) { this.hasBox = hasBox; return this; } /** * Layer. */ public Builder layer(Integer layer) { this.layer = layer; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>文字水印</p> */ public Builder texture(String texture) { this.texture = texture; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder x(Double x) { this.x = x; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder y(Double y) { this.y = y; return this; } public Texts build() { return new Texts(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StartStreamingOutResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StartStreamingOutResponse} extends {@link TeaModel} * * <p>StartStreamingOutResponse</p> */ public class StartStreamingOutResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private StartStreamingOutResponseBody body; private StartStreamingOutResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static StartStreamingOutResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public StartStreamingOutResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<StartStreamingOutResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(StartStreamingOutResponseBody body); @Override StartStreamingOutResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<StartStreamingOutResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private StartStreamingOutResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(StartStreamingOutResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(StartStreamingOutResponseBody body) { this.body = body; return this; } @Override public StartStreamingOutResponse build() { return new StartStreamingOutResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StartStreamingOutResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StartStreamingOutResponseBody} extends {@link TeaModel} * * <p>StartStreamingOutResponseBody</p> */ public class StartStreamingOutResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; private StartStreamingOutResponseBody(Builder builder) { this.requestId = builder.requestId; this.taskId = builder.taskId; } public static Builder builder() { return new Builder(); } public static StartStreamingOutResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return taskId */ public String getTaskId() { return this.taskId; } public static final class Builder { private String requestId; private String taskId; private Builder() { } private Builder(StartStreamingOutResponseBody model) { this.requestId = model.requestId; this.taskId = model.taskId; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * TaskId. */ public Builder taskId(String taskId) { this.taskId = taskId; return this; } public StartStreamingOutResponseBody build() { return new StartStreamingOutResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StopAgentRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StopAgentRequest} extends {@link RequestModel} * * <p>StopAgentRequest</p> */ public class StopAgentRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ChannelId") @com.aliyun.core.annotation.Validation(required = true) private String channelId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskId") @com.aliyun.core.annotation.Validation(required = true) private String taskId; private StopAgentRequest(Builder builder) { super(builder); this.appId = builder.appId; this.channelId = builder.channelId; this.taskId = builder.taskId; } public static Builder builder() { return new Builder(); } public static StopAgentRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return channelId */ public String getChannelId() { return this.channelId; } /** * @return taskId */ public String getTaskId() { return this.taskId; } public static final class Builder extends Request.Builder<StopAgentRequest, Builder> { private String appId; private String channelId; private String taskId; private Builder() { super(); } private Builder(StopAgentRequest request) { super(request); this.appId = request.appId; this.channelId = request.channelId; this.taskId = request.taskId; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>aec****</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>yourChannelId</p> */ public Builder channelId(String channelId) { this.putQueryParameter("ChannelId", channelId); this.channelId = channelId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>yourTaskId</p> */ public Builder taskId(String taskId) { this.putQueryParameter("TaskId", taskId); this.taskId = taskId; return this; } @Override public StopAgentRequest build() { return new StopAgentRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StopAgentResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StopAgentResponse} extends {@link TeaModel} * * <p>StopAgentResponse</p> */ public class StopAgentResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private StopAgentResponseBody body; private StopAgentResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static StopAgentResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public StopAgentResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<StopAgentResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(StopAgentResponseBody body); @Override StopAgentResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<StopAgentResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private StopAgentResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(StopAgentResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(StopAgentResponseBody body) { this.body = body; return this; } @Override public StopAgentResponse build() { return new StopAgentResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StopAgentResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StopAgentResponseBody} extends {@link TeaModel} * * <p>StopAgentResponseBody</p> */ public class StopAgentResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private StopAgentResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static StopAgentResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(StopAgentResponseBody model) { this.requestId = model.requestId; } /** * <p>Id of the request</p> * * <strong>example:</strong> * <p>16A96B9A-F203-4EC5-8E43-CB92E68F4CD8</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public StopAgentResponseBody build() { return new StopAgentResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StopCategoryCallbackRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StopCategoryCallbackRequest} extends {@link RequestModel} * * <p>StopCategoryCallbackRequest</p> */ public class StopCategoryCallbackRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Callback") @com.aliyun.core.annotation.Validation(required = true) private Callback callback; private StopCategoryCallbackRequest(Builder builder) { super(builder); this.appId = builder.appId; this.callback = builder.callback; } public static Builder builder() { return new Builder(); } public static StopCategoryCallbackRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return callback */ public Callback getCallback() { return this.callback; } public static final class Builder extends Request.Builder<StopCategoryCallbackRequest, Builder> { private String appId; private Callback callback; private Builder() { super(); } private Builder(StopCategoryCallbackRequest request) { super(request); this.appId = request.appId; this.callback = request.callback; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>223***JQb</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * <p>This parameter is required.</p> */ public Builder callback(Callback callback) { String callbackShrink = shrink(callback, "Callback", "json"); this.putQueryParameter("Callback", callbackShrink); this.callback = callback; return this; } @Override public StopCategoryCallbackRequest build() { return new StopCategoryCallbackRequest(this); } } /** * * {@link StopCategoryCallbackRequest} extends {@link TeaModel} * * <p>StopCategoryCallbackRequest</p> */ public static class Callback extends TeaModel { @com.aliyun.core.annotation.NameInMap("Category") @com.aliyun.core.annotation.Validation(required = true) private String category; private Callback(Builder builder) { this.category = builder.category; } public static Builder builder() { return new Builder(); } public static Callback create() { return builder().build(); } /** * @return category */ public String getCategory() { return this.category; } public static final class Builder { private String category; private Builder() { } private Builder(Callback model) { this.category = model.category; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>RecordEvent</p> */ public Builder category(String category) { this.category = category; return this; } public Callback build() { return new Callback(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StopCategoryCallbackResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StopCategoryCallbackResponse} extends {@link TeaModel} * * <p>StopCategoryCallbackResponse</p> */ public class StopCategoryCallbackResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private StopCategoryCallbackResponseBody body; private StopCategoryCallbackResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static StopCategoryCallbackResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public StopCategoryCallbackResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<StopCategoryCallbackResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(StopCategoryCallbackResponseBody body); @Override StopCategoryCallbackResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<StopCategoryCallbackResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private StopCategoryCallbackResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(StopCategoryCallbackResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(StopCategoryCallbackResponseBody body) { this.body = body; return this; } @Override public StopCategoryCallbackResponse build() { return new StopCategoryCallbackResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StopCategoryCallbackResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StopCategoryCallbackResponseBody} extends {@link TeaModel} * * <p>StopCategoryCallbackResponseBody</p> */ public class StopCategoryCallbackResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private StopCategoryCallbackResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static StopCategoryCallbackResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(StopCategoryCallbackResponseBody model) { this.requestId = model.requestId; } /** * <p>Id of the request</p> * * <strong>example:</strong> * <p>2DCE8D7E-BE3B-54AB-8DAC-32F34BED0763</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public StopCategoryCallbackResponseBody build() { return new StopCategoryCallbackResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StopChannelRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StopChannelRequest} extends {@link RequestModel} * * <p>StopChannelRequest</p> */ public class StopChannelRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ChannelId") @com.aliyun.core.annotation.Validation(required = true) private String channelId; private StopChannelRequest(Builder builder) { super(builder); this.appId = builder.appId; this.channelId = builder.channelId; } public static Builder builder() { return new Builder(); } public static StopChannelRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return channelId */ public String getChannelId() { return this.channelId; } public static final class Builder extends Request.Builder<StopChannelRequest, Builder> { private String appId; private String channelId; private Builder() { super(); } private Builder(StopChannelRequest request) { super(request); this.appId = request.appId; this.channelId = request.channelId; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>eo85****</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>testid</p> */ public Builder channelId(String channelId) { this.putQueryParameter("ChannelId", channelId); this.channelId = channelId; return this; } @Override public StopChannelRequest build() { return new StopChannelRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StopChannelResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StopChannelResponse} extends {@link TeaModel} * * <p>StopChannelResponse</p> */ public class StopChannelResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private StopChannelResponseBody body; private StopChannelResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static StopChannelResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public StopChannelResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<StopChannelResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(StopChannelResponseBody body); @Override StopChannelResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<StopChannelResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private StopChannelResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(StopChannelResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(StopChannelResponseBody body) { this.body = body; return this; } @Override public StopChannelResponse build() { return new StopChannelResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StopChannelResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StopChannelResponseBody} extends {@link TeaModel} * * <p>StopChannelResponseBody</p> */ public class StopChannelResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private StopChannelResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static StopChannelResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(StopChannelResponseBody model) { this.requestId = model.requestId; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public StopChannelResponseBody build() { return new StopChannelResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StopCloudNoteRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StopCloudNoteRequest} extends {@link RequestModel} * * <p>StopCloudNoteRequest</p> */ public class StopCloudNoteRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ChannelId") @com.aliyun.core.annotation.Validation(required = true) private String channelId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClientToken") private String clientToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskId") @com.aliyun.core.annotation.Validation(required = true, maxLength = 55, minLength = 1) private String taskId; private StopCloudNoteRequest(Builder builder) { super(builder); this.appId = builder.appId; this.channelId = builder.channelId; this.clientToken = builder.clientToken; this.taskId = builder.taskId; } public static Builder builder() { return new Builder(); } public static StopCloudNoteRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return channelId */ public String getChannelId() { return this.channelId; } /** * @return clientToken */ public String getClientToken() { return this.clientToken; } /** * @return taskId */ public String getTaskId() { return this.taskId; } public static final class Builder extends Request.Builder<StopCloudNoteRequest, Builder> { private String appId; private String channelId; private String clientToken; private String taskId; private Builder() { super(); } private Builder(StopCloudNoteRequest request) { super(request); this.appId = request.appId; this.channelId = request.channelId; this.clientToken = request.clientToken; this.taskId = request.taskId; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>qwsz1234</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder channelId(String channelId) { this.putQueryParameter("ChannelId", channelId); this.channelId = channelId; return this; } /** * ClientToken. */ public Builder clientToken(String clientToken) { this.putQueryParameter("ClientToken", clientToken); this.clientToken = clientToken; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>rtc</p> */ public Builder taskId(String taskId) { this.putQueryParameter("TaskId", taskId); this.taskId = taskId; return this; } @Override public StopCloudNoteRequest build() { return new StopCloudNoteRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StopCloudNoteResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StopCloudNoteResponse} extends {@link TeaModel} * * <p>StopCloudNoteResponse</p> */ public class StopCloudNoteResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private StopCloudNoteResponseBody body; private StopCloudNoteResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static StopCloudNoteResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public StopCloudNoteResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<StopCloudNoteResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(StopCloudNoteResponseBody body); @Override StopCloudNoteResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<StopCloudNoteResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private StopCloudNoteResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(StopCloudNoteResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(StopCloudNoteResponseBody body) { this.body = body; return this; } @Override public StopCloudNoteResponse build() { return new StopCloudNoteResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StopCloudNoteResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StopCloudNoteResponseBody} extends {@link TeaModel} * * <p>StopCloudNoteResponseBody</p> */ public class StopCloudNoteResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; private StopCloudNoteResponseBody(Builder builder) { this.requestId = builder.requestId; this.taskId = builder.taskId; } public static Builder builder() { return new Builder(); } public static StopCloudNoteResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return taskId */ public String getTaskId() { return this.taskId; } public static final class Builder { private String requestId; private String taskId; private Builder() { } private Builder(StopCloudNoteResponseBody model) { this.requestId = model.requestId; this.taskId = model.taskId; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * TaskId. */ public Builder taskId(String taskId) { this.taskId = taskId; return this; } public StopCloudNoteResponseBody build() { return new StopCloudNoteResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StopCloudRecordRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StopCloudRecordRequest} extends {@link RequestModel} * * <p>StopCloudRecordRequest</p> */ public class StopCloudRecordRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ChannelId") @com.aliyun.core.annotation.Validation(required = true) private String channelId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskId") @com.aliyun.core.annotation.Validation(required = true, maxLength = 55, minLength = 1) private String taskId; private StopCloudRecordRequest(Builder builder) { super(builder); this.appId = builder.appId; this.channelId = builder.channelId; this.taskId = builder.taskId; } public static Builder builder() { return new Builder(); } public static StopCloudRecordRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return channelId */ public String getChannelId() { return this.channelId; } /** * @return taskId */ public String getTaskId() { return this.taskId; } public static final class Builder extends Request.Builder<StopCloudRecordRequest, Builder> { private String appId; private String channelId; private String taskId; private Builder() { super(); } private Builder(StopCloudRecordRequest request) { super(request); this.appId = request.appId; this.channelId = request.channelId; this.taskId = request.taskId; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>eo85****</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>testid</p> */ public Builder channelId(String channelId) { this.putQueryParameter("ChannelId", channelId); this.channelId = channelId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>123</p> */ public Builder taskId(String taskId) { this.putQueryParameter("TaskId", taskId); this.taskId = taskId; return this; } @Override public StopCloudRecordRequest build() { return new StopCloudRecordRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StopCloudRecordResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StopCloudRecordResponse} extends {@link TeaModel} * * <p>StopCloudRecordResponse</p> */ public class StopCloudRecordResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private StopCloudRecordResponseBody body; private StopCloudRecordResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static StopCloudRecordResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public StopCloudRecordResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<StopCloudRecordResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(StopCloudRecordResponseBody body); @Override StopCloudRecordResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<StopCloudRecordResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private StopCloudRecordResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(StopCloudRecordResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(StopCloudRecordResponseBody body) { this.body = body; return this; } @Override public StopCloudRecordResponse build() { return new StopCloudRecordResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StopCloudRecordResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StopCloudRecordResponseBody} extends {@link TeaModel} * * <p>StopCloudRecordResponseBody</p> */ public class StopCloudRecordResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; private StopCloudRecordResponseBody(Builder builder) { this.requestId = builder.requestId; this.taskId = builder.taskId; } public static Builder builder() { return new Builder(); } public static StopCloudRecordResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return taskId */ public String getTaskId() { return this.taskId; } public static final class Builder { private String requestId; private String taskId; private Builder() { } private Builder(StopCloudRecordResponseBody model) { this.requestId = model.requestId; this.taskId = model.taskId; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * TaskId. */ public Builder taskId(String taskId) { this.taskId = taskId; return this; } public StopCloudRecordResponseBody build() { return new StopCloudRecordResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StopMPUTaskRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StopMPUTaskRequest} extends {@link RequestModel} * * <p>StopMPUTaskRequest</p> */ public class StopMPUTaskRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskId") @com.aliyun.core.annotation.Validation(required = true) private String taskId; private StopMPUTaskRequest(Builder builder) { super(builder); this.appId = builder.appId; this.ownerId = builder.ownerId; this.taskId = builder.taskId; } public static Builder builder() { return new Builder(); } public static StopMPUTaskRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return taskId */ public String getTaskId() { return this.taskId; } public static final class Builder extends Request.Builder<StopMPUTaskRequest, Builder> { private String appId; private Long ownerId; private String taskId; private Builder() { super(); } private Builder(StopMPUTaskRequest request) { super(request); this.appId = request.appId; this.ownerId = request.ownerId; this.taskId = request.taskId; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>yourAppId</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>yourTaskId</p> */ public Builder taskId(String taskId) { this.putQueryParameter("TaskId", taskId); this.taskId = taskId; return this; } @Override public StopMPUTaskRequest build() { return new StopMPUTaskRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StopMPUTaskResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StopMPUTaskResponse} extends {@link TeaModel} * * <p>StopMPUTaskResponse</p> */ public class StopMPUTaskResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private StopMPUTaskResponseBody body; private StopMPUTaskResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static StopMPUTaskResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public StopMPUTaskResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<StopMPUTaskResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(StopMPUTaskResponseBody body); @Override StopMPUTaskResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<StopMPUTaskResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private StopMPUTaskResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(StopMPUTaskResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(StopMPUTaskResponseBody body) { this.body = body; return this; } @Override public StopMPUTaskResponse build() { return new StopMPUTaskResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StopMPUTaskResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StopMPUTaskResponseBody} extends {@link TeaModel} * * <p>StopMPUTaskResponseBody</p> */ public class StopMPUTaskResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private StopMPUTaskResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static StopMPUTaskResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(StopMPUTaskResponseBody model) { this.requestId = model.requestId; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public StopMPUTaskResponseBody build() { return new StopMPUTaskResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StopRecordTaskRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StopRecordTaskRequest} extends {@link RequestModel} * * <p>StopRecordTaskRequest</p> */ public class StopRecordTaskRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskId") @com.aliyun.core.annotation.Validation(required = true) private String taskId; private StopRecordTaskRequest(Builder builder) { super(builder); this.appId = builder.appId; this.ownerId = builder.ownerId; this.taskId = builder.taskId; } public static Builder builder() { return new Builder(); } public static StopRecordTaskRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return taskId */ public String getTaskId() { return this.taskId; } public static final class Builder extends Request.Builder<StopRecordTaskRequest, Builder> { private String appId; private Long ownerId; private String taskId; private Builder() { super(); } private Builder(StopRecordTaskRequest request) { super(request); this.appId = request.appId; this.ownerId = request.ownerId; this.taskId = request.taskId; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>yourAppId</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>yourTaskId</p> */ public Builder taskId(String taskId) { this.putQueryParameter("TaskId", taskId); this.taskId = taskId; return this; } @Override public StopRecordTaskRequest build() { return new StopRecordTaskRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StopRecordTaskResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StopRecordTaskResponse} extends {@link TeaModel} * * <p>StopRecordTaskResponse</p> */ public class StopRecordTaskResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private StopRecordTaskResponseBody body; private StopRecordTaskResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static StopRecordTaskResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public StopRecordTaskResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<StopRecordTaskResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(StopRecordTaskResponseBody body); @Override StopRecordTaskResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<StopRecordTaskResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private StopRecordTaskResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(StopRecordTaskResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(StopRecordTaskResponseBody body) { this.body = body; return this; } @Override public StopRecordTaskResponse build() { return new StopRecordTaskResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StopRecordTaskResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StopRecordTaskResponseBody} extends {@link TeaModel} * * <p>StopRecordTaskResponseBody</p> */ public class StopRecordTaskResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private StopRecordTaskResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static StopRecordTaskResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(StopRecordTaskResponseBody model) { this.requestId = model.requestId; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public StopRecordTaskResponseBody build() { return new StopRecordTaskResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StopStreamingOutRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StopStreamingOutRequest} extends {@link RequestModel} * * <p>StopStreamingOutRequest</p> */ public class StopStreamingOutRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ChannelId") @com.aliyun.core.annotation.Validation(required = true) private String channelId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskId") @com.aliyun.core.annotation.Validation(required = true, maxLength = 55, minLength = 1) private String taskId; private StopStreamingOutRequest(Builder builder) { super(builder); this.appId = builder.appId; this.channelId = builder.channelId; this.taskId = builder.taskId; } public static Builder builder() { return new Builder(); } public static StopStreamingOutRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return channelId */ public String getChannelId() { return this.channelId; } /** * @return taskId */ public String getTaskId() { return this.taskId; } public static final class Builder extends Request.Builder<StopStreamingOutRequest, Builder> { private String appId; private String channelId; private String taskId; private Builder() { super(); } private Builder(StopStreamingOutRequest request) { super(request); this.appId = request.appId; this.channelId = request.channelId; this.taskId = request.taskId; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>eo85****</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>testid</p> */ public Builder channelId(String channelId) { this.putQueryParameter("ChannelId", channelId); this.channelId = channelId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>123</p> */ public Builder taskId(String taskId) { this.putQueryParameter("TaskId", taskId); this.taskId = taskId; return this; } @Override public StopStreamingOutRequest build() { return new StopStreamingOutRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StopStreamingOutResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StopStreamingOutResponse} extends {@link TeaModel} * * <p>StopStreamingOutResponse</p> */ public class StopStreamingOutResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private StopStreamingOutResponseBody body; private StopStreamingOutResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static StopStreamingOutResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public StopStreamingOutResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<StopStreamingOutResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(StopStreamingOutResponseBody body); @Override StopStreamingOutResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<StopStreamingOutResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private StopStreamingOutResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(StopStreamingOutResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(StopStreamingOutResponseBody body) { this.body = body; return this; } @Override public StopStreamingOutResponse build() { return new StopStreamingOutResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/StopStreamingOutResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link StopStreamingOutResponseBody} extends {@link TeaModel} * * <p>StopStreamingOutResponseBody</p> */ public class StopStreamingOutResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; private StopStreamingOutResponseBody(Builder builder) { this.requestId = builder.requestId; this.taskId = builder.taskId; } public static Builder builder() { return new Builder(); } public static StopStreamingOutResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return taskId */ public String getTaskId() { return this.taskId; } public static final class Builder { private String requestId; private String taskId; private Builder() { } private Builder(StopStreamingOutResponseBody model) { this.requestId = model.requestId; this.taskId = model.taskId; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * TaskId. */ public Builder taskId(String taskId) { this.taskId = taskId; return this; } public StopStreamingOutResponseBody build() { return new StopStreamingOutResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/UpdateAgentRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link UpdateAgentRequest} extends {@link RequestModel} * * <p>UpdateAgentRequest</p> */ public class UpdateAgentRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ChannelId") @com.aliyun.core.annotation.Validation(required = true) private String channelId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskId") @com.aliyun.core.annotation.Validation(required = true) private String taskId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VoiceChatConfig") private VoiceChatConfig voiceChatConfig; private UpdateAgentRequest(Builder builder) { super(builder); this.appId = builder.appId; this.channelId = builder.channelId; this.taskId = builder.taskId; this.voiceChatConfig = builder.voiceChatConfig; } public static Builder builder() { return new Builder(); } public static UpdateAgentRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return channelId */ public String getChannelId() { return this.channelId; } /** * @return taskId */ public String getTaskId() { return this.taskId; } /** * @return voiceChatConfig */ public VoiceChatConfig getVoiceChatConfig() { return this.voiceChatConfig; } public static final class Builder extends Request.Builder<UpdateAgentRequest, Builder> { private String appId; private String channelId; private String taskId; private VoiceChatConfig voiceChatConfig; private Builder() { super(); } private Builder(UpdateAgentRequest request) { super(request); this.appId = request.appId; this.channelId = request.channelId; this.taskId = request.taskId; this.voiceChatConfig = request.voiceChatConfig; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>4eah****</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>yourChannelId</p> */ public Builder channelId(String channelId) { this.putQueryParameter("ChannelId", channelId); this.channelId = channelId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>yourTaskId</p> */ public Builder taskId(String taskId) { this.putQueryParameter("TaskId", taskId); this.taskId = taskId; return this; } /** * VoiceChatConfig. */ public Builder voiceChatConfig(VoiceChatConfig voiceChatConfig) { String voiceChatConfigShrink = shrink(voiceChatConfig, "VoiceChatConfig", "json"); this.putQueryParameter("VoiceChatConfig", voiceChatConfigShrink); this.voiceChatConfig = voiceChatConfig; return this; } @Override public UpdateAgentRequest build() { return new UpdateAgentRequest(this); } } /** * * {@link UpdateAgentRequest} extends {@link TeaModel} * * <p>UpdateAgentRequest</p> */ public static class VoiceChatConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("ChatMode") private Integer chatMode; @com.aliyun.core.annotation.NameInMap("InterruptMode") private Integer interruptMode; private VoiceChatConfig(Builder builder) { this.chatMode = builder.chatMode; this.interruptMode = builder.interruptMode; } public static Builder builder() { return new Builder(); } public static VoiceChatConfig create() { return builder().build(); } /** * @return chatMode */ public Integer getChatMode() { return this.chatMode; } /** * @return interruptMode */ public Integer getInterruptMode() { return this.interruptMode; } public static final class Builder { private Integer chatMode; private Integer interruptMode; private Builder() { } private Builder(VoiceChatConfig model) { this.chatMode = model.chatMode; this.interruptMode = model.interruptMode; } /** * ChatMode. */ public Builder chatMode(Integer chatMode) { this.chatMode = chatMode; return this; } /** * InterruptMode. */ public Builder interruptMode(Integer interruptMode) { this.interruptMode = interruptMode; return this; } public VoiceChatConfig build() { return new VoiceChatConfig(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/UpdateAgentResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link UpdateAgentResponse} extends {@link TeaModel} * * <p>UpdateAgentResponse</p> */ public class UpdateAgentResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private UpdateAgentResponseBody body; private UpdateAgentResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static UpdateAgentResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public UpdateAgentResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<UpdateAgentResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(UpdateAgentResponseBody body); @Override UpdateAgentResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<UpdateAgentResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private UpdateAgentResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(UpdateAgentResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(UpdateAgentResponseBody body) { this.body = body; return this; } @Override public UpdateAgentResponse build() { return new UpdateAgentResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/UpdateAgentResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link UpdateAgentResponseBody} extends {@link TeaModel} * * <p>UpdateAgentResponseBody</p> */ public class UpdateAgentResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private UpdateAgentResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static UpdateAgentResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(UpdateAgentResponseBody model) { this.requestId = model.requestId; } /** * <p>Id of the request</p> * * <strong>example:</strong> * <p>760bad53276431c499e30dc36f6b26be</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public UpdateAgentResponseBody build() { return new UpdateAgentResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/UpdateAutoLiveStreamRuleRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link UpdateAutoLiveStreamRuleRequest} extends {@link RequestModel} * * <p>UpdateAutoLiveStreamRuleRequest</p> */ public class UpdateAutoLiveStreamRuleRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CallBack") private String callBack; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ChannelIdPrefixes") private java.util.List<String> channelIdPrefixes; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ChannelIds") private java.util.List<String> channelIds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MediaEncode") private Integer mediaEncode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PlayDomain") @com.aliyun.core.annotation.Validation(required = true) private String playDomain; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RuleId") @com.aliyun.core.annotation.Validation(required = true) private Integer ruleId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RuleName") private String ruleName; private UpdateAutoLiveStreamRuleRequest(Builder builder) { super(builder); this.appId = builder.appId; this.callBack = builder.callBack; this.channelIdPrefixes = builder.channelIdPrefixes; this.channelIds = builder.channelIds; this.mediaEncode = builder.mediaEncode; this.ownerId = builder.ownerId; this.playDomain = builder.playDomain; this.ruleId = builder.ruleId; this.ruleName = builder.ruleName; } public static Builder builder() { return new Builder(); } public static UpdateAutoLiveStreamRuleRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return callBack */ public String getCallBack() { return this.callBack; } /** * @return channelIdPrefixes */ public java.util.List<String> getChannelIdPrefixes() { return this.channelIdPrefixes; } /** * @return channelIds */ public java.util.List<String> getChannelIds() { return this.channelIds; } /** * @return mediaEncode */ public Integer getMediaEncode() { return this.mediaEncode; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return playDomain */ public String getPlayDomain() { return this.playDomain; } /** * @return ruleId */ public Integer getRuleId() { return this.ruleId; } /** * @return ruleName */ public String getRuleName() { return this.ruleName; } public static final class Builder extends Request.Builder<UpdateAutoLiveStreamRuleRequest, Builder> { private String appId; private String callBack; private java.util.List<String> channelIdPrefixes; private java.util.List<String> channelIds; private Integer mediaEncode; private Long ownerId; private String playDomain; private Integer ruleId; private String ruleName; private Builder() { super(); } private Builder(UpdateAutoLiveStreamRuleRequest request) { super(request); this.appId = request.appId; this.callBack = request.callBack; this.channelIdPrefixes = request.channelIdPrefixes; this.channelIds = request.channelIds; this.mediaEncode = request.mediaEncode; this.ownerId = request.ownerId; this.playDomain = request.playDomain; this.ruleId = request.ruleId; this.ruleName = request.ruleName; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>eo85****</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * CallBack. */ public Builder callBack(String callBack) { this.putQueryParameter("CallBack", callBack); this.callBack = callBack; return this; } /** * ChannelIdPrefixes. */ public Builder channelIdPrefixes(java.util.List<String> channelIdPrefixes) { this.putQueryParameter("ChannelIdPrefixes", channelIdPrefixes); this.channelIdPrefixes = channelIdPrefixes; return this; } /** * ChannelIds. */ public Builder channelIds(java.util.List<String> channelIds) { this.putQueryParameter("ChannelIds", channelIds); this.channelIds = channelIds; return this; } /** * MediaEncode. */ public Builder mediaEncode(Integer mediaEncode) { this.putQueryParameter("MediaEncode", mediaEncode); this.mediaEncode = mediaEncode; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>rtmp://${domain}/${app}/${stream}</p> */ public Builder playDomain(String playDomain) { this.putQueryParameter("PlayDomain", playDomain); this.playDomain = playDomain; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>12</p> */ public Builder ruleId(Integer ruleId) { this.putQueryParameter("RuleId", ruleId); this.ruleId = ruleId; return this; } /** * RuleName. */ public Builder ruleName(String ruleName) { this.putQueryParameter("RuleName", ruleName); this.ruleName = ruleName; return this; } @Override public UpdateAutoLiveStreamRuleRequest build() { return new UpdateAutoLiveStreamRuleRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/UpdateAutoLiveStreamRuleResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link UpdateAutoLiveStreamRuleResponse} extends {@link TeaModel} * * <p>UpdateAutoLiveStreamRuleResponse</p> */ public class UpdateAutoLiveStreamRuleResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private UpdateAutoLiveStreamRuleResponseBody body; private UpdateAutoLiveStreamRuleResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static UpdateAutoLiveStreamRuleResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public UpdateAutoLiveStreamRuleResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<UpdateAutoLiveStreamRuleResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(UpdateAutoLiveStreamRuleResponseBody body); @Override UpdateAutoLiveStreamRuleResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<UpdateAutoLiveStreamRuleResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private UpdateAutoLiveStreamRuleResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(UpdateAutoLiveStreamRuleResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(UpdateAutoLiveStreamRuleResponseBody body) { this.body = body; return this; } @Override public UpdateAutoLiveStreamRuleResponse build() { return new UpdateAutoLiveStreamRuleResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/UpdateAutoLiveStreamRuleResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link UpdateAutoLiveStreamRuleResponseBody} extends {@link TeaModel} * * <p>UpdateAutoLiveStreamRuleResponseBody</p> */ public class UpdateAutoLiveStreamRuleResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private UpdateAutoLiveStreamRuleResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static UpdateAutoLiveStreamRuleResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(UpdateAutoLiveStreamRuleResponseBody model) { this.requestId = model.requestId; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public UpdateAutoLiveStreamRuleResponseBody build() { return new UpdateAutoLiveStreamRuleResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/UpdateCloudRecordRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link UpdateCloudRecordRequest} extends {@link RequestModel} * * <p>UpdateCloudRecordRequest</p> */ public class UpdateCloudRecordRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Backgrounds") private java.util.List<Backgrounds> backgrounds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ChannelId") @com.aliyun.core.annotation.Validation(required = true) private String channelId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClockWidgets") private java.util.List<ClockWidgets> clockWidgets; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Images") private java.util.List<Images> images; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("LayoutSpecifiedUsers") private LayoutSpecifiedUsers layoutSpecifiedUsers; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Panes") private java.util.List<Panes> panes; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskId") @com.aliyun.core.annotation.Validation(required = true, maxLength = 55, minLength = 1) private String taskId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TemplateId") @com.aliyun.core.annotation.Validation(required = true, maxLength = 128, minLength = 1) private String templateId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Texts") private java.util.List<Texts> texts; private UpdateCloudRecordRequest(Builder builder) { super(builder); this.appId = builder.appId; this.backgrounds = builder.backgrounds; this.channelId = builder.channelId; this.clockWidgets = builder.clockWidgets; this.images = builder.images; this.layoutSpecifiedUsers = builder.layoutSpecifiedUsers; this.panes = builder.panes; this.taskId = builder.taskId; this.templateId = builder.templateId; this.texts = builder.texts; } public static Builder builder() { return new Builder(); } public static UpdateCloudRecordRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return backgrounds */ public java.util.List<Backgrounds> getBackgrounds() { return this.backgrounds; } /** * @return channelId */ public String getChannelId() { return this.channelId; } /** * @return clockWidgets */ public java.util.List<ClockWidgets> getClockWidgets() { return this.clockWidgets; } /** * @return images */ public java.util.List<Images> getImages() { return this.images; } /** * @return layoutSpecifiedUsers */ public LayoutSpecifiedUsers getLayoutSpecifiedUsers() { return this.layoutSpecifiedUsers; } /** * @return panes */ public java.util.List<Panes> getPanes() { return this.panes; } /** * @return taskId */ public String getTaskId() { return this.taskId; } /** * @return templateId */ public String getTemplateId() { return this.templateId; } /** * @return texts */ public java.util.List<Texts> getTexts() { return this.texts; } public static final class Builder extends Request.Builder<UpdateCloudRecordRequest, Builder> { private String appId; private java.util.List<Backgrounds> backgrounds; private String channelId; private java.util.List<ClockWidgets> clockWidgets; private java.util.List<Images> images; private LayoutSpecifiedUsers layoutSpecifiedUsers; private java.util.List<Panes> panes; private String taskId; private String templateId; private java.util.List<Texts> texts; private Builder() { super(); } private Builder(UpdateCloudRecordRequest request) { super(request); this.appId = request.appId; this.backgrounds = request.backgrounds; this.channelId = request.channelId; this.clockWidgets = request.clockWidgets; this.images = request.images; this.layoutSpecifiedUsers = request.layoutSpecifiedUsers; this.panes = request.panes; this.taskId = request.taskId; this.templateId = request.templateId; this.texts = request.texts; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>eo85****</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * Backgrounds. */ public Builder backgrounds(java.util.List<Backgrounds> backgrounds) { this.putQueryParameter("Backgrounds", backgrounds); this.backgrounds = backgrounds; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>testid</p> */ public Builder channelId(String channelId) { this.putQueryParameter("ChannelId", channelId); this.channelId = channelId; return this; } /** * ClockWidgets. */ public Builder clockWidgets(java.util.List<ClockWidgets> clockWidgets) { this.putQueryParameter("ClockWidgets", clockWidgets); this.clockWidgets = clockWidgets; return this; } /** * Images. */ public Builder images(java.util.List<Images> images) { this.putQueryParameter("Images", images); this.images = images; return this; } /** * LayoutSpecifiedUsers. */ public Builder layoutSpecifiedUsers(LayoutSpecifiedUsers layoutSpecifiedUsers) { String layoutSpecifiedUsersShrink = shrink(layoutSpecifiedUsers, "LayoutSpecifiedUsers", "json"); this.putQueryParameter("LayoutSpecifiedUsers", layoutSpecifiedUsersShrink); this.layoutSpecifiedUsers = layoutSpecifiedUsers; return this; } /** * Panes. */ public Builder panes(java.util.List<Panes> panes) { this.putQueryParameter("Panes", panes); this.panes = panes; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>123</p> */ public Builder taskId(String taskId) { this.putQueryParameter("TaskId", taskId); this.taskId = taskId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>567</p> */ public Builder templateId(String templateId) { this.putQueryParameter("TemplateId", templateId); this.templateId = templateId; return this; } /** * Texts. */ public Builder texts(java.util.List<Texts> texts) { this.putQueryParameter("Texts", texts); this.texts = texts; return this; } @Override public UpdateCloudRecordRequest build() { return new UpdateCloudRecordRequest(this); } } /** * * {@link UpdateCloudRecordRequest} extends {@link TeaModel} * * <p>UpdateCloudRecordRequest</p> */ public static class Backgrounds extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") @com.aliyun.core.annotation.Validation(maximum = 1) private Double alpha; @com.aliyun.core.annotation.NameInMap("BackgroundCropMode") private Integer backgroundCropMode; @com.aliyun.core.annotation.NameInMap("Height") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double height; @com.aliyun.core.annotation.NameInMap("Layer") @com.aliyun.core.annotation.Validation(maximum = 100) private Integer layer; @com.aliyun.core.annotation.NameInMap("Url") @com.aliyun.core.annotation.Validation(required = true, maxLength = 1024, minLength = 1) private String url; @com.aliyun.core.annotation.NameInMap("Width") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double width; @com.aliyun.core.annotation.NameInMap("X") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double x; @com.aliyun.core.annotation.NameInMap("Y") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double y; private Backgrounds(Builder builder) { this.alpha = builder.alpha; this.backgroundCropMode = builder.backgroundCropMode; this.height = builder.height; this.layer = builder.layer; this.url = builder.url; this.width = builder.width; this.x = builder.x; this.y = builder.y; } public static Builder builder() { return new Builder(); } public static Backgrounds create() { return builder().build(); } /** * @return alpha */ public Double getAlpha() { return this.alpha; } /** * @return backgroundCropMode */ public Integer getBackgroundCropMode() { return this.backgroundCropMode; } /** * @return height */ public Double getHeight() { return this.height; } /** * @return layer */ public Integer getLayer() { return this.layer; } /** * @return url */ public String getUrl() { return this.url; } /** * @return width */ public Double getWidth() { return this.width; } /** * @return x */ public Double getX() { return this.x; } /** * @return y */ public Double getY() { return this.y; } public static final class Builder { private Double alpha; private Integer backgroundCropMode; private Double height; private Integer layer; private String url; private Double width; private Double x; private Double y; private Builder() { } private Builder(Backgrounds model) { this.alpha = model.alpha; this.backgroundCropMode = model.backgroundCropMode; this.height = model.height; this.layer = model.layer; this.url = model.url; this.width = model.width; this.x = model.x; this.y = model.y; } /** * Alpha. */ public Builder alpha(Double alpha) { this.alpha = alpha; return this; } /** * BackgroundCropMode. */ public Builder backgroundCropMode(Integer backgroundCropMode) { this.backgroundCropMode = backgroundCropMode; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder height(Double height) { this.height = height; return this; } /** * Layer. */ public Builder layer(Integer layer) { this.layer = layer; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p><a href="https://aliyun.com/123.jpg">https://aliyun.com/123.jpg</a></p> */ public Builder url(String url) { this.url = url; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder width(Double width) { this.width = width; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder x(Double x) { this.x = x; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder y(Double y) { this.y = y; return this; } public Backgrounds build() { return new Backgrounds(this); } } } /** * * {@link UpdateCloudRecordRequest} extends {@link TeaModel} * * <p>UpdateCloudRecordRequest</p> */ public static class BoxColor extends TeaModel { @com.aliyun.core.annotation.NameInMap("B") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer b; @com.aliyun.core.annotation.NameInMap("G") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer g; @com.aliyun.core.annotation.NameInMap("R") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer r; private BoxColor(Builder builder) { this.b = builder.b; this.g = builder.g; this.r = builder.r; } public static Builder builder() { return new Builder(); } public static BoxColor create() { return builder().build(); } /** * @return b */ public Integer getB() { return this.b; } /** * @return g */ public Integer getG() { return this.g; } /** * @return r */ public Integer getR() { return this.r; } public static final class Builder { private Integer b; private Integer g; private Integer r; private Builder() { } private Builder(BoxColor model) { this.b = model.b; this.g = model.g; this.r = model.r; } /** * B. */ public Builder b(Integer b) { this.b = b; return this; } /** * G. */ public Builder g(Integer g) { this.g = g; return this; } /** * R. */ public Builder r(Integer r) { this.r = r; return this; } public BoxColor build() { return new BoxColor(this); } } } /** * * {@link UpdateCloudRecordRequest} extends {@link TeaModel} * * <p>UpdateCloudRecordRequest</p> */ public static class FontColor extends TeaModel { @com.aliyun.core.annotation.NameInMap("B") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer b; @com.aliyun.core.annotation.NameInMap("G") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer g; @com.aliyun.core.annotation.NameInMap("R") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer r; private FontColor(Builder builder) { this.b = builder.b; this.g = builder.g; this.r = builder.r; } public static Builder builder() { return new Builder(); } public static FontColor create() { return builder().build(); } /** * @return b */ public Integer getB() { return this.b; } /** * @return g */ public Integer getG() { return this.g; } /** * @return r */ public Integer getR() { return this.r; } public static final class Builder { private Integer b; private Integer g; private Integer r; private Builder() { } private Builder(FontColor model) { this.b = model.b; this.g = model.g; this.r = model.r; } /** * B. */ public Builder b(Integer b) { this.b = b; return this; } /** * G. */ public Builder g(Integer g) { this.g = g; return this; } /** * R. */ public Builder r(Integer r) { this.r = r; return this; } public FontColor build() { return new FontColor(this); } } } /** * * {@link UpdateCloudRecordRequest} extends {@link TeaModel} * * <p>UpdateCloudRecordRequest</p> */ public static class ClockWidgets extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") @com.aliyun.core.annotation.Validation(maximum = 1) private Double alpha; @com.aliyun.core.annotation.NameInMap("BoxAlpha") @com.aliyun.core.annotation.Validation(maximum = 1) private Double boxAlpha; @com.aliyun.core.annotation.NameInMap("BoxBorderw") @com.aliyun.core.annotation.Validation(maximum = 10, minimum = 1) private Integer boxBorderw; @com.aliyun.core.annotation.NameInMap("BoxColor") private BoxColor boxColor; @com.aliyun.core.annotation.NameInMap("Font") @com.aliyun.core.annotation.Validation(maximum = 9) private Integer font; @com.aliyun.core.annotation.NameInMap("FontColor") private FontColor fontColor; @com.aliyun.core.annotation.NameInMap("FontSize") @com.aliyun.core.annotation.Validation(maximum = 72) private Integer fontSize; @com.aliyun.core.annotation.NameInMap("HasBox") private Boolean hasBox; @com.aliyun.core.annotation.NameInMap("Layer") @com.aliyun.core.annotation.Validation(maximum = 100) private Integer layer; @com.aliyun.core.annotation.NameInMap("X") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double x; @com.aliyun.core.annotation.NameInMap("Y") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double y; @com.aliyun.core.annotation.NameInMap("Zone") @com.aliyun.core.annotation.Validation(maximum = 12) private Integer zone; private ClockWidgets(Builder builder) { this.alpha = builder.alpha; this.boxAlpha = builder.boxAlpha; this.boxBorderw = builder.boxBorderw; this.boxColor = builder.boxColor; this.font = builder.font; this.fontColor = builder.fontColor; this.fontSize = builder.fontSize; this.hasBox = builder.hasBox; this.layer = builder.layer; this.x = builder.x; this.y = builder.y; this.zone = builder.zone; } public static Builder builder() { return new Builder(); } public static ClockWidgets create() { return builder().build(); } /** * @return alpha */ public Double getAlpha() { return this.alpha; } /** * @return boxAlpha */ public Double getBoxAlpha() { return this.boxAlpha; } /** * @return boxBorderw */ public Integer getBoxBorderw() { return this.boxBorderw; } /** * @return boxColor */ public BoxColor getBoxColor() { return this.boxColor; } /** * @return font */ public Integer getFont() { return this.font; } /** * @return fontColor */ public FontColor getFontColor() { return this.fontColor; } /** * @return fontSize */ public Integer getFontSize() { return this.fontSize; } /** * @return hasBox */ public Boolean getHasBox() { return this.hasBox; } /** * @return layer */ public Integer getLayer() { return this.layer; } /** * @return x */ public Double getX() { return this.x; } /** * @return y */ public Double getY() { return this.y; } /** * @return zone */ public Integer getZone() { return this.zone; } public static final class Builder { private Double alpha; private Double boxAlpha; private Integer boxBorderw; private BoxColor boxColor; private Integer font; private FontColor fontColor; private Integer fontSize; private Boolean hasBox; private Integer layer; private Double x; private Double y; private Integer zone; private Builder() { } private Builder(ClockWidgets model) { this.alpha = model.alpha; this.boxAlpha = model.boxAlpha; this.boxBorderw = model.boxBorderw; this.boxColor = model.boxColor; this.font = model.font; this.fontColor = model.fontColor; this.fontSize = model.fontSize; this.hasBox = model.hasBox; this.layer = model.layer; this.x = model.x; this.y = model.y; this.zone = model.zone; } /** * Alpha. */ public Builder alpha(Double alpha) { this.alpha = alpha; return this; } /** * BoxAlpha. */ public Builder boxAlpha(Double boxAlpha) { this.boxAlpha = boxAlpha; return this; } /** * BoxBorderw. */ public Builder boxBorderw(Integer boxBorderw) { this.boxBorderw = boxBorderw; return this; } /** * BoxColor. */ public Builder boxColor(BoxColor boxColor) { this.boxColor = boxColor; return this; } /** * Font. */ public Builder font(Integer font) { this.font = font; return this; } /** * FontColor. */ public Builder fontColor(FontColor fontColor) { this.fontColor = fontColor; return this; } /** * FontSize. */ public Builder fontSize(Integer fontSize) { this.fontSize = fontSize; return this; } /** * HasBox. */ public Builder hasBox(Boolean hasBox) { this.hasBox = hasBox; return this; } /** * Layer. */ public Builder layer(Integer layer) { this.layer = layer; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder x(Double x) { this.x = x; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder y(Double y) { this.y = y; return this; } /** * Zone. */ public Builder zone(Integer zone) { this.zone = zone; return this; } public ClockWidgets build() { return new ClockWidgets(this); } } } /** * * {@link UpdateCloudRecordRequest} extends {@link TeaModel} * * <p>UpdateCloudRecordRequest</p> */ public static class Images extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") @com.aliyun.core.annotation.Validation(maximum = 1) private Double alpha; @com.aliyun.core.annotation.NameInMap("Height") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double height; @com.aliyun.core.annotation.NameInMap("ImageCropMode") private Integer imageCropMode; @com.aliyun.core.annotation.NameInMap("Layer") @com.aliyun.core.annotation.Validation(maximum = 100) private Integer layer; @com.aliyun.core.annotation.NameInMap("Url") @com.aliyun.core.annotation.Validation(required = true, maxLength = 1024, minLength = 1) private String url; @com.aliyun.core.annotation.NameInMap("Width") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double width; @com.aliyun.core.annotation.NameInMap("X") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double x; @com.aliyun.core.annotation.NameInMap("Y") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double y; private Images(Builder builder) { this.alpha = builder.alpha; this.height = builder.height; this.imageCropMode = builder.imageCropMode; this.layer = builder.layer; this.url = builder.url; this.width = builder.width; this.x = builder.x; this.y = builder.y; } public static Builder builder() { return new Builder(); } public static Images create() { return builder().build(); } /** * @return alpha */ public Double getAlpha() { return this.alpha; } /** * @return height */ public Double getHeight() { return this.height; } /** * @return imageCropMode */ public Integer getImageCropMode() { return this.imageCropMode; } /** * @return layer */ public Integer getLayer() { return this.layer; } /** * @return url */ public String getUrl() { return this.url; } /** * @return width */ public Double getWidth() { return this.width; } /** * @return x */ public Double getX() { return this.x; } /** * @return y */ public Double getY() { return this.y; } public static final class Builder { private Double alpha; private Double height; private Integer imageCropMode; private Integer layer; private String url; private Double width; private Double x; private Double y; private Builder() { } private Builder(Images model) { this.alpha = model.alpha; this.height = model.height; this.imageCropMode = model.imageCropMode; this.layer = model.layer; this.url = model.url; this.width = model.width; this.x = model.x; this.y = model.y; } /** * Alpha. */ public Builder alpha(Double alpha) { this.alpha = alpha; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder height(Double height) { this.height = height; return this; } /** * ImageCropMode. */ public Builder imageCropMode(Integer imageCropMode) { this.imageCropMode = imageCropMode; return this; } /** * Layer. */ public Builder layer(Integer layer) { this.layer = layer; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p><a href="https://aliyun.com/123.jpg">https://aliyun.com/123.jpg</a></p> */ public Builder url(String url) { this.url = url; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder width(Double width) { this.width = width; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder x(Double x) { this.x = x; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder y(Double y) { this.y = y; return this; } public Images build() { return new Images(this); } } } /** * * {@link UpdateCloudRecordRequest} extends {@link TeaModel} * * <p>UpdateCloudRecordRequest</p> */ public static class LayoutSpecifiedUsers extends TeaModel { @com.aliyun.core.annotation.NameInMap("Ids") @com.aliyun.core.annotation.Validation(required = true) private java.util.List<String> ids; @com.aliyun.core.annotation.NameInMap("Type") @com.aliyun.core.annotation.Validation(required = true) private String type; private LayoutSpecifiedUsers(Builder builder) { this.ids = builder.ids; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static LayoutSpecifiedUsers create() { return builder().build(); } /** * @return ids */ public java.util.List<String> getIds() { return this.ids; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private java.util.List<String> ids; private String type; private Builder() { } private Builder(LayoutSpecifiedUsers model) { this.ids = model.ids; this.type = model.type; } /** * <p>This parameter is required.</p> */ public Builder ids(java.util.List<String> ids) { this.ids = ids; return this; } /** * <p>This parameter is required.</p> */ public Builder type(String type) { this.type = type; return this; } public LayoutSpecifiedUsers build() { return new LayoutSpecifiedUsers(this); } } } /** * * {@link UpdateCloudRecordRequest} extends {@link TeaModel} * * <p>UpdateCloudRecordRequest</p> */ public static class PanesBackgrounds extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") @com.aliyun.core.annotation.Validation(maximum = 1) private Double alpha; @com.aliyun.core.annotation.NameInMap("Display") private String display; @com.aliyun.core.annotation.NameInMap("Height") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double height; @com.aliyun.core.annotation.NameInMap("Layer") @com.aliyun.core.annotation.Validation(maximum = 100) private Integer layer; @com.aliyun.core.annotation.NameInMap("PaneBackgroundCropMode") private Integer paneBackgroundCropMode; @com.aliyun.core.annotation.NameInMap("Url") @com.aliyun.core.annotation.Validation(required = true, maxLength = 1024, minLength = 1) private String url; @com.aliyun.core.annotation.NameInMap("Width") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double width; @com.aliyun.core.annotation.NameInMap("X") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double x; @com.aliyun.core.annotation.NameInMap("Y") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double y; private PanesBackgrounds(Builder builder) { this.alpha = builder.alpha; this.display = builder.display; this.height = builder.height; this.layer = builder.layer; this.paneBackgroundCropMode = builder.paneBackgroundCropMode; this.url = builder.url; this.width = builder.width; this.x = builder.x; this.y = builder.y; } public static Builder builder() { return new Builder(); } public static PanesBackgrounds create() { return builder().build(); } /** * @return alpha */ public Double getAlpha() { return this.alpha; } /** * @return display */ public String getDisplay() { return this.display; } /** * @return height */ public Double getHeight() { return this.height; } /** * @return layer */ public Integer getLayer() { return this.layer; } /** * @return paneBackgroundCropMode */ public Integer getPaneBackgroundCropMode() { return this.paneBackgroundCropMode; } /** * @return url */ public String getUrl() { return this.url; } /** * @return width */ public Double getWidth() { return this.width; } /** * @return x */ public Double getX() { return this.x; } /** * @return y */ public Double getY() { return this.y; } public static final class Builder { private Double alpha; private String display; private Double height; private Integer layer; private Integer paneBackgroundCropMode; private String url; private Double width; private Double x; private Double y; private Builder() { } private Builder(PanesBackgrounds model) { this.alpha = model.alpha; this.display = model.display; this.height = model.height; this.layer = model.layer; this.paneBackgroundCropMode = model.paneBackgroundCropMode; this.url = model.url; this.width = model.width; this.x = model.x; this.y = model.y; } /** * Alpha. */ public Builder alpha(Double alpha) { this.alpha = alpha; return this; } /** * Display. */ public Builder display(String display) { this.display = display; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder height(Double height) { this.height = height; return this; } /** * Layer. */ public Builder layer(Integer layer) { this.layer = layer; return this; } /** * PaneBackgroundCropMode. */ public Builder paneBackgroundCropMode(Integer paneBackgroundCropMode) { this.paneBackgroundCropMode = paneBackgroundCropMode; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p><a href="https://aliyun.com/123xx.jpg">https://aliyun.com/123xx.jpg</a></p> */ public Builder url(String url) { this.url = url; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder width(Double width) { this.width = width; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder x(Double x) { this.x = x; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder y(Double y) { this.y = y; return this; } public PanesBackgrounds build() { return new PanesBackgrounds(this); } } } /** * * {@link UpdateCloudRecordRequest} extends {@link TeaModel} * * <p>UpdateCloudRecordRequest</p> */ public static class PanesImages extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") @com.aliyun.core.annotation.Validation(maximum = 1) private Double alpha; @com.aliyun.core.annotation.NameInMap("Display") private String display; @com.aliyun.core.annotation.NameInMap("Height") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double height; @com.aliyun.core.annotation.NameInMap("Layer") @com.aliyun.core.annotation.Validation(maximum = 100) private Integer layer; @com.aliyun.core.annotation.NameInMap("PaneImageCropMode") private Integer paneImageCropMode; @com.aliyun.core.annotation.NameInMap("Url") @com.aliyun.core.annotation.Validation(required = true, maxLength = 1024, minLength = 1) private String url; @com.aliyun.core.annotation.NameInMap("Width") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double width; @com.aliyun.core.annotation.NameInMap("X") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double x; @com.aliyun.core.annotation.NameInMap("Y") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double y; private PanesImages(Builder builder) { this.alpha = builder.alpha; this.display = builder.display; this.height = builder.height; this.layer = builder.layer; this.paneImageCropMode = builder.paneImageCropMode; this.url = builder.url; this.width = builder.width; this.x = builder.x; this.y = builder.y; } public static Builder builder() { return new Builder(); } public static PanesImages create() { return builder().build(); } /** * @return alpha */ public Double getAlpha() { return this.alpha; } /** * @return display */ public String getDisplay() { return this.display; } /** * @return height */ public Double getHeight() { return this.height; } /** * @return layer */ public Integer getLayer() { return this.layer; } /** * @return paneImageCropMode */ public Integer getPaneImageCropMode() { return this.paneImageCropMode; } /** * @return url */ public String getUrl() { return this.url; } /** * @return width */ public Double getWidth() { return this.width; } /** * @return x */ public Double getX() { return this.x; } /** * @return y */ public Double getY() { return this.y; } public static final class Builder { private Double alpha; private String display; private Double height; private Integer layer; private Integer paneImageCropMode; private String url; private Double width; private Double x; private Double y; private Builder() { } private Builder(PanesImages model) { this.alpha = model.alpha; this.display = model.display; this.height = model.height; this.layer = model.layer; this.paneImageCropMode = model.paneImageCropMode; this.url = model.url; this.width = model.width; this.x = model.x; this.y = model.y; } /** * Alpha. */ public Builder alpha(Double alpha) { this.alpha = alpha; return this; } /** * Display. */ public Builder display(String display) { this.display = display; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder height(Double height) { this.height = height; return this; } /** * Layer. */ public Builder layer(Integer layer) { this.layer = layer; return this; } /** * PaneImageCropMode. */ public Builder paneImageCropMode(Integer paneImageCropMode) { this.paneImageCropMode = paneImageCropMode; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p><a href="https://aliyun.com/123xxx.jpg">https://aliyun.com/123xxx.jpg</a></p> */ public Builder url(String url) { this.url = url; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder width(Double width) { this.width = width; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder x(Double x) { this.x = x; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder y(Double y) { this.y = y; return this; } public PanesImages build() { return new PanesImages(this); } } } /** * * {@link UpdateCloudRecordRequest} extends {@link TeaModel} * * <p>UpdateCloudRecordRequest</p> */ public static class TextsBoxColor extends TeaModel { @com.aliyun.core.annotation.NameInMap("B") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer b; @com.aliyun.core.annotation.NameInMap("G") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer g; @com.aliyun.core.annotation.NameInMap("R") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer r; private TextsBoxColor(Builder builder) { this.b = builder.b; this.g = builder.g; this.r = builder.r; } public static Builder builder() { return new Builder(); } public static TextsBoxColor create() { return builder().build(); } /** * @return b */ public Integer getB() { return this.b; } /** * @return g */ public Integer getG() { return this.g; } /** * @return r */ public Integer getR() { return this.r; } public static final class Builder { private Integer b; private Integer g; private Integer r; private Builder() { } private Builder(TextsBoxColor model) { this.b = model.b; this.g = model.g; this.r = model.r; } /** * B. */ public Builder b(Integer b) { this.b = b; return this; } /** * G. */ public Builder g(Integer g) { this.g = g; return this; } /** * R. */ public Builder r(Integer r) { this.r = r; return this; } public TextsBoxColor build() { return new TextsBoxColor(this); } } } /** * * {@link UpdateCloudRecordRequest} extends {@link TeaModel} * * <p>UpdateCloudRecordRequest</p> */ public static class TextsFontColor extends TeaModel { @com.aliyun.core.annotation.NameInMap("B") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer b; @com.aliyun.core.annotation.NameInMap("G") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer g; @com.aliyun.core.annotation.NameInMap("R") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer r; private TextsFontColor(Builder builder) { this.b = builder.b; this.g = builder.g; this.r = builder.r; } public static Builder builder() { return new Builder(); } public static TextsFontColor create() { return builder().build(); } /** * @return b */ public Integer getB() { return this.b; } /** * @return g */ public Integer getG() { return this.g; } /** * @return r */ public Integer getR() { return this.r; } public static final class Builder { private Integer b; private Integer g; private Integer r; private Builder() { } private Builder(TextsFontColor model) { this.b = model.b; this.g = model.g; this.r = model.r; } /** * B. */ public Builder b(Integer b) { this.b = b; return this; } /** * G. */ public Builder g(Integer g) { this.g = g; return this; } /** * R. */ public Builder r(Integer r) { this.r = r; return this; } public TextsFontColor build() { return new TextsFontColor(this); } } } /** * * {@link UpdateCloudRecordRequest} extends {@link TeaModel} * * <p>UpdateCloudRecordRequest</p> */ public static class PanesTexts extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") @com.aliyun.core.annotation.Validation(maximum = 1) private Double alpha; @com.aliyun.core.annotation.NameInMap("BoxAlpha") @com.aliyun.core.annotation.Validation(maximum = 1) private Double boxAlpha; @com.aliyun.core.annotation.NameInMap("BoxBorderw") @com.aliyun.core.annotation.Validation(maximum = 10, minimum = 1) private Integer boxBorderw; @com.aliyun.core.annotation.NameInMap("BoxColor") private TextsBoxColor boxColor; @com.aliyun.core.annotation.NameInMap("Display") private String display; @com.aliyun.core.annotation.NameInMap("Font") @com.aliyun.core.annotation.Validation(maximum = 9) private Integer font; @com.aliyun.core.annotation.NameInMap("FontColor") private TextsFontColor fontColor; @com.aliyun.core.annotation.NameInMap("FontSize") @com.aliyun.core.annotation.Validation(maximum = 72) private Integer fontSize; @com.aliyun.core.annotation.NameInMap("HasBox") private Boolean hasBox; @com.aliyun.core.annotation.NameInMap("Layer") @com.aliyun.core.annotation.Validation(maximum = 100) private Integer layer; @com.aliyun.core.annotation.NameInMap("Texture") @com.aliyun.core.annotation.Validation(required = true, maxLength = 128, minLength = 1) private String texture; @com.aliyun.core.annotation.NameInMap("X") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double x; @com.aliyun.core.annotation.NameInMap("Y") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double y; private PanesTexts(Builder builder) { this.alpha = builder.alpha; this.boxAlpha = builder.boxAlpha; this.boxBorderw = builder.boxBorderw; this.boxColor = builder.boxColor; this.display = builder.display; this.font = builder.font; this.fontColor = builder.fontColor; this.fontSize = builder.fontSize; this.hasBox = builder.hasBox; this.layer = builder.layer; this.texture = builder.texture; this.x = builder.x; this.y = builder.y; } public static Builder builder() { return new Builder(); } public static PanesTexts create() { return builder().build(); } /** * @return alpha */ public Double getAlpha() { return this.alpha; } /** * @return boxAlpha */ public Double getBoxAlpha() { return this.boxAlpha; } /** * @return boxBorderw */ public Integer getBoxBorderw() { return this.boxBorderw; } /** * @return boxColor */ public TextsBoxColor getBoxColor() { return this.boxColor; } /** * @return display */ public String getDisplay() { return this.display; } /** * @return font */ public Integer getFont() { return this.font; } /** * @return fontColor */ public TextsFontColor getFontColor() { return this.fontColor; } /** * @return fontSize */ public Integer getFontSize() { return this.fontSize; } /** * @return hasBox */ public Boolean getHasBox() { return this.hasBox; } /** * @return layer */ public Integer getLayer() { return this.layer; } /** * @return texture */ public String getTexture() { return this.texture; } /** * @return x */ public Double getX() { return this.x; } /** * @return y */ public Double getY() { return this.y; } public static final class Builder { private Double alpha; private Double boxAlpha; private Integer boxBorderw; private TextsBoxColor boxColor; private String display; private Integer font; private TextsFontColor fontColor; private Integer fontSize; private Boolean hasBox; private Integer layer; private String texture; private Double x; private Double y; private Builder() { } private Builder(PanesTexts model) { this.alpha = model.alpha; this.boxAlpha = model.boxAlpha; this.boxBorderw = model.boxBorderw; this.boxColor = model.boxColor; this.display = model.display; this.font = model.font; this.fontColor = model.fontColor; this.fontSize = model.fontSize; this.hasBox = model.hasBox; this.layer = model.layer; this.texture = model.texture; this.x = model.x; this.y = model.y; } /** * Alpha. */ public Builder alpha(Double alpha) { this.alpha = alpha; return this; } /** * BoxAlpha. */ public Builder boxAlpha(Double boxAlpha) { this.boxAlpha = boxAlpha; return this; } /** * BoxBorderw. */ public Builder boxBorderw(Integer boxBorderw) { this.boxBorderw = boxBorderw; return this; } /** * BoxColor. */ public Builder boxColor(TextsBoxColor boxColor) { this.boxColor = boxColor; return this; } /** * Display. */ public Builder display(String display) { this.display = display; return this; } /** * Font. */ public Builder font(Integer font) { this.font = font; return this; } /** * FontColor. */ public Builder fontColor(TextsFontColor fontColor) { this.fontColor = fontColor; return this; } /** * FontSize. */ public Builder fontSize(Integer fontSize) { this.fontSize = fontSize; return this; } /** * HasBox. */ public Builder hasBox(Boolean hasBox) { this.hasBox = hasBox; return this; } /** * Layer. */ public Builder layer(Integer layer) { this.layer = layer; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>文字水印</p> */ public Builder texture(String texture) { this.texture = texture; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder x(Double x) { this.x = x; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder y(Double y) { this.y = y; return this; } public PanesTexts build() { return new PanesTexts(this); } } } /** * * {@link UpdateCloudRecordRequest} extends {@link TeaModel} * * <p>UpdateCloudRecordRequest</p> */ public static class Whiteboard extends TeaModel { @com.aliyun.core.annotation.NameInMap("WhiteboardId") private String whiteboardId; private Whiteboard(Builder builder) { this.whiteboardId = builder.whiteboardId; } public static Builder builder() { return new Builder(); } public static Whiteboard create() { return builder().build(); } /** * @return whiteboardId */ public String getWhiteboardId() { return this.whiteboardId; } public static final class Builder { private String whiteboardId; private Builder() { } private Builder(Whiteboard model) { this.whiteboardId = model.whiteboardId; } /** * WhiteboardId. */ public Builder whiteboardId(String whiteboardId) { this.whiteboardId = whiteboardId; return this; } public Whiteboard build() { return new Whiteboard(this); } } } /** * * {@link UpdateCloudRecordRequest} extends {@link TeaModel} * * <p>UpdateCloudRecordRequest</p> */ public static class Panes extends TeaModel { @com.aliyun.core.annotation.NameInMap("Backgrounds") private java.util.List<PanesBackgrounds> backgrounds; @com.aliyun.core.annotation.NameInMap("Images") private java.util.List<PanesImages> images; @com.aliyun.core.annotation.NameInMap("PaneCropMode") private Integer paneCropMode; @com.aliyun.core.annotation.NameInMap("PaneId") @com.aliyun.core.annotation.Validation(required = true, maximum = 15) private Integer paneId; @com.aliyun.core.annotation.NameInMap("ReservePaneForOfflineUser") private Boolean reservePaneForOfflineUser; @com.aliyun.core.annotation.NameInMap("Source") private String source; @com.aliyun.core.annotation.NameInMap("SourceType") private String sourceType; @com.aliyun.core.annotation.NameInMap("Texts") private java.util.List<PanesTexts> texts; @com.aliyun.core.annotation.NameInMap("VideoOrder") private String videoOrder; @com.aliyun.core.annotation.NameInMap("Whiteboard") private Whiteboard whiteboard; private Panes(Builder builder) { this.backgrounds = builder.backgrounds; this.images = builder.images; this.paneCropMode = builder.paneCropMode; this.paneId = builder.paneId; this.reservePaneForOfflineUser = builder.reservePaneForOfflineUser; this.source = builder.source; this.sourceType = builder.sourceType; this.texts = builder.texts; this.videoOrder = builder.videoOrder; this.whiteboard = builder.whiteboard; } public static Builder builder() { return new Builder(); } public static Panes create() { return builder().build(); } /** * @return backgrounds */ public java.util.List<PanesBackgrounds> getBackgrounds() { return this.backgrounds; } /** * @return images */ public java.util.List<PanesImages> getImages() { return this.images; } /** * @return paneCropMode */ public Integer getPaneCropMode() { return this.paneCropMode; } /** * @return paneId */ public Integer getPaneId() { return this.paneId; } /** * @return reservePaneForOfflineUser */ public Boolean getReservePaneForOfflineUser() { return this.reservePaneForOfflineUser; } /** * @return source */ public String getSource() { return this.source; } /** * @return sourceType */ public String getSourceType() { return this.sourceType; } /** * @return texts */ public java.util.List<PanesTexts> getTexts() { return this.texts; } /** * @return videoOrder */ public String getVideoOrder() { return this.videoOrder; } /** * @return whiteboard */ public Whiteboard getWhiteboard() { return this.whiteboard; } public static final class Builder { private java.util.List<PanesBackgrounds> backgrounds; private java.util.List<PanesImages> images; private Integer paneCropMode; private Integer paneId; private Boolean reservePaneForOfflineUser; private String source; private String sourceType; private java.util.List<PanesTexts> texts; private String videoOrder; private Whiteboard whiteboard; private Builder() { } private Builder(Panes model) { this.backgrounds = model.backgrounds; this.images = model.images; this.paneCropMode = model.paneCropMode; this.paneId = model.paneId; this.reservePaneForOfflineUser = model.reservePaneForOfflineUser; this.source = model.source; this.sourceType = model.sourceType; this.texts = model.texts; this.videoOrder = model.videoOrder; this.whiteboard = model.whiteboard; } /** * Backgrounds. */ public Builder backgrounds(java.util.List<PanesBackgrounds> backgrounds) { this.backgrounds = backgrounds; return this; } /** * Images. */ public Builder images(java.util.List<PanesImages> images) { this.images = images; return this; } /** * PaneCropMode. */ public Builder paneCropMode(Integer paneCropMode) { this.paneCropMode = paneCropMode; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder paneId(Integer paneId) { this.paneId = paneId; return this; } /** * ReservePaneForOfflineUser. */ public Builder reservePaneForOfflineUser(Boolean reservePaneForOfflineUser) { this.reservePaneForOfflineUser = reservePaneForOfflineUser; return this; } /** * Source. */ public Builder source(String source) { this.source = source; return this; } /** * SourceType. */ public Builder sourceType(String sourceType) { this.sourceType = sourceType; return this; } /** * Texts. */ public Builder texts(java.util.List<PanesTexts> texts) { this.texts = texts; return this; } /** * VideoOrder. */ public Builder videoOrder(String videoOrder) { this.videoOrder = videoOrder; return this; } /** * Whiteboard. */ public Builder whiteboard(Whiteboard whiteboard) { this.whiteboard = whiteboard; return this; } public Panes build() { return new Panes(this); } } } /** * * {@link UpdateCloudRecordRequest} extends {@link TeaModel} * * <p>UpdateCloudRecordRequest</p> */ public static class UpdateCloudRecordRequestTextsBoxColor extends TeaModel { @com.aliyun.core.annotation.NameInMap("B") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer b; @com.aliyun.core.annotation.NameInMap("G") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer g; @com.aliyun.core.annotation.NameInMap("R") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer r; private UpdateCloudRecordRequestTextsBoxColor(Builder builder) { this.b = builder.b; this.g = builder.g; this.r = builder.r; } public static Builder builder() { return new Builder(); } public static UpdateCloudRecordRequestTextsBoxColor create() { return builder().build(); } /** * @return b */ public Integer getB() { return this.b; } /** * @return g */ public Integer getG() { return this.g; } /** * @return r */ public Integer getR() { return this.r; } public static final class Builder { private Integer b; private Integer g; private Integer r; private Builder() { } private Builder(UpdateCloudRecordRequestTextsBoxColor model) { this.b = model.b; this.g = model.g; this.r = model.r; } /** * B. */ public Builder b(Integer b) { this.b = b; return this; } /** * G. */ public Builder g(Integer g) { this.g = g; return this; } /** * R. */ public Builder r(Integer r) { this.r = r; return this; } public UpdateCloudRecordRequestTextsBoxColor build() { return new UpdateCloudRecordRequestTextsBoxColor(this); } } } /** * * {@link UpdateCloudRecordRequest} extends {@link TeaModel} * * <p>UpdateCloudRecordRequest</p> */ public static class UpdateCloudRecordRequestTextsFontColor extends TeaModel { @com.aliyun.core.annotation.NameInMap("B") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer b; @com.aliyun.core.annotation.NameInMap("G") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer g; @com.aliyun.core.annotation.NameInMap("R") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer r; private UpdateCloudRecordRequestTextsFontColor(Builder builder) { this.b = builder.b; this.g = builder.g; this.r = builder.r; } public static Builder builder() { return new Builder(); } public static UpdateCloudRecordRequestTextsFontColor create() { return builder().build(); } /** * @return b */ public Integer getB() { return this.b; } /** * @return g */ public Integer getG() { return this.g; } /** * @return r */ public Integer getR() { return this.r; } public static final class Builder { private Integer b; private Integer g; private Integer r; private Builder() { } private Builder(UpdateCloudRecordRequestTextsFontColor model) { this.b = model.b; this.g = model.g; this.r = model.r; } /** * B. */ public Builder b(Integer b) { this.b = b; return this; } /** * G. */ public Builder g(Integer g) { this.g = g; return this; } /** * R. */ public Builder r(Integer r) { this.r = r; return this; } public UpdateCloudRecordRequestTextsFontColor build() { return new UpdateCloudRecordRequestTextsFontColor(this); } } } /** * * {@link UpdateCloudRecordRequest} extends {@link TeaModel} * * <p>UpdateCloudRecordRequest</p> */ public static class Texts extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") @com.aliyun.core.annotation.Validation(maximum = 1) private Double alpha; @com.aliyun.core.annotation.NameInMap("BoxAlpha") @com.aliyun.core.annotation.Validation(maximum = 1) private Double boxAlpha; @com.aliyun.core.annotation.NameInMap("BoxBorderw") @com.aliyun.core.annotation.Validation(maximum = 10, minimum = 1) private Integer boxBorderw; @com.aliyun.core.annotation.NameInMap("BoxColor") private UpdateCloudRecordRequestTextsBoxColor boxColor; @com.aliyun.core.annotation.NameInMap("Font") @com.aliyun.core.annotation.Validation(maximum = 9) private Integer font; @com.aliyun.core.annotation.NameInMap("FontColor") private UpdateCloudRecordRequestTextsFontColor fontColor; @com.aliyun.core.annotation.NameInMap("FontSize") @com.aliyun.core.annotation.Validation(maximum = 72) private Integer fontSize; @com.aliyun.core.annotation.NameInMap("HasBox") private Boolean hasBox; @com.aliyun.core.annotation.NameInMap("Layer") @com.aliyun.core.annotation.Validation(maximum = 100) private Integer layer; @com.aliyun.core.annotation.NameInMap("Texture") @com.aliyun.core.annotation.Validation(required = true, maxLength = 128, minLength = 1) private String texture; @com.aliyun.core.annotation.NameInMap("X") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double x; @com.aliyun.core.annotation.NameInMap("Y") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double y; private Texts(Builder builder) { this.alpha = builder.alpha; this.boxAlpha = builder.boxAlpha; this.boxBorderw = builder.boxBorderw; this.boxColor = builder.boxColor; this.font = builder.font; this.fontColor = builder.fontColor; this.fontSize = builder.fontSize; this.hasBox = builder.hasBox; this.layer = builder.layer; this.texture = builder.texture; this.x = builder.x; this.y = builder.y; } public static Builder builder() { return new Builder(); } public static Texts create() { return builder().build(); } /** * @return alpha */ public Double getAlpha() { return this.alpha; } /** * @return boxAlpha */ public Double getBoxAlpha() { return this.boxAlpha; } /** * @return boxBorderw */ public Integer getBoxBorderw() { return this.boxBorderw; } /** * @return boxColor */ public UpdateCloudRecordRequestTextsBoxColor getBoxColor() { return this.boxColor; } /** * @return font */ public Integer getFont() { return this.font; } /** * @return fontColor */ public UpdateCloudRecordRequestTextsFontColor getFontColor() { return this.fontColor; } /** * @return fontSize */ public Integer getFontSize() { return this.fontSize; } /** * @return hasBox */ public Boolean getHasBox() { return this.hasBox; } /** * @return layer */ public Integer getLayer() { return this.layer; } /** * @return texture */ public String getTexture() { return this.texture; } /** * @return x */ public Double getX() { return this.x; } /** * @return y */ public Double getY() { return this.y; } public static final class Builder { private Double alpha; private Double boxAlpha; private Integer boxBorderw; private UpdateCloudRecordRequestTextsBoxColor boxColor; private Integer font; private UpdateCloudRecordRequestTextsFontColor fontColor; private Integer fontSize; private Boolean hasBox; private Integer layer; private String texture; private Double x; private Double y; private Builder() { } private Builder(Texts model) { this.alpha = model.alpha; this.boxAlpha = model.boxAlpha; this.boxBorderw = model.boxBorderw; this.boxColor = model.boxColor; this.font = model.font; this.fontColor = model.fontColor; this.fontSize = model.fontSize; this.hasBox = model.hasBox; this.layer = model.layer; this.texture = model.texture; this.x = model.x; this.y = model.y; } /** * Alpha. */ public Builder alpha(Double alpha) { this.alpha = alpha; return this; } /** * BoxAlpha. */ public Builder boxAlpha(Double boxAlpha) { this.boxAlpha = boxAlpha; return this; } /** * BoxBorderw. */ public Builder boxBorderw(Integer boxBorderw) { this.boxBorderw = boxBorderw; return this; } /** * BoxColor. */ public Builder boxColor(UpdateCloudRecordRequestTextsBoxColor boxColor) { this.boxColor = boxColor; return this; } /** * Font. */ public Builder font(Integer font) { this.font = font; return this; } /** * FontColor. */ public Builder fontColor(UpdateCloudRecordRequestTextsFontColor fontColor) { this.fontColor = fontColor; return this; } /** * FontSize. */ public Builder fontSize(Integer fontSize) { this.fontSize = fontSize; return this; } /** * HasBox. */ public Builder hasBox(Boolean hasBox) { this.hasBox = hasBox; return this; } /** * Layer. */ public Builder layer(Integer layer) { this.layer = layer; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>文字水印</p> */ public Builder texture(String texture) { this.texture = texture; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder x(Double x) { this.x = x; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder y(Double y) { this.y = y; return this; } public Texts build() { return new Texts(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/UpdateCloudRecordResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link UpdateCloudRecordResponse} extends {@link TeaModel} * * <p>UpdateCloudRecordResponse</p> */ public class UpdateCloudRecordResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private UpdateCloudRecordResponseBody body; private UpdateCloudRecordResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static UpdateCloudRecordResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public UpdateCloudRecordResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<UpdateCloudRecordResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(UpdateCloudRecordResponseBody body); @Override UpdateCloudRecordResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<UpdateCloudRecordResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private UpdateCloudRecordResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(UpdateCloudRecordResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(UpdateCloudRecordResponseBody body) { this.body = body; return this; } @Override public UpdateCloudRecordResponse build() { return new UpdateCloudRecordResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/UpdateCloudRecordResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link UpdateCloudRecordResponseBody} extends {@link TeaModel} * * <p>UpdateCloudRecordResponseBody</p> */ public class UpdateCloudRecordResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; private UpdateCloudRecordResponseBody(Builder builder) { this.requestId = builder.requestId; this.taskId = builder.taskId; } public static Builder builder() { return new Builder(); } public static UpdateCloudRecordResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return taskId */ public String getTaskId() { return this.taskId; } public static final class Builder { private String requestId; private String taskId; private Builder() { } private Builder(UpdateCloudRecordResponseBody model) { this.requestId = model.requestId; this.taskId = model.taskId; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * TaskId. */ public Builder taskId(String taskId) { this.taskId = taskId; return this; } public UpdateCloudRecordResponseBody build() { return new UpdateCloudRecordResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/UpdateMPUTaskRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link UpdateMPUTaskRequest} extends {@link RequestModel} * * <p>UpdateMPUTaskRequest</p> */ public class UpdateMPUTaskRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("BackgroundColor") private Integer backgroundColor; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Backgrounds") private java.util.List<Backgrounds> backgrounds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClockWidgets") private java.util.List<ClockWidgets> clockWidgets; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CropMode") private Integer cropMode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("LayoutIds") private java.util.List<Long> layoutIds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MediaEncode") private Integer mediaEncode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MixMode") private Integer mixMode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SourceType") private String sourceType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StreamType") private Integer streamType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SubSpecAudioUsers") private java.util.List<String> subSpecAudioUsers; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SubSpecCameraUsers") private java.util.List<String> subSpecCameraUsers; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SubSpecShareScreenUsers") private java.util.List<String> subSpecShareScreenUsers; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SubSpecUsers") private java.util.List<String> subSpecUsers; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskId") @com.aliyun.core.annotation.Validation(required = true) private String taskId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UnsubSpecAudioUsers") private java.util.List<String> unsubSpecAudioUsers; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UnsubSpecCameraUsers") private java.util.List<String> unsubSpecCameraUsers; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UnsubSpecShareScreenUsers") private java.util.List<String> unsubSpecShareScreenUsers; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UserPanes") private java.util.List<UserPanes> userPanes; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Watermarks") private java.util.List<Watermarks> watermarks; private UpdateMPUTaskRequest(Builder builder) { super(builder); this.appId = builder.appId; this.backgroundColor = builder.backgroundColor; this.backgrounds = builder.backgrounds; this.clockWidgets = builder.clockWidgets; this.cropMode = builder.cropMode; this.layoutIds = builder.layoutIds; this.mediaEncode = builder.mediaEncode; this.mixMode = builder.mixMode; this.ownerId = builder.ownerId; this.sourceType = builder.sourceType; this.streamType = builder.streamType; this.subSpecAudioUsers = builder.subSpecAudioUsers; this.subSpecCameraUsers = builder.subSpecCameraUsers; this.subSpecShareScreenUsers = builder.subSpecShareScreenUsers; this.subSpecUsers = builder.subSpecUsers; this.taskId = builder.taskId; this.unsubSpecAudioUsers = builder.unsubSpecAudioUsers; this.unsubSpecCameraUsers = builder.unsubSpecCameraUsers; this.unsubSpecShareScreenUsers = builder.unsubSpecShareScreenUsers; this.userPanes = builder.userPanes; this.watermarks = builder.watermarks; } public static Builder builder() { return new Builder(); } public static UpdateMPUTaskRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return backgroundColor */ public Integer getBackgroundColor() { return this.backgroundColor; } /** * @return backgrounds */ public java.util.List<Backgrounds> getBackgrounds() { return this.backgrounds; } /** * @return clockWidgets */ public java.util.List<ClockWidgets> getClockWidgets() { return this.clockWidgets; } /** * @return cropMode */ public Integer getCropMode() { return this.cropMode; } /** * @return layoutIds */ public java.util.List<Long> getLayoutIds() { return this.layoutIds; } /** * @return mediaEncode */ public Integer getMediaEncode() { return this.mediaEncode; } /** * @return mixMode */ public Integer getMixMode() { return this.mixMode; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return sourceType */ public String getSourceType() { return this.sourceType; } /** * @return streamType */ public Integer getStreamType() { return this.streamType; } /** * @return subSpecAudioUsers */ public java.util.List<String> getSubSpecAudioUsers() { return this.subSpecAudioUsers; } /** * @return subSpecCameraUsers */ public java.util.List<String> getSubSpecCameraUsers() { return this.subSpecCameraUsers; } /** * @return subSpecShareScreenUsers */ public java.util.List<String> getSubSpecShareScreenUsers() { return this.subSpecShareScreenUsers; } /** * @return subSpecUsers */ public java.util.List<String> getSubSpecUsers() { return this.subSpecUsers; } /** * @return taskId */ public String getTaskId() { return this.taskId; } /** * @return unsubSpecAudioUsers */ public java.util.List<String> getUnsubSpecAudioUsers() { return this.unsubSpecAudioUsers; } /** * @return unsubSpecCameraUsers */ public java.util.List<String> getUnsubSpecCameraUsers() { return this.unsubSpecCameraUsers; } /** * @return unsubSpecShareScreenUsers */ public java.util.List<String> getUnsubSpecShareScreenUsers() { return this.unsubSpecShareScreenUsers; } /** * @return userPanes */ public java.util.List<UserPanes> getUserPanes() { return this.userPanes; } /** * @return watermarks */ public java.util.List<Watermarks> getWatermarks() { return this.watermarks; } public static final class Builder extends Request.Builder<UpdateMPUTaskRequest, Builder> { private String appId; private Integer backgroundColor; private java.util.List<Backgrounds> backgrounds; private java.util.List<ClockWidgets> clockWidgets; private Integer cropMode; private java.util.List<Long> layoutIds; private Integer mediaEncode; private Integer mixMode; private Long ownerId; private String sourceType; private Integer streamType; private java.util.List<String> subSpecAudioUsers; private java.util.List<String> subSpecCameraUsers; private java.util.List<String> subSpecShareScreenUsers; private java.util.List<String> subSpecUsers; private String taskId; private java.util.List<String> unsubSpecAudioUsers; private java.util.List<String> unsubSpecCameraUsers; private java.util.List<String> unsubSpecShareScreenUsers; private java.util.List<UserPanes> userPanes; private java.util.List<Watermarks> watermarks; private Builder() { super(); } private Builder(UpdateMPUTaskRequest request) { super(request); this.appId = request.appId; this.backgroundColor = request.backgroundColor; this.backgrounds = request.backgrounds; this.clockWidgets = request.clockWidgets; this.cropMode = request.cropMode; this.layoutIds = request.layoutIds; this.mediaEncode = request.mediaEncode; this.mixMode = request.mixMode; this.ownerId = request.ownerId; this.sourceType = request.sourceType; this.streamType = request.streamType; this.subSpecAudioUsers = request.subSpecAudioUsers; this.subSpecCameraUsers = request.subSpecCameraUsers; this.subSpecShareScreenUsers = request.subSpecShareScreenUsers; this.subSpecUsers = request.subSpecUsers; this.taskId = request.taskId; this.unsubSpecAudioUsers = request.unsubSpecAudioUsers; this.unsubSpecCameraUsers = request.unsubSpecCameraUsers; this.unsubSpecShareScreenUsers = request.unsubSpecShareScreenUsers; this.userPanes = request.userPanes; this.watermarks = request.watermarks; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>yourAppId</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * BackgroundColor. */ public Builder backgroundColor(Integer backgroundColor) { this.putQueryParameter("BackgroundColor", backgroundColor); this.backgroundColor = backgroundColor; return this; } /** * Backgrounds. */ public Builder backgrounds(java.util.List<Backgrounds> backgrounds) { this.putQueryParameter("Backgrounds", backgrounds); this.backgrounds = backgrounds; return this; } /** * ClockWidgets. */ public Builder clockWidgets(java.util.List<ClockWidgets> clockWidgets) { this.putQueryParameter("ClockWidgets", clockWidgets); this.clockWidgets = clockWidgets; return this; } /** * CropMode. */ public Builder cropMode(Integer cropMode) { this.putQueryParameter("CropMode", cropMode); this.cropMode = cropMode; return this; } /** * LayoutIds. */ public Builder layoutIds(java.util.List<Long> layoutIds) { this.putQueryParameter("LayoutIds", layoutIds); this.layoutIds = layoutIds; return this; } /** * MediaEncode. */ public Builder mediaEncode(Integer mediaEncode) { this.putQueryParameter("MediaEncode", mediaEncode); this.mediaEncode = mediaEncode; return this; } /** * MixMode. */ public Builder mixMode(Integer mixMode) { this.putQueryParameter("MixMode", mixMode); this.mixMode = mixMode; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * SourceType. */ public Builder sourceType(String sourceType) { this.putQueryParameter("SourceType", sourceType); this.sourceType = sourceType; return this; } /** * StreamType. */ public Builder streamType(Integer streamType) { this.putQueryParameter("StreamType", streamType); this.streamType = streamType; return this; } /** * SubSpecAudioUsers. */ public Builder subSpecAudioUsers(java.util.List<String> subSpecAudioUsers) { this.putQueryParameter("SubSpecAudioUsers", subSpecAudioUsers); this.subSpecAudioUsers = subSpecAudioUsers; return this; } /** * SubSpecCameraUsers. */ public Builder subSpecCameraUsers(java.util.List<String> subSpecCameraUsers) { this.putQueryParameter("SubSpecCameraUsers", subSpecCameraUsers); this.subSpecCameraUsers = subSpecCameraUsers; return this; } /** * SubSpecShareScreenUsers. */ public Builder subSpecShareScreenUsers(java.util.List<String> subSpecShareScreenUsers) { this.putQueryParameter("SubSpecShareScreenUsers", subSpecShareScreenUsers); this.subSpecShareScreenUsers = subSpecShareScreenUsers; return this; } /** * SubSpecUsers. */ public Builder subSpecUsers(java.util.List<String> subSpecUsers) { this.putQueryParameter("SubSpecUsers", subSpecUsers); this.subSpecUsers = subSpecUsers; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>testId</p> */ public Builder taskId(String taskId) { this.putQueryParameter("TaskId", taskId); this.taskId = taskId; return this; } /** * UnsubSpecAudioUsers. */ public Builder unsubSpecAudioUsers(java.util.List<String> unsubSpecAudioUsers) { this.putQueryParameter("UnsubSpecAudioUsers", unsubSpecAudioUsers); this.unsubSpecAudioUsers = unsubSpecAudioUsers; return this; } /** * UnsubSpecCameraUsers. */ public Builder unsubSpecCameraUsers(java.util.List<String> unsubSpecCameraUsers) { this.putQueryParameter("UnsubSpecCameraUsers", unsubSpecCameraUsers); this.unsubSpecCameraUsers = unsubSpecCameraUsers; return this; } /** * UnsubSpecShareScreenUsers. */ public Builder unsubSpecShareScreenUsers(java.util.List<String> unsubSpecShareScreenUsers) { this.putQueryParameter("UnsubSpecShareScreenUsers", unsubSpecShareScreenUsers); this.unsubSpecShareScreenUsers = unsubSpecShareScreenUsers; return this; } /** * UserPanes. */ public Builder userPanes(java.util.List<UserPanes> userPanes) { this.putQueryParameter("UserPanes", userPanes); this.userPanes = userPanes; return this; } /** * Watermarks. */ public Builder watermarks(java.util.List<Watermarks> watermarks) { this.putQueryParameter("Watermarks", watermarks); this.watermarks = watermarks; return this; } @Override public UpdateMPUTaskRequest build() { return new UpdateMPUTaskRequest(this); } } /** * * {@link UpdateMPUTaskRequest} extends {@link TeaModel} * * <p>UpdateMPUTaskRequest</p> */ public static class Backgrounds extends TeaModel { @com.aliyun.core.annotation.NameInMap("Display") private Integer display; @com.aliyun.core.annotation.NameInMap("Height") private Float height; @com.aliyun.core.annotation.NameInMap("Url") private String url; @com.aliyun.core.annotation.NameInMap("Width") private Float width; @com.aliyun.core.annotation.NameInMap("X") private Float x; @com.aliyun.core.annotation.NameInMap("Y") private Float y; @com.aliyun.core.annotation.NameInMap("ZOrder") private Integer zOrder; private Backgrounds(Builder builder) { this.display = builder.display; this.height = builder.height; this.url = builder.url; this.width = builder.width; this.x = builder.x; this.y = builder.y; this.zOrder = builder.zOrder; } public static Builder builder() { return new Builder(); } public static Backgrounds create() { return builder().build(); } /** * @return display */ public Integer getDisplay() { return this.display; } /** * @return height */ public Float getHeight() { return this.height; } /** * @return url */ public String getUrl() { return this.url; } /** * @return width */ public Float getWidth() { return this.width; } /** * @return x */ public Float getX() { return this.x; } /** * @return y */ public Float getY() { return this.y; } /** * @return zOrder */ public Integer getZOrder() { return this.zOrder; } public static final class Builder { private Integer display; private Float height; private String url; private Float width; private Float x; private Float y; private Integer zOrder; private Builder() { } private Builder(Backgrounds model) { this.display = model.display; this.height = model.height; this.url = model.url; this.width = model.width; this.x = model.x; this.y = model.y; this.zOrder = model.zOrder; } /** * Display. */ public Builder display(Integer display) { this.display = display; return this; } /** * Height. */ public Builder height(Float height) { this.height = height; return this; } /** * Url. */ public Builder url(String url) { this.url = url; return this; } /** * Width. */ public Builder width(Float width) { this.width = width; return this; } /** * X. */ public Builder x(Float x) { this.x = x; return this; } /** * Y. */ public Builder y(Float y) { this.y = y; return this; } /** * ZOrder. */ public Builder zOrder(Integer zOrder) { this.zOrder = zOrder; return this; } public Backgrounds build() { return new Backgrounds(this); } } } /** * * {@link UpdateMPUTaskRequest} extends {@link TeaModel} * * <p>UpdateMPUTaskRequest</p> */ public static class ClockWidgets extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") private Float alpha; @com.aliyun.core.annotation.NameInMap("BorderColor") private Long borderColor; @com.aliyun.core.annotation.NameInMap("BorderWidth") private Integer borderWidth; @com.aliyun.core.annotation.NameInMap("Box") private Boolean box; @com.aliyun.core.annotation.NameInMap("BoxBorderWidth") private Integer boxBorderWidth; @com.aliyun.core.annotation.NameInMap("BoxColor") private Long boxColor; @com.aliyun.core.annotation.NameInMap("FontColor") private Integer fontColor; @com.aliyun.core.annotation.NameInMap("FontSize") private Integer fontSize; @com.aliyun.core.annotation.NameInMap("FontType") private Integer fontType; @com.aliyun.core.annotation.NameInMap("X") private Float x; @com.aliyun.core.annotation.NameInMap("Y") private Float y; @com.aliyun.core.annotation.NameInMap("ZOrder") private Integer zOrder; private ClockWidgets(Builder builder) { this.alpha = builder.alpha; this.borderColor = builder.borderColor; this.borderWidth = builder.borderWidth; this.box = builder.box; this.boxBorderWidth = builder.boxBorderWidth; this.boxColor = builder.boxColor; this.fontColor = builder.fontColor; this.fontSize = builder.fontSize; this.fontType = builder.fontType; this.x = builder.x; this.y = builder.y; this.zOrder = builder.zOrder; } public static Builder builder() { return new Builder(); } public static ClockWidgets create() { return builder().build(); } /** * @return alpha */ public Float getAlpha() { return this.alpha; } /** * @return borderColor */ public Long getBorderColor() { return this.borderColor; } /** * @return borderWidth */ public Integer getBorderWidth() { return this.borderWidth; } /** * @return box */ public Boolean getBox() { return this.box; } /** * @return boxBorderWidth */ public Integer getBoxBorderWidth() { return this.boxBorderWidth; } /** * @return boxColor */ public Long getBoxColor() { return this.boxColor; } /** * @return fontColor */ public Integer getFontColor() { return this.fontColor; } /** * @return fontSize */ public Integer getFontSize() { return this.fontSize; } /** * @return fontType */ public Integer getFontType() { return this.fontType; } /** * @return x */ public Float getX() { return this.x; } /** * @return y */ public Float getY() { return this.y; } /** * @return zOrder */ public Integer getZOrder() { return this.zOrder; } public static final class Builder { private Float alpha; private Long borderColor; private Integer borderWidth; private Boolean box; private Integer boxBorderWidth; private Long boxColor; private Integer fontColor; private Integer fontSize; private Integer fontType; private Float x; private Float y; private Integer zOrder; private Builder() { } private Builder(ClockWidgets model) { this.alpha = model.alpha; this.borderColor = model.borderColor; this.borderWidth = model.borderWidth; this.box = model.box; this.boxBorderWidth = model.boxBorderWidth; this.boxColor = model.boxColor; this.fontColor = model.fontColor; this.fontSize = model.fontSize; this.fontType = model.fontType; this.x = model.x; this.y = model.y; this.zOrder = model.zOrder; } /** * Alpha. */ public Builder alpha(Float alpha) { this.alpha = alpha; return this; } /** * BorderColor. */ public Builder borderColor(Long borderColor) { this.borderColor = borderColor; return this; } /** * BorderWidth. */ public Builder borderWidth(Integer borderWidth) { this.borderWidth = borderWidth; return this; } /** * Box. */ public Builder box(Boolean box) { this.box = box; return this; } /** * BoxBorderWidth. */ public Builder boxBorderWidth(Integer boxBorderWidth) { this.boxBorderWidth = boxBorderWidth; return this; } /** * BoxColor. */ public Builder boxColor(Long boxColor) { this.boxColor = boxColor; return this; } /** * FontColor. */ public Builder fontColor(Integer fontColor) { this.fontColor = fontColor; return this; } /** * FontSize. */ public Builder fontSize(Integer fontSize) { this.fontSize = fontSize; return this; } /** * FontType. */ public Builder fontType(Integer fontType) { this.fontType = fontType; return this; } /** * X. */ public Builder x(Float x) { this.x = x; return this; } /** * Y. */ public Builder y(Float y) { this.y = y; return this; } /** * ZOrder. */ public Builder zOrder(Integer zOrder) { this.zOrder = zOrder; return this; } public ClockWidgets build() { return new ClockWidgets(this); } } } /** * * {@link UpdateMPUTaskRequest} extends {@link TeaModel} * * <p>UpdateMPUTaskRequest</p> */ public static class Images extends TeaModel { @com.aliyun.core.annotation.NameInMap("Display") private Integer display; @com.aliyun.core.annotation.NameInMap("Height") private Float height; @com.aliyun.core.annotation.NameInMap("Url") private String url; @com.aliyun.core.annotation.NameInMap("Width") private Float width; @com.aliyun.core.annotation.NameInMap("X") private Float x; @com.aliyun.core.annotation.NameInMap("Y") private Float y; @com.aliyun.core.annotation.NameInMap("ZOrder") private Integer zOrder; private Images(Builder builder) { this.display = builder.display; this.height = builder.height; this.url = builder.url; this.width = builder.width; this.x = builder.x; this.y = builder.y; this.zOrder = builder.zOrder; } public static Builder builder() { return new Builder(); } public static Images create() { return builder().build(); } /** * @return display */ public Integer getDisplay() { return this.display; } /** * @return height */ public Float getHeight() { return this.height; } /** * @return url */ public String getUrl() { return this.url; } /** * @return width */ public Float getWidth() { return this.width; } /** * @return x */ public Float getX() { return this.x; } /** * @return y */ public Float getY() { return this.y; } /** * @return zOrder */ public Integer getZOrder() { return this.zOrder; } public static final class Builder { private Integer display; private Float height; private String url; private Float width; private Float x; private Float y; private Integer zOrder; private Builder() { } private Builder(Images model) { this.display = model.display; this.height = model.height; this.url = model.url; this.width = model.width; this.x = model.x; this.y = model.y; this.zOrder = model.zOrder; } /** * Display. */ public Builder display(Integer display) { this.display = display; return this; } /** * Height. */ public Builder height(Float height) { this.height = height; return this; } /** * Url. */ public Builder url(String url) { this.url = url; return this; } /** * Width. */ public Builder width(Float width) { this.width = width; return this; } /** * X. */ public Builder x(Float x) { this.x = x; return this; } /** * Y. */ public Builder y(Float y) { this.y = y; return this; } /** * ZOrder. */ public Builder zOrder(Integer zOrder) { this.zOrder = zOrder; return this; } public Images build() { return new Images(this); } } } /** * * {@link UpdateMPUTaskRequest} extends {@link TeaModel} * * <p>UpdateMPUTaskRequest</p> */ public static class Texts extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") private Float alpha; @com.aliyun.core.annotation.NameInMap("BorderColor") private Long borderColor; @com.aliyun.core.annotation.NameInMap("BorderWidth") private Integer borderWidth; @com.aliyun.core.annotation.NameInMap("Box") private Boolean box; @com.aliyun.core.annotation.NameInMap("BoxBorderWidth") private Integer boxBorderWidth; @com.aliyun.core.annotation.NameInMap("BoxColor") private Long boxColor; @com.aliyun.core.annotation.NameInMap("FontColor") private Integer fontColor; @com.aliyun.core.annotation.NameInMap("FontSize") private Integer fontSize; @com.aliyun.core.annotation.NameInMap("FontType") private Integer fontType; @com.aliyun.core.annotation.NameInMap("Text") private String text; @com.aliyun.core.annotation.NameInMap("X") private Float x; @com.aliyun.core.annotation.NameInMap("Y") private Float y; @com.aliyun.core.annotation.NameInMap("ZOrder") private Integer zOrder; private Texts(Builder builder) { this.alpha = builder.alpha; this.borderColor = builder.borderColor; this.borderWidth = builder.borderWidth; this.box = builder.box; this.boxBorderWidth = builder.boxBorderWidth; this.boxColor = builder.boxColor; this.fontColor = builder.fontColor; this.fontSize = builder.fontSize; this.fontType = builder.fontType; this.text = builder.text; this.x = builder.x; this.y = builder.y; this.zOrder = builder.zOrder; } public static Builder builder() { return new Builder(); } public static Texts create() { return builder().build(); } /** * @return alpha */ public Float getAlpha() { return this.alpha; } /** * @return borderColor */ public Long getBorderColor() { return this.borderColor; } /** * @return borderWidth */ public Integer getBorderWidth() { return this.borderWidth; } /** * @return box */ public Boolean getBox() { return this.box; } /** * @return boxBorderWidth */ public Integer getBoxBorderWidth() { return this.boxBorderWidth; } /** * @return boxColor */ public Long getBoxColor() { return this.boxColor; } /** * @return fontColor */ public Integer getFontColor() { return this.fontColor; } /** * @return fontSize */ public Integer getFontSize() { return this.fontSize; } /** * @return fontType */ public Integer getFontType() { return this.fontType; } /** * @return text */ public String getText() { return this.text; } /** * @return x */ public Float getX() { return this.x; } /** * @return y */ public Float getY() { return this.y; } /** * @return zOrder */ public Integer getZOrder() { return this.zOrder; } public static final class Builder { private Float alpha; private Long borderColor; private Integer borderWidth; private Boolean box; private Integer boxBorderWidth; private Long boxColor; private Integer fontColor; private Integer fontSize; private Integer fontType; private String text; private Float x; private Float y; private Integer zOrder; private Builder() { } private Builder(Texts model) { this.alpha = model.alpha; this.borderColor = model.borderColor; this.borderWidth = model.borderWidth; this.box = model.box; this.boxBorderWidth = model.boxBorderWidth; this.boxColor = model.boxColor; this.fontColor = model.fontColor; this.fontSize = model.fontSize; this.fontType = model.fontType; this.text = model.text; this.x = model.x; this.y = model.y; this.zOrder = model.zOrder; } /** * Alpha. */ public Builder alpha(Float alpha) { this.alpha = alpha; return this; } /** * BorderColor. */ public Builder borderColor(Long borderColor) { this.borderColor = borderColor; return this; } /** * BorderWidth. */ public Builder borderWidth(Integer borderWidth) { this.borderWidth = borderWidth; return this; } /** * Box. */ public Builder box(Boolean box) { this.box = box; return this; } /** * BoxBorderWidth. */ public Builder boxBorderWidth(Integer boxBorderWidth) { this.boxBorderWidth = boxBorderWidth; return this; } /** * BoxColor. */ public Builder boxColor(Long boxColor) { this.boxColor = boxColor; return this; } /** * FontColor. */ public Builder fontColor(Integer fontColor) { this.fontColor = fontColor; return this; } /** * FontSize. */ public Builder fontSize(Integer fontSize) { this.fontSize = fontSize; return this; } /** * FontType. */ public Builder fontType(Integer fontType) { this.fontType = fontType; return this; } /** * Text. */ public Builder text(String text) { this.text = text; return this; } /** * X. */ public Builder x(Float x) { this.x = x; return this; } /** * Y. */ public Builder y(Float y) { this.y = y; return this; } /** * ZOrder. */ public Builder zOrder(Integer zOrder) { this.zOrder = zOrder; return this; } public Texts build() { return new Texts(this); } } } /** * * {@link UpdateMPUTaskRequest} extends {@link TeaModel} * * <p>UpdateMPUTaskRequest</p> */ public static class UserPanes extends TeaModel { @com.aliyun.core.annotation.NameInMap("Images") private java.util.List<Images> images; @com.aliyun.core.annotation.NameInMap("PaneId") private Integer paneId; @com.aliyun.core.annotation.NameInMap("SegmentType") private Integer segmentType; @com.aliyun.core.annotation.NameInMap("SourceType") private String sourceType; @com.aliyun.core.annotation.NameInMap("Texts") private java.util.List<Texts> texts; @com.aliyun.core.annotation.NameInMap("UserId") private String userId; private UserPanes(Builder builder) { this.images = builder.images; this.paneId = builder.paneId; this.segmentType = builder.segmentType; this.sourceType = builder.sourceType; this.texts = builder.texts; this.userId = builder.userId; } public static Builder builder() { return new Builder(); } public static UserPanes create() { return builder().build(); } /** * @return images */ public java.util.List<Images> getImages() { return this.images; } /** * @return paneId */ public Integer getPaneId() { return this.paneId; } /** * @return segmentType */ public Integer getSegmentType() { return this.segmentType; } /** * @return sourceType */ public String getSourceType() { return this.sourceType; } /** * @return texts */ public java.util.List<Texts> getTexts() { return this.texts; } /** * @return userId */ public String getUserId() { return this.userId; } public static final class Builder { private java.util.List<Images> images; private Integer paneId; private Integer segmentType; private String sourceType; private java.util.List<Texts> texts; private String userId; private Builder() { } private Builder(UserPanes model) { this.images = model.images; this.paneId = model.paneId; this.segmentType = model.segmentType; this.sourceType = model.sourceType; this.texts = model.texts; this.userId = model.userId; } /** * Images. */ public Builder images(java.util.List<Images> images) { this.images = images; return this; } /** * PaneId. */ public Builder paneId(Integer paneId) { this.paneId = paneId; return this; } /** * SegmentType. */ public Builder segmentType(Integer segmentType) { this.segmentType = segmentType; return this; } /** * SourceType. */ public Builder sourceType(String sourceType) { this.sourceType = sourceType; return this; } /** * Texts. */ public Builder texts(java.util.List<Texts> texts) { this.texts = texts; return this; } /** * UserId. */ public Builder userId(String userId) { this.userId = userId; return this; } public UserPanes build() { return new UserPanes(this); } } } /** * * {@link UpdateMPUTaskRequest} extends {@link TeaModel} * * <p>UpdateMPUTaskRequest</p> */ public static class Watermarks extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") private Float alpha; @com.aliyun.core.annotation.NameInMap("Display") private Integer display; @com.aliyun.core.annotation.NameInMap("Height") private Float height; @com.aliyun.core.annotation.NameInMap("Url") private String url; @com.aliyun.core.annotation.NameInMap("Width") private Float width; @com.aliyun.core.annotation.NameInMap("X") private Float x; @com.aliyun.core.annotation.NameInMap("Y") private Float y; @com.aliyun.core.annotation.NameInMap("ZOrder") private Integer zOrder; private Watermarks(Builder builder) { this.alpha = builder.alpha; this.display = builder.display; this.height = builder.height; this.url = builder.url; this.width = builder.width; this.x = builder.x; this.y = builder.y; this.zOrder = builder.zOrder; } public static Builder builder() { return new Builder(); } public static Watermarks create() { return builder().build(); } /** * @return alpha */ public Float getAlpha() { return this.alpha; } /** * @return display */ public Integer getDisplay() { return this.display; } /** * @return height */ public Float getHeight() { return this.height; } /** * @return url */ public String getUrl() { return this.url; } /** * @return width */ public Float getWidth() { return this.width; } /** * @return x */ public Float getX() { return this.x; } /** * @return y */ public Float getY() { return this.y; } /** * @return zOrder */ public Integer getZOrder() { return this.zOrder; } public static final class Builder { private Float alpha; private Integer display; private Float height; private String url; private Float width; private Float x; private Float y; private Integer zOrder; private Builder() { } private Builder(Watermarks model) { this.alpha = model.alpha; this.display = model.display; this.height = model.height; this.url = model.url; this.width = model.width; this.x = model.x; this.y = model.y; this.zOrder = model.zOrder; } /** * Alpha. */ public Builder alpha(Float alpha) { this.alpha = alpha; return this; } /** * Display. */ public Builder display(Integer display) { this.display = display; return this; } /** * Height. */ public Builder height(Float height) { this.height = height; return this; } /** * Url. */ public Builder url(String url) { this.url = url; return this; } /** * Width. */ public Builder width(Float width) { this.width = width; return this; } /** * X. */ public Builder x(Float x) { this.x = x; return this; } /** * Y. */ public Builder y(Float y) { this.y = y; return this; } /** * ZOrder. */ public Builder zOrder(Integer zOrder) { this.zOrder = zOrder; return this; } public Watermarks build() { return new Watermarks(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/UpdateMPUTaskResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link UpdateMPUTaskResponse} extends {@link TeaModel} * * <p>UpdateMPUTaskResponse</p> */ public class UpdateMPUTaskResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private UpdateMPUTaskResponseBody body; private UpdateMPUTaskResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static UpdateMPUTaskResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public UpdateMPUTaskResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<UpdateMPUTaskResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(UpdateMPUTaskResponseBody body); @Override UpdateMPUTaskResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<UpdateMPUTaskResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private UpdateMPUTaskResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(UpdateMPUTaskResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(UpdateMPUTaskResponseBody body) { this.body = body; return this; } @Override public UpdateMPUTaskResponse build() { return new UpdateMPUTaskResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/UpdateMPUTaskResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link UpdateMPUTaskResponseBody} extends {@link TeaModel} * * <p>UpdateMPUTaskResponseBody</p> */ public class UpdateMPUTaskResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private UpdateMPUTaskResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static UpdateMPUTaskResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(UpdateMPUTaskResponseBody model) { this.requestId = model.requestId; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public UpdateMPUTaskResponseBody build() { return new UpdateMPUTaskResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/UpdateRecordTaskRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link UpdateRecordTaskRequest} extends {@link RequestModel} * * <p>UpdateRecordTaskRequest</p> */ public class UpdateRecordTaskRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ChannelId") @com.aliyun.core.annotation.Validation(required = true) private String channelId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CropMode") private Long cropMode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("LayoutIds") private java.util.List<Long> layoutIds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MediaEncode") private Long mediaEncode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SubSpecAudioUsers") private java.util.List<String> subSpecAudioUsers; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SubSpecCameraUsers") private java.util.List<String> subSpecCameraUsers; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SubSpecShareScreenUsers") private java.util.List<String> subSpecShareScreenUsers; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SubSpecUsers") private java.util.List<String> subSpecUsers; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskId") @com.aliyun.core.annotation.Validation(required = true) private String taskId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskProfile") private String taskProfile; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TemplateId") @com.aliyun.core.annotation.Validation(required = true) private String templateId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UnsubSpecAudioUsers") private java.util.List<String> unsubSpecAudioUsers; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UnsubSpecCameraUsers") private java.util.List<String> unsubSpecCameraUsers; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UnsubSpecShareScreenUsers") private java.util.List<String> unsubSpecShareScreenUsers; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UserPanes") private java.util.List<UserPanes> userPanes; private UpdateRecordTaskRequest(Builder builder) { super(builder); this.appId = builder.appId; this.channelId = builder.channelId; this.cropMode = builder.cropMode; this.layoutIds = builder.layoutIds; this.mediaEncode = builder.mediaEncode; this.ownerId = builder.ownerId; this.subSpecAudioUsers = builder.subSpecAudioUsers; this.subSpecCameraUsers = builder.subSpecCameraUsers; this.subSpecShareScreenUsers = builder.subSpecShareScreenUsers; this.subSpecUsers = builder.subSpecUsers; this.taskId = builder.taskId; this.taskProfile = builder.taskProfile; this.templateId = builder.templateId; this.unsubSpecAudioUsers = builder.unsubSpecAudioUsers; this.unsubSpecCameraUsers = builder.unsubSpecCameraUsers; this.unsubSpecShareScreenUsers = builder.unsubSpecShareScreenUsers; this.userPanes = builder.userPanes; } public static Builder builder() { return new Builder(); } public static UpdateRecordTaskRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return channelId */ public String getChannelId() { return this.channelId; } /** * @return cropMode */ public Long getCropMode() { return this.cropMode; } /** * @return layoutIds */ public java.util.List<Long> getLayoutIds() { return this.layoutIds; } /** * @return mediaEncode */ public Long getMediaEncode() { return this.mediaEncode; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return subSpecAudioUsers */ public java.util.List<String> getSubSpecAudioUsers() { return this.subSpecAudioUsers; } /** * @return subSpecCameraUsers */ public java.util.List<String> getSubSpecCameraUsers() { return this.subSpecCameraUsers; } /** * @return subSpecShareScreenUsers */ public java.util.List<String> getSubSpecShareScreenUsers() { return this.subSpecShareScreenUsers; } /** * @return subSpecUsers */ public java.util.List<String> getSubSpecUsers() { return this.subSpecUsers; } /** * @return taskId */ public String getTaskId() { return this.taskId; } /** * @return taskProfile */ public String getTaskProfile() { return this.taskProfile; } /** * @return templateId */ public String getTemplateId() { return this.templateId; } /** * @return unsubSpecAudioUsers */ public java.util.List<String> getUnsubSpecAudioUsers() { return this.unsubSpecAudioUsers; } /** * @return unsubSpecCameraUsers */ public java.util.List<String> getUnsubSpecCameraUsers() { return this.unsubSpecCameraUsers; } /** * @return unsubSpecShareScreenUsers */ public java.util.List<String> getUnsubSpecShareScreenUsers() { return this.unsubSpecShareScreenUsers; } /** * @return userPanes */ public java.util.List<UserPanes> getUserPanes() { return this.userPanes; } public static final class Builder extends Request.Builder<UpdateRecordTaskRequest, Builder> { private String appId; private String channelId; private Long cropMode; private java.util.List<Long> layoutIds; private Long mediaEncode; private Long ownerId; private java.util.List<String> subSpecAudioUsers; private java.util.List<String> subSpecCameraUsers; private java.util.List<String> subSpecShareScreenUsers; private java.util.List<String> subSpecUsers; private String taskId; private String taskProfile; private String templateId; private java.util.List<String> unsubSpecAudioUsers; private java.util.List<String> unsubSpecCameraUsers; private java.util.List<String> unsubSpecShareScreenUsers; private java.util.List<UserPanes> userPanes; private Builder() { super(); } private Builder(UpdateRecordTaskRequest request) { super(request); this.appId = request.appId; this.channelId = request.channelId; this.cropMode = request.cropMode; this.layoutIds = request.layoutIds; this.mediaEncode = request.mediaEncode; this.ownerId = request.ownerId; this.subSpecAudioUsers = request.subSpecAudioUsers; this.subSpecCameraUsers = request.subSpecCameraUsers; this.subSpecShareScreenUsers = request.subSpecShareScreenUsers; this.subSpecUsers = request.subSpecUsers; this.taskId = request.taskId; this.taskProfile = request.taskProfile; this.templateId = request.templateId; this.unsubSpecAudioUsers = request.unsubSpecAudioUsers; this.unsubSpecCameraUsers = request.unsubSpecCameraUsers; this.unsubSpecShareScreenUsers = request.unsubSpecShareScreenUsers; this.userPanes = request.userPanes; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>yourAppId</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>yourChannelId</p> */ public Builder channelId(String channelId) { this.putQueryParameter("ChannelId", channelId); this.channelId = channelId; return this; } /** * CropMode. */ public Builder cropMode(Long cropMode) { this.putQueryParameter("CropMode", cropMode); this.cropMode = cropMode; return this; } /** * LayoutIds. */ public Builder layoutIds(java.util.List<Long> layoutIds) { this.putQueryParameter("LayoutIds", layoutIds); this.layoutIds = layoutIds; return this; } /** * MediaEncode. */ public Builder mediaEncode(Long mediaEncode) { this.putQueryParameter("MediaEncode", mediaEncode); this.mediaEncode = mediaEncode; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * SubSpecAudioUsers. */ public Builder subSpecAudioUsers(java.util.List<String> subSpecAudioUsers) { this.putQueryParameter("SubSpecAudioUsers", subSpecAudioUsers); this.subSpecAudioUsers = subSpecAudioUsers; return this; } /** * SubSpecCameraUsers. */ public Builder subSpecCameraUsers(java.util.List<String> subSpecCameraUsers) { this.putQueryParameter("SubSpecCameraUsers", subSpecCameraUsers); this.subSpecCameraUsers = subSpecCameraUsers; return this; } /** * SubSpecShareScreenUsers. */ public Builder subSpecShareScreenUsers(java.util.List<String> subSpecShareScreenUsers) { this.putQueryParameter("SubSpecShareScreenUsers", subSpecShareScreenUsers); this.subSpecShareScreenUsers = subSpecShareScreenUsers; return this; } /** * SubSpecUsers. */ public Builder subSpecUsers(java.util.List<String> subSpecUsers) { this.putQueryParameter("SubSpecUsers", subSpecUsers); this.subSpecUsers = subSpecUsers; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>yourTaskId</p> */ public Builder taskId(String taskId) { this.putQueryParameter("TaskId", taskId); this.taskId = taskId; return this; } /** * TaskProfile. */ public Builder taskProfile(String taskProfile) { this.putQueryParameter("TaskProfile", taskProfile); this.taskProfile = taskProfile; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>76dasgb****</p> */ public Builder templateId(String templateId) { this.putQueryParameter("TemplateId", templateId); this.templateId = templateId; return this; } /** * UnsubSpecAudioUsers. */ public Builder unsubSpecAudioUsers(java.util.List<String> unsubSpecAudioUsers) { this.putQueryParameter("UnsubSpecAudioUsers", unsubSpecAudioUsers); this.unsubSpecAudioUsers = unsubSpecAudioUsers; return this; } /** * UnsubSpecCameraUsers. */ public Builder unsubSpecCameraUsers(java.util.List<String> unsubSpecCameraUsers) { this.putQueryParameter("UnsubSpecCameraUsers", unsubSpecCameraUsers); this.unsubSpecCameraUsers = unsubSpecCameraUsers; return this; } /** * UnsubSpecShareScreenUsers. */ public Builder unsubSpecShareScreenUsers(java.util.List<String> unsubSpecShareScreenUsers) { this.putQueryParameter("UnsubSpecShareScreenUsers", unsubSpecShareScreenUsers); this.unsubSpecShareScreenUsers = unsubSpecShareScreenUsers; return this; } /** * UserPanes. */ public Builder userPanes(java.util.List<UserPanes> userPanes) { this.putQueryParameter("UserPanes", userPanes); this.userPanes = userPanes; return this; } @Override public UpdateRecordTaskRequest build() { return new UpdateRecordTaskRequest(this); } } /** * * {@link UpdateRecordTaskRequest} extends {@link TeaModel} * * <p>UpdateRecordTaskRequest</p> */ public static class Images extends TeaModel { @com.aliyun.core.annotation.NameInMap("Display") private Integer display; @com.aliyun.core.annotation.NameInMap("Height") private Float height; @com.aliyun.core.annotation.NameInMap("Url") private String url; @com.aliyun.core.annotation.NameInMap("Width") private Float width; @com.aliyun.core.annotation.NameInMap("X") private Float x; @com.aliyun.core.annotation.NameInMap("Y") private Float y; @com.aliyun.core.annotation.NameInMap("ZOrder") private Integer zOrder; private Images(Builder builder) { this.display = builder.display; this.height = builder.height; this.url = builder.url; this.width = builder.width; this.x = builder.x; this.y = builder.y; this.zOrder = builder.zOrder; } public static Builder builder() { return new Builder(); } public static Images create() { return builder().build(); } /** * @return display */ public Integer getDisplay() { return this.display; } /** * @return height */ public Float getHeight() { return this.height; } /** * @return url */ public String getUrl() { return this.url; } /** * @return width */ public Float getWidth() { return this.width; } /** * @return x */ public Float getX() { return this.x; } /** * @return y */ public Float getY() { return this.y; } /** * @return zOrder */ public Integer getZOrder() { return this.zOrder; } public static final class Builder { private Integer display; private Float height; private String url; private Float width; private Float x; private Float y; private Integer zOrder; private Builder() { } private Builder(Images model) { this.display = model.display; this.height = model.height; this.url = model.url; this.width = model.width; this.x = model.x; this.y = model.y; this.zOrder = model.zOrder; } /** * Display. */ public Builder display(Integer display) { this.display = display; return this; } /** * Height. */ public Builder height(Float height) { this.height = height; return this; } /** * Url. */ public Builder url(String url) { this.url = url; return this; } /** * Width. */ public Builder width(Float width) { this.width = width; return this; } /** * X. */ public Builder x(Float x) { this.x = x; return this; } /** * Y. */ public Builder y(Float y) { this.y = y; return this; } /** * ZOrder. */ public Builder zOrder(Integer zOrder) { this.zOrder = zOrder; return this; } public Images build() { return new Images(this); } } } /** * * {@link UpdateRecordTaskRequest} extends {@link TeaModel} * * <p>UpdateRecordTaskRequest</p> */ public static class Texts extends TeaModel { @com.aliyun.core.annotation.NameInMap("FontColor") private Integer fontColor; @com.aliyun.core.annotation.NameInMap("FontSize") private Integer fontSize; @com.aliyun.core.annotation.NameInMap("FontType") private Integer fontType; @com.aliyun.core.annotation.NameInMap("Text") private String text; @com.aliyun.core.annotation.NameInMap("X") private Float x; @com.aliyun.core.annotation.NameInMap("Y") private Float y; @com.aliyun.core.annotation.NameInMap("ZOrder") private Integer zOrder; private Texts(Builder builder) { this.fontColor = builder.fontColor; this.fontSize = builder.fontSize; this.fontType = builder.fontType; this.text = builder.text; this.x = builder.x; this.y = builder.y; this.zOrder = builder.zOrder; } public static Builder builder() { return new Builder(); } public static Texts create() { return builder().build(); } /** * @return fontColor */ public Integer getFontColor() { return this.fontColor; } /** * @return fontSize */ public Integer getFontSize() { return this.fontSize; } /** * @return fontType */ public Integer getFontType() { return this.fontType; } /** * @return text */ public String getText() { return this.text; } /** * @return x */ public Float getX() { return this.x; } /** * @return y */ public Float getY() { return this.y; } /** * @return zOrder */ public Integer getZOrder() { return this.zOrder; } public static final class Builder { private Integer fontColor; private Integer fontSize; private Integer fontType; private String text; private Float x; private Float y; private Integer zOrder; private Builder() { } private Builder(Texts model) { this.fontColor = model.fontColor; this.fontSize = model.fontSize; this.fontType = model.fontType; this.text = model.text; this.x = model.x; this.y = model.y; this.zOrder = model.zOrder; } /** * FontColor. */ public Builder fontColor(Integer fontColor) { this.fontColor = fontColor; return this; } /** * FontSize. */ public Builder fontSize(Integer fontSize) { this.fontSize = fontSize; return this; } /** * FontType. */ public Builder fontType(Integer fontType) { this.fontType = fontType; return this; } /** * Text. */ public Builder text(String text) { this.text = text; return this; } /** * X. */ public Builder x(Float x) { this.x = x; return this; } /** * Y. */ public Builder y(Float y) { this.y = y; return this; } /** * ZOrder. */ public Builder zOrder(Integer zOrder) { this.zOrder = zOrder; return this; } public Texts build() { return new Texts(this); } } } /** * * {@link UpdateRecordTaskRequest} extends {@link TeaModel} * * <p>UpdateRecordTaskRequest</p> */ public static class UserPanes extends TeaModel { @com.aliyun.core.annotation.NameInMap("Images") private java.util.List<Images> images; @com.aliyun.core.annotation.NameInMap("PaneId") private Integer paneId; @com.aliyun.core.annotation.NameInMap("SourceType") private String sourceType; @com.aliyun.core.annotation.NameInMap("Texts") private java.util.List<Texts> texts; @com.aliyun.core.annotation.NameInMap("UserId") private String userId; private UserPanes(Builder builder) { this.images = builder.images; this.paneId = builder.paneId; this.sourceType = builder.sourceType; this.texts = builder.texts; this.userId = builder.userId; } public static Builder builder() { return new Builder(); } public static UserPanes create() { return builder().build(); } /** * @return images */ public java.util.List<Images> getImages() { return this.images; } /** * @return paneId */ public Integer getPaneId() { return this.paneId; } /** * @return sourceType */ public String getSourceType() { return this.sourceType; } /** * @return texts */ public java.util.List<Texts> getTexts() { return this.texts; } /** * @return userId */ public String getUserId() { return this.userId; } public static final class Builder { private java.util.List<Images> images; private Integer paneId; private String sourceType; private java.util.List<Texts> texts; private String userId; private Builder() { } private Builder(UserPanes model) { this.images = model.images; this.paneId = model.paneId; this.sourceType = model.sourceType; this.texts = model.texts; this.userId = model.userId; } /** * Images. */ public Builder images(java.util.List<Images> images) { this.images = images; return this; } /** * PaneId. */ public Builder paneId(Integer paneId) { this.paneId = paneId; return this; } /** * SourceType. */ public Builder sourceType(String sourceType) { this.sourceType = sourceType; return this; } /** * Texts. */ public Builder texts(java.util.List<Texts> texts) { this.texts = texts; return this; } /** * UserId. */ public Builder userId(String userId) { this.userId = userId; return this; } public UserPanes build() { return new UserPanes(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/UpdateRecordTaskResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link UpdateRecordTaskResponse} extends {@link TeaModel} * * <p>UpdateRecordTaskResponse</p> */ public class UpdateRecordTaskResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private UpdateRecordTaskResponseBody body; private UpdateRecordTaskResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static UpdateRecordTaskResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public UpdateRecordTaskResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<UpdateRecordTaskResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(UpdateRecordTaskResponseBody body); @Override UpdateRecordTaskResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<UpdateRecordTaskResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private UpdateRecordTaskResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(UpdateRecordTaskResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(UpdateRecordTaskResponseBody body) { this.body = body; return this; } @Override public UpdateRecordTaskResponse build() { return new UpdateRecordTaskResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/UpdateRecordTaskResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link UpdateRecordTaskResponseBody} extends {@link TeaModel} * * <p>UpdateRecordTaskResponseBody</p> */ public class UpdateRecordTaskResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private UpdateRecordTaskResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static UpdateRecordTaskResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(UpdateRecordTaskResponseBody model) { this.requestId = model.requestId; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public UpdateRecordTaskResponseBody build() { return new UpdateRecordTaskResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/UpdateRecordTemplateRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link UpdateRecordTemplateRequest} extends {@link RequestModel} * * <p>UpdateRecordTemplateRequest</p> */ public class UpdateRecordTemplateRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("BackgroundColor") private Integer backgroundColor; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Backgrounds") private java.util.List<Backgrounds> backgrounds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClockWidgets") private java.util.List<ClockWidgets> clockWidgets; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DelayStopTime") @com.aliyun.core.annotation.Validation(maximum = 86400, minimum = 5) private Integer delayStopTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EnableM3u8DateTime") private Boolean enableM3u8DateTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("FileSplitInterval") @com.aliyun.core.annotation.Validation(required = true) private Integer fileSplitInterval; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Formats") @com.aliyun.core.annotation.Validation(required = true) private java.util.List<String> formats; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("HttpCallbackUrl") private String httpCallbackUrl; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("LayoutIds") @com.aliyun.core.annotation.Validation(required = true) private java.util.List<Long> layoutIds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MediaEncode") @com.aliyun.core.annotation.Validation(required = true) private Integer mediaEncode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MnsQueue") private String mnsQueue; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Name") @com.aliyun.core.annotation.Validation(required = true) private String name; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OssBucket") @com.aliyun.core.annotation.Validation(required = true) private String ossBucket; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OssEndpoint") private String ossEndpoint; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OssFilePrefix") @com.aliyun.core.annotation.Validation(required = true) private String ossFilePrefix; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskProfile") @com.aliyun.core.annotation.Validation(required = true) private String taskProfile; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TemplateId") @com.aliyun.core.annotation.Validation(required = true) private String templateId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Watermarks") private java.util.List<Watermarks> watermarks; private UpdateRecordTemplateRequest(Builder builder) { super(builder); this.appId = builder.appId; this.backgroundColor = builder.backgroundColor; this.backgrounds = builder.backgrounds; this.clockWidgets = builder.clockWidgets; this.delayStopTime = builder.delayStopTime; this.enableM3u8DateTime = builder.enableM3u8DateTime; this.fileSplitInterval = builder.fileSplitInterval; this.formats = builder.formats; this.httpCallbackUrl = builder.httpCallbackUrl; this.layoutIds = builder.layoutIds; this.mediaEncode = builder.mediaEncode; this.mnsQueue = builder.mnsQueue; this.name = builder.name; this.ossBucket = builder.ossBucket; this.ossEndpoint = builder.ossEndpoint; this.ossFilePrefix = builder.ossFilePrefix; this.ownerId = builder.ownerId; this.taskProfile = builder.taskProfile; this.templateId = builder.templateId; this.watermarks = builder.watermarks; } public static Builder builder() { return new Builder(); } public static UpdateRecordTemplateRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return backgroundColor */ public Integer getBackgroundColor() { return this.backgroundColor; } /** * @return backgrounds */ public java.util.List<Backgrounds> getBackgrounds() { return this.backgrounds; } /** * @return clockWidgets */ public java.util.List<ClockWidgets> getClockWidgets() { return this.clockWidgets; } /** * @return delayStopTime */ public Integer getDelayStopTime() { return this.delayStopTime; } /** * @return enableM3u8DateTime */ public Boolean getEnableM3u8DateTime() { return this.enableM3u8DateTime; } /** * @return fileSplitInterval */ public Integer getFileSplitInterval() { return this.fileSplitInterval; } /** * @return formats */ public java.util.List<String> getFormats() { return this.formats; } /** * @return httpCallbackUrl */ public String getHttpCallbackUrl() { return this.httpCallbackUrl; } /** * @return layoutIds */ public java.util.List<Long> getLayoutIds() { return this.layoutIds; } /** * @return mediaEncode */ public Integer getMediaEncode() { return this.mediaEncode; } /** * @return mnsQueue */ public String getMnsQueue() { return this.mnsQueue; } /** * @return name */ public String getName() { return this.name; } /** * @return ossBucket */ public String getOssBucket() { return this.ossBucket; } /** * @return ossEndpoint */ public String getOssEndpoint() { return this.ossEndpoint; } /** * @return ossFilePrefix */ public String getOssFilePrefix() { return this.ossFilePrefix; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return taskProfile */ public String getTaskProfile() { return this.taskProfile; } /** * @return templateId */ public String getTemplateId() { return this.templateId; } /** * @return watermarks */ public java.util.List<Watermarks> getWatermarks() { return this.watermarks; } public static final class Builder extends Request.Builder<UpdateRecordTemplateRequest, Builder> { private String appId; private Integer backgroundColor; private java.util.List<Backgrounds> backgrounds; private java.util.List<ClockWidgets> clockWidgets; private Integer delayStopTime; private Boolean enableM3u8DateTime; private Integer fileSplitInterval; private java.util.List<String> formats; private String httpCallbackUrl; private java.util.List<Long> layoutIds; private Integer mediaEncode; private String mnsQueue; private String name; private String ossBucket; private String ossEndpoint; private String ossFilePrefix; private Long ownerId; private String taskProfile; private String templateId; private java.util.List<Watermarks> watermarks; private Builder() { super(); } private Builder(UpdateRecordTemplateRequest request) { super(request); this.appId = request.appId; this.backgroundColor = request.backgroundColor; this.backgrounds = request.backgrounds; this.clockWidgets = request.clockWidgets; this.delayStopTime = request.delayStopTime; this.enableM3u8DateTime = request.enableM3u8DateTime; this.fileSplitInterval = request.fileSplitInterval; this.formats = request.formats; this.httpCallbackUrl = request.httpCallbackUrl; this.layoutIds = request.layoutIds; this.mediaEncode = request.mediaEncode; this.mnsQueue = request.mnsQueue; this.name = request.name; this.ossBucket = request.ossBucket; this.ossEndpoint = request.ossEndpoint; this.ossFilePrefix = request.ossFilePrefix; this.ownerId = request.ownerId; this.taskProfile = request.taskProfile; this.templateId = request.templateId; this.watermarks = request.watermarks; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>yourAppId</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * BackgroundColor. */ public Builder backgroundColor(Integer backgroundColor) { this.putQueryParameter("BackgroundColor", backgroundColor); this.backgroundColor = backgroundColor; return this; } /** * Backgrounds. */ public Builder backgrounds(java.util.List<Backgrounds> backgrounds) { this.putQueryParameter("Backgrounds", backgrounds); this.backgrounds = backgrounds; return this; } /** * ClockWidgets. */ public Builder clockWidgets(java.util.List<ClockWidgets> clockWidgets) { this.putQueryParameter("ClockWidgets", clockWidgets); this.clockWidgets = clockWidgets; return this; } /** * DelayStopTime. */ public Builder delayStopTime(Integer delayStopTime) { this.putQueryParameter("DelayStopTime", delayStopTime); this.delayStopTime = delayStopTime; return this; } /** * EnableM3u8DateTime. */ public Builder enableM3u8DateTime(Boolean enableM3u8DateTime) { this.putQueryParameter("EnableM3u8DateTime", enableM3u8DateTime); this.enableM3u8DateTime = enableM3u8DateTime; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1800</p> */ public Builder fileSplitInterval(Integer fileSplitInterval) { this.putQueryParameter("FileSplitInterval", fileSplitInterval); this.fileSplitInterval = fileSplitInterval; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>mp4</p> */ public Builder formats(java.util.List<String> formats) { this.putQueryParameter("Formats", formats); this.formats = formats; return this; } /** * HttpCallbackUrl. */ public Builder httpCallbackUrl(String httpCallbackUrl) { this.putQueryParameter("HttpCallbackUrl", httpCallbackUrl); this.httpCallbackUrl = httpCallbackUrl; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1111</p> */ public Builder layoutIds(java.util.List<Long> layoutIds) { this.putQueryParameter("LayoutIds", layoutIds); this.layoutIds = layoutIds; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder mediaEncode(Integer mediaEncode) { this.putQueryParameter("MediaEncode", mediaEncode); this.mediaEncode = mediaEncode; return this; } /** * MnsQueue. */ public Builder mnsQueue(String mnsQueue) { this.putQueryParameter("MnsQueue", mnsQueue); this.mnsQueue = mnsQueue; return this; } /** * <p>This parameter is required.</p> */ public Builder name(String name) { this.putQueryParameter("Name", name); this.name = name; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>rtc-record-pre</p> */ public Builder ossBucket(String ossBucket) { this.putQueryParameter("OssBucket", ossBucket); this.ossBucket = ossBucket; return this; } /** * OssEndpoint. */ public Builder ossEndpoint(String ossEndpoint) { this.putQueryParameter("OssEndpoint", ossEndpoint); this.ossEndpoint = ossEndpoint; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>record/{AppId}/{ChannelId_TaskId}/{EscapedStartTime}_{EscapedEndTime}</p> */ public Builder ossFilePrefix(String ossFilePrefix) { this.putQueryParameter("OssFilePrefix", ossFilePrefix); this.ossFilePrefix = ossFilePrefix; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>4IN_1080P</p> */ public Builder taskProfile(String taskProfile) { this.putQueryParameter("TaskProfile", taskProfile); this.taskProfile = taskProfile; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>76dasgb****</p> */ public Builder templateId(String templateId) { this.putQueryParameter("TemplateId", templateId); this.templateId = templateId; return this; } /** * Watermarks. */ public Builder watermarks(java.util.List<Watermarks> watermarks) { this.putQueryParameter("Watermarks", watermarks); this.watermarks = watermarks; return this; } @Override public UpdateRecordTemplateRequest build() { return new UpdateRecordTemplateRequest(this); } } /** * * {@link UpdateRecordTemplateRequest} extends {@link TeaModel} * * <p>UpdateRecordTemplateRequest</p> */ public static class Backgrounds extends TeaModel { @com.aliyun.core.annotation.NameInMap("Display") private Integer display; @com.aliyun.core.annotation.NameInMap("Height") private Float height; @com.aliyun.core.annotation.NameInMap("Url") private String url; @com.aliyun.core.annotation.NameInMap("Width") private Float width; @com.aliyun.core.annotation.NameInMap("X") private Float x; @com.aliyun.core.annotation.NameInMap("Y") private Float y; @com.aliyun.core.annotation.NameInMap("ZOrder") private Integer zOrder; private Backgrounds(Builder builder) { this.display = builder.display; this.height = builder.height; this.url = builder.url; this.width = builder.width; this.x = builder.x; this.y = builder.y; this.zOrder = builder.zOrder; } public static Builder builder() { return new Builder(); } public static Backgrounds create() { return builder().build(); } /** * @return display */ public Integer getDisplay() { return this.display; } /** * @return height */ public Float getHeight() { return this.height; } /** * @return url */ public String getUrl() { return this.url; } /** * @return width */ public Float getWidth() { return this.width; } /** * @return x */ public Float getX() { return this.x; } /** * @return y */ public Float getY() { return this.y; } /** * @return zOrder */ public Integer getZOrder() { return this.zOrder; } public static final class Builder { private Integer display; private Float height; private String url; private Float width; private Float x; private Float y; private Integer zOrder; private Builder() { } private Builder(Backgrounds model) { this.display = model.display; this.height = model.height; this.url = model.url; this.width = model.width; this.x = model.x; this.y = model.y; this.zOrder = model.zOrder; } /** * Display. */ public Builder display(Integer display) { this.display = display; return this; } /** * Height. */ public Builder height(Float height) { this.height = height; return this; } /** * Url. */ public Builder url(String url) { this.url = url; return this; } /** * Width. */ public Builder width(Float width) { this.width = width; return this; } /** * X. */ public Builder x(Float x) { this.x = x; return this; } /** * Y. */ public Builder y(Float y) { this.y = y; return this; } /** * ZOrder. */ public Builder zOrder(Integer zOrder) { this.zOrder = zOrder; return this; } public Backgrounds build() { return new Backgrounds(this); } } } /** * * {@link UpdateRecordTemplateRequest} extends {@link TeaModel} * * <p>UpdateRecordTemplateRequest</p> */ public static class ClockWidgets extends TeaModel { @com.aliyun.core.annotation.NameInMap("FontColor") private Integer fontColor; @com.aliyun.core.annotation.NameInMap("FontSize") private Integer fontSize; @com.aliyun.core.annotation.NameInMap("FontType") private Integer fontType; @com.aliyun.core.annotation.NameInMap("X") private Float x; @com.aliyun.core.annotation.NameInMap("Y") private Float y; @com.aliyun.core.annotation.NameInMap("ZOrder") private Integer zOrder; private ClockWidgets(Builder builder) { this.fontColor = builder.fontColor; this.fontSize = builder.fontSize; this.fontType = builder.fontType; this.x = builder.x; this.y = builder.y; this.zOrder = builder.zOrder; } public static Builder builder() { return new Builder(); } public static ClockWidgets create() { return builder().build(); } /** * @return fontColor */ public Integer getFontColor() { return this.fontColor; } /** * @return fontSize */ public Integer getFontSize() { return this.fontSize; } /** * @return fontType */ public Integer getFontType() { return this.fontType; } /** * @return x */ public Float getX() { return this.x; } /** * @return y */ public Float getY() { return this.y; } /** * @return zOrder */ public Integer getZOrder() { return this.zOrder; } public static final class Builder { private Integer fontColor; private Integer fontSize; private Integer fontType; private Float x; private Float y; private Integer zOrder; private Builder() { } private Builder(ClockWidgets model) { this.fontColor = model.fontColor; this.fontSize = model.fontSize; this.fontType = model.fontType; this.x = model.x; this.y = model.y; this.zOrder = model.zOrder; } /** * FontColor. */ public Builder fontColor(Integer fontColor) { this.fontColor = fontColor; return this; } /** * FontSize. */ public Builder fontSize(Integer fontSize) { this.fontSize = fontSize; return this; } /** * FontType. */ public Builder fontType(Integer fontType) { this.fontType = fontType; return this; } /** * X. */ public Builder x(Float x) { this.x = x; return this; } /** * Y. */ public Builder y(Float y) { this.y = y; return this; } /** * ZOrder. */ public Builder zOrder(Integer zOrder) { this.zOrder = zOrder; return this; } public ClockWidgets build() { return new ClockWidgets(this); } } } /** * * {@link UpdateRecordTemplateRequest} extends {@link TeaModel} * * <p>UpdateRecordTemplateRequest</p> */ public static class Watermarks extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") private Float alpha; @com.aliyun.core.annotation.NameInMap("Display") private Integer display; @com.aliyun.core.annotation.NameInMap("Height") private Float height; @com.aliyun.core.annotation.NameInMap("Url") private String url; @com.aliyun.core.annotation.NameInMap("Width") private Float width; @com.aliyun.core.annotation.NameInMap("X") private Float x; @com.aliyun.core.annotation.NameInMap("Y") private Float y; @com.aliyun.core.annotation.NameInMap("ZOrder") private Integer zOrder; private Watermarks(Builder builder) { this.alpha = builder.alpha; this.display = builder.display; this.height = builder.height; this.url = builder.url; this.width = builder.width; this.x = builder.x; this.y = builder.y; this.zOrder = builder.zOrder; } public static Builder builder() { return new Builder(); } public static Watermarks create() { return builder().build(); } /** * @return alpha */ public Float getAlpha() { return this.alpha; } /** * @return display */ public Integer getDisplay() { return this.display; } /** * @return height */ public Float getHeight() { return this.height; } /** * @return url */ public String getUrl() { return this.url; } /** * @return width */ public Float getWidth() { return this.width; } /** * @return x */ public Float getX() { return this.x; } /** * @return y */ public Float getY() { return this.y; } /** * @return zOrder */ public Integer getZOrder() { return this.zOrder; } public static final class Builder { private Float alpha; private Integer display; private Float height; private String url; private Float width; private Float x; private Float y; private Integer zOrder; private Builder() { } private Builder(Watermarks model) { this.alpha = model.alpha; this.display = model.display; this.height = model.height; this.url = model.url; this.width = model.width; this.x = model.x; this.y = model.y; this.zOrder = model.zOrder; } /** * Alpha. */ public Builder alpha(Float alpha) { this.alpha = alpha; return this; } /** * Display. */ public Builder display(Integer display) { this.display = display; return this; } /** * Height. */ public Builder height(Float height) { this.height = height; return this; } /** * Url. */ public Builder url(String url) { this.url = url; return this; } /** * Width. */ public Builder width(Float width) { this.width = width; return this; } /** * X. */ public Builder x(Float x) { this.x = x; return this; } /** * Y. */ public Builder y(Float y) { this.y = y; return this; } /** * ZOrder. */ public Builder zOrder(Integer zOrder) { this.zOrder = zOrder; return this; } public Watermarks build() { return new Watermarks(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/UpdateRecordTemplateResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link UpdateRecordTemplateResponse} extends {@link TeaModel} * * <p>UpdateRecordTemplateResponse</p> */ public class UpdateRecordTemplateResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private UpdateRecordTemplateResponseBody body; private UpdateRecordTemplateResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static UpdateRecordTemplateResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public UpdateRecordTemplateResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<UpdateRecordTemplateResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(UpdateRecordTemplateResponseBody body); @Override UpdateRecordTemplateResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<UpdateRecordTemplateResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private UpdateRecordTemplateResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(UpdateRecordTemplateResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(UpdateRecordTemplateResponseBody body) { this.body = body; return this; } @Override public UpdateRecordTemplateResponse build() { return new UpdateRecordTemplateResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/UpdateRecordTemplateResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link UpdateRecordTemplateResponseBody} extends {@link TeaModel} * * <p>UpdateRecordTemplateResponseBody</p> */ public class UpdateRecordTemplateResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TemplateId") private String templateId; private UpdateRecordTemplateResponseBody(Builder builder) { this.requestId = builder.requestId; this.templateId = builder.templateId; } public static Builder builder() { return new Builder(); } public static UpdateRecordTemplateResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return templateId */ public String getTemplateId() { return this.templateId; } public static final class Builder { private String requestId; private String templateId; private Builder() { } private Builder(UpdateRecordTemplateResponseBody model) { this.requestId = model.requestId; this.templateId = model.templateId; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * TemplateId. */ public Builder templateId(String templateId) { this.templateId = templateId; return this; } public UpdateRecordTemplateResponseBody build() { return new UpdateRecordTemplateResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/UpdateStreamingOutRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link UpdateStreamingOutRequest} extends {@link RequestModel} * * <p>UpdateStreamingOutRequest</p> */ public class UpdateStreamingOutRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Backgrounds") private java.util.List<Backgrounds> backgrounds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("BgColor") private BgColor bgColor; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ChannelId") @com.aliyun.core.annotation.Validation(required = true) private String channelId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClockWidgets") private java.util.List<ClockWidgets> clockWidgets; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CropMode") private Integer cropMode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Images") private java.util.List<Images> images; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("LayoutSpecifiedUsers") private LayoutSpecifiedUsers layoutSpecifiedUsers; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Panes") private java.util.List<Panes> panes; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionColor") private RegionColor regionColor; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SpecMixedUserList") private java.util.List<String> specMixedUserList; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskId") @com.aliyun.core.annotation.Validation(required = true, maxLength = 55, minLength = 1) private String taskId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TemplateId") @com.aliyun.core.annotation.Validation(required = true, maxLength = 128, minLength = 1) private String templateId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Texts") private java.util.List<Texts> texts; private UpdateStreamingOutRequest(Builder builder) { super(builder); this.appId = builder.appId; this.backgrounds = builder.backgrounds; this.bgColor = builder.bgColor; this.channelId = builder.channelId; this.clockWidgets = builder.clockWidgets; this.cropMode = builder.cropMode; this.images = builder.images; this.layoutSpecifiedUsers = builder.layoutSpecifiedUsers; this.panes = builder.panes; this.regionColor = builder.regionColor; this.specMixedUserList = builder.specMixedUserList; this.taskId = builder.taskId; this.templateId = builder.templateId; this.texts = builder.texts; } public static Builder builder() { return new Builder(); } public static UpdateStreamingOutRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return backgrounds */ public java.util.List<Backgrounds> getBackgrounds() { return this.backgrounds; } /** * @return bgColor */ public BgColor getBgColor() { return this.bgColor; } /** * @return channelId */ public String getChannelId() { return this.channelId; } /** * @return clockWidgets */ public java.util.List<ClockWidgets> getClockWidgets() { return this.clockWidgets; } /** * @return cropMode */ public Integer getCropMode() { return this.cropMode; } /** * @return images */ public java.util.List<Images> getImages() { return this.images; } /** * @return layoutSpecifiedUsers */ public LayoutSpecifiedUsers getLayoutSpecifiedUsers() { return this.layoutSpecifiedUsers; } /** * @return panes */ public java.util.List<Panes> getPanes() { return this.panes; } /** * @return regionColor */ public RegionColor getRegionColor() { return this.regionColor; } /** * @return specMixedUserList */ public java.util.List<String> getSpecMixedUserList() { return this.specMixedUserList; } /** * @return taskId */ public String getTaskId() { return this.taskId; } /** * @return templateId */ public String getTemplateId() { return this.templateId; } /** * @return texts */ public java.util.List<Texts> getTexts() { return this.texts; } public static final class Builder extends Request.Builder<UpdateStreamingOutRequest, Builder> { private String appId; private java.util.List<Backgrounds> backgrounds; private BgColor bgColor; private String channelId; private java.util.List<ClockWidgets> clockWidgets; private Integer cropMode; private java.util.List<Images> images; private LayoutSpecifiedUsers layoutSpecifiedUsers; private java.util.List<Panes> panes; private RegionColor regionColor; private java.util.List<String> specMixedUserList; private String taskId; private String templateId; private java.util.List<Texts> texts; private Builder() { super(); } private Builder(UpdateStreamingOutRequest request) { super(request); this.appId = request.appId; this.backgrounds = request.backgrounds; this.bgColor = request.bgColor; this.channelId = request.channelId; this.clockWidgets = request.clockWidgets; this.cropMode = request.cropMode; this.images = request.images; this.layoutSpecifiedUsers = request.layoutSpecifiedUsers; this.panes = request.panes; this.regionColor = request.regionColor; this.specMixedUserList = request.specMixedUserList; this.taskId = request.taskId; this.templateId = request.templateId; this.texts = request.texts; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>eo85****</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * Backgrounds. */ public Builder backgrounds(java.util.List<Backgrounds> backgrounds) { this.putQueryParameter("Backgrounds", backgrounds); this.backgrounds = backgrounds; return this; } /** * BgColor. */ public Builder bgColor(BgColor bgColor) { this.putQueryParameter("BgColor", bgColor); this.bgColor = bgColor; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>testid</p> */ public Builder channelId(String channelId) { this.putQueryParameter("ChannelId", channelId); this.channelId = channelId; return this; } /** * ClockWidgets. */ public Builder clockWidgets(java.util.List<ClockWidgets> clockWidgets) { this.putQueryParameter("ClockWidgets", clockWidgets); this.clockWidgets = clockWidgets; return this; } /** * CropMode. */ public Builder cropMode(Integer cropMode) { this.putQueryParameter("CropMode", cropMode); this.cropMode = cropMode; return this; } /** * Images. */ public Builder images(java.util.List<Images> images) { this.putQueryParameter("Images", images); this.images = images; return this; } /** * LayoutSpecifiedUsers. */ public Builder layoutSpecifiedUsers(LayoutSpecifiedUsers layoutSpecifiedUsers) { String layoutSpecifiedUsersShrink = shrink(layoutSpecifiedUsers, "LayoutSpecifiedUsers", "json"); this.putQueryParameter("LayoutSpecifiedUsers", layoutSpecifiedUsersShrink); this.layoutSpecifiedUsers = layoutSpecifiedUsers; return this; } /** * Panes. */ public Builder panes(java.util.List<Panes> panes) { this.putQueryParameter("Panes", panes); this.panes = panes; return this; } /** * RegionColor. */ public Builder regionColor(RegionColor regionColor) { this.putQueryParameter("RegionColor", regionColor); this.regionColor = regionColor; return this; } /** * SpecMixedUserList. */ public Builder specMixedUserList(java.util.List<String> specMixedUserList) { this.putQueryParameter("SpecMixedUserList", specMixedUserList); this.specMixedUserList = specMixedUserList; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>123</p> */ public Builder taskId(String taskId) { this.putQueryParameter("TaskId", taskId); this.taskId = taskId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>567</p> */ public Builder templateId(String templateId) { this.putQueryParameter("TemplateId", templateId); this.templateId = templateId; return this; } /** * Texts. */ public Builder texts(java.util.List<Texts> texts) { this.putQueryParameter("Texts", texts); this.texts = texts; return this; } @Override public UpdateStreamingOutRequest build() { return new UpdateStreamingOutRequest(this); } } /** * * {@link UpdateStreamingOutRequest} extends {@link TeaModel} * * <p>UpdateStreamingOutRequest</p> */ public static class Backgrounds extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") @com.aliyun.core.annotation.Validation(maximum = 1) private Double alpha; @com.aliyun.core.annotation.NameInMap("BackgroundCropMode") private Integer backgroundCropMode; @com.aliyun.core.annotation.NameInMap("Height") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double height; @com.aliyun.core.annotation.NameInMap("Layer") @com.aliyun.core.annotation.Validation(maximum = 100) private Integer layer; @com.aliyun.core.annotation.NameInMap("Url") @com.aliyun.core.annotation.Validation(required = true, maxLength = 1024, minLength = 1) private String url; @com.aliyun.core.annotation.NameInMap("Width") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double width; @com.aliyun.core.annotation.NameInMap("X") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double x; @com.aliyun.core.annotation.NameInMap("Y") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double y; private Backgrounds(Builder builder) { this.alpha = builder.alpha; this.backgroundCropMode = builder.backgroundCropMode; this.height = builder.height; this.layer = builder.layer; this.url = builder.url; this.width = builder.width; this.x = builder.x; this.y = builder.y; } public static Builder builder() { return new Builder(); } public static Backgrounds create() { return builder().build(); } /** * @return alpha */ public Double getAlpha() { return this.alpha; } /** * @return backgroundCropMode */ public Integer getBackgroundCropMode() { return this.backgroundCropMode; } /** * @return height */ public Double getHeight() { return this.height; } /** * @return layer */ public Integer getLayer() { return this.layer; } /** * @return url */ public String getUrl() { return this.url; } /** * @return width */ public Double getWidth() { return this.width; } /** * @return x */ public Double getX() { return this.x; } /** * @return y */ public Double getY() { return this.y; } public static final class Builder { private Double alpha; private Integer backgroundCropMode; private Double height; private Integer layer; private String url; private Double width; private Double x; private Double y; private Builder() { } private Builder(Backgrounds model) { this.alpha = model.alpha; this.backgroundCropMode = model.backgroundCropMode; this.height = model.height; this.layer = model.layer; this.url = model.url; this.width = model.width; this.x = model.x; this.y = model.y; } /** * Alpha. */ public Builder alpha(Double alpha) { this.alpha = alpha; return this; } /** * BackgroundCropMode. */ public Builder backgroundCropMode(Integer backgroundCropMode) { this.backgroundCropMode = backgroundCropMode; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder height(Double height) { this.height = height; return this; } /** * Layer. */ public Builder layer(Integer layer) { this.layer = layer; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p><a href="https://aliyun.com/123.jpg">https://aliyun.com/123.jpg</a></p> */ public Builder url(String url) { this.url = url; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder width(Double width) { this.width = width; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder x(Double x) { this.x = x; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder y(Double y) { this.y = y; return this; } public Backgrounds build() { return new Backgrounds(this); } } } /** * * {@link UpdateStreamingOutRequest} extends {@link TeaModel} * * <p>UpdateStreamingOutRequest</p> */ public static class BgColor extends TeaModel { @com.aliyun.core.annotation.NameInMap("B") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer b; @com.aliyun.core.annotation.NameInMap("G") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer g; @com.aliyun.core.annotation.NameInMap("R") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer r; private BgColor(Builder builder) { this.b = builder.b; this.g = builder.g; this.r = builder.r; } public static Builder builder() { return new Builder(); } public static BgColor create() { return builder().build(); } /** * @return b */ public Integer getB() { return this.b; } /** * @return g */ public Integer getG() { return this.g; } /** * @return r */ public Integer getR() { return this.r; } public static final class Builder { private Integer b; private Integer g; private Integer r; private Builder() { } private Builder(BgColor model) { this.b = model.b; this.g = model.g; this.r = model.r; } /** * B. */ public Builder b(Integer b) { this.b = b; return this; } /** * G. */ public Builder g(Integer g) { this.g = g; return this; } /** * R. */ public Builder r(Integer r) { this.r = r; return this; } public BgColor build() { return new BgColor(this); } } } /** * * {@link UpdateStreamingOutRequest} extends {@link TeaModel} * * <p>UpdateStreamingOutRequest</p> */ public static class BoxColor extends TeaModel { @com.aliyun.core.annotation.NameInMap("B") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer b; @com.aliyun.core.annotation.NameInMap("G") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer g; @com.aliyun.core.annotation.NameInMap("R") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer r; private BoxColor(Builder builder) { this.b = builder.b; this.g = builder.g; this.r = builder.r; } public static Builder builder() { return new Builder(); } public static BoxColor create() { return builder().build(); } /** * @return b */ public Integer getB() { return this.b; } /** * @return g */ public Integer getG() { return this.g; } /** * @return r */ public Integer getR() { return this.r; } public static final class Builder { private Integer b; private Integer g; private Integer r; private Builder() { } private Builder(BoxColor model) { this.b = model.b; this.g = model.g; this.r = model.r; } /** * B. */ public Builder b(Integer b) { this.b = b; return this; } /** * G. */ public Builder g(Integer g) { this.g = g; return this; } /** * R. */ public Builder r(Integer r) { this.r = r; return this; } public BoxColor build() { return new BoxColor(this); } } } /** * * {@link UpdateStreamingOutRequest} extends {@link TeaModel} * * <p>UpdateStreamingOutRequest</p> */ public static class FontColor extends TeaModel { @com.aliyun.core.annotation.NameInMap("B") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer b; @com.aliyun.core.annotation.NameInMap("G") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer g; @com.aliyun.core.annotation.NameInMap("R") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer r; private FontColor(Builder builder) { this.b = builder.b; this.g = builder.g; this.r = builder.r; } public static Builder builder() { return new Builder(); } public static FontColor create() { return builder().build(); } /** * @return b */ public Integer getB() { return this.b; } /** * @return g */ public Integer getG() { return this.g; } /** * @return r */ public Integer getR() { return this.r; } public static final class Builder { private Integer b; private Integer g; private Integer r; private Builder() { } private Builder(FontColor model) { this.b = model.b; this.g = model.g; this.r = model.r; } /** * B. */ public Builder b(Integer b) { this.b = b; return this; } /** * G. */ public Builder g(Integer g) { this.g = g; return this; } /** * R. */ public Builder r(Integer r) { this.r = r; return this; } public FontColor build() { return new FontColor(this); } } } /** * * {@link UpdateStreamingOutRequest} extends {@link TeaModel} * * <p>UpdateStreamingOutRequest</p> */ public static class ClockWidgets extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") @com.aliyun.core.annotation.Validation(maximum = 1) private Double alpha; @com.aliyun.core.annotation.NameInMap("BoxAlpha") @com.aliyun.core.annotation.Validation(maximum = 1) private Double boxAlpha; @com.aliyun.core.annotation.NameInMap("BoxBorderw") @com.aliyun.core.annotation.Validation(maximum = 10, minimum = 1) private Integer boxBorderw; @com.aliyun.core.annotation.NameInMap("BoxColor") private BoxColor boxColor; @com.aliyun.core.annotation.NameInMap("Font") @com.aliyun.core.annotation.Validation(maximum = 9) private Integer font; @com.aliyun.core.annotation.NameInMap("FontColor") private FontColor fontColor; @com.aliyun.core.annotation.NameInMap("FontSize") @com.aliyun.core.annotation.Validation(maximum = 72) private Integer fontSize; @com.aliyun.core.annotation.NameInMap("HasBox") private Boolean hasBox; @com.aliyun.core.annotation.NameInMap("Layer") @com.aliyun.core.annotation.Validation(maximum = 100) private Integer layer; @com.aliyun.core.annotation.NameInMap("X") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double x; @com.aliyun.core.annotation.NameInMap("Y") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double y; @com.aliyun.core.annotation.NameInMap("Zone") @com.aliyun.core.annotation.Validation(maximum = 12) private Integer zone; private ClockWidgets(Builder builder) { this.alpha = builder.alpha; this.boxAlpha = builder.boxAlpha; this.boxBorderw = builder.boxBorderw; this.boxColor = builder.boxColor; this.font = builder.font; this.fontColor = builder.fontColor; this.fontSize = builder.fontSize; this.hasBox = builder.hasBox; this.layer = builder.layer; this.x = builder.x; this.y = builder.y; this.zone = builder.zone; } public static Builder builder() { return new Builder(); } public static ClockWidgets create() { return builder().build(); } /** * @return alpha */ public Double getAlpha() { return this.alpha; } /** * @return boxAlpha */ public Double getBoxAlpha() { return this.boxAlpha; } /** * @return boxBorderw */ public Integer getBoxBorderw() { return this.boxBorderw; } /** * @return boxColor */ public BoxColor getBoxColor() { return this.boxColor; } /** * @return font */ public Integer getFont() { return this.font; } /** * @return fontColor */ public FontColor getFontColor() { return this.fontColor; } /** * @return fontSize */ public Integer getFontSize() { return this.fontSize; } /** * @return hasBox */ public Boolean getHasBox() { return this.hasBox; } /** * @return layer */ public Integer getLayer() { return this.layer; } /** * @return x */ public Double getX() { return this.x; } /** * @return y */ public Double getY() { return this.y; } /** * @return zone */ public Integer getZone() { return this.zone; } public static final class Builder { private Double alpha; private Double boxAlpha; private Integer boxBorderw; private BoxColor boxColor; private Integer font; private FontColor fontColor; private Integer fontSize; private Boolean hasBox; private Integer layer; private Double x; private Double y; private Integer zone; private Builder() { } private Builder(ClockWidgets model) { this.alpha = model.alpha; this.boxAlpha = model.boxAlpha; this.boxBorderw = model.boxBorderw; this.boxColor = model.boxColor; this.font = model.font; this.fontColor = model.fontColor; this.fontSize = model.fontSize; this.hasBox = model.hasBox; this.layer = model.layer; this.x = model.x; this.y = model.y; this.zone = model.zone; } /** * Alpha. */ public Builder alpha(Double alpha) { this.alpha = alpha; return this; } /** * BoxAlpha. */ public Builder boxAlpha(Double boxAlpha) { this.boxAlpha = boxAlpha; return this; } /** * BoxBorderw. */ public Builder boxBorderw(Integer boxBorderw) { this.boxBorderw = boxBorderw; return this; } /** * BoxColor. */ public Builder boxColor(BoxColor boxColor) { this.boxColor = boxColor; return this; } /** * Font. */ public Builder font(Integer font) { this.font = font; return this; } /** * FontColor. */ public Builder fontColor(FontColor fontColor) { this.fontColor = fontColor; return this; } /** * FontSize. */ public Builder fontSize(Integer fontSize) { this.fontSize = fontSize; return this; } /** * HasBox. */ public Builder hasBox(Boolean hasBox) { this.hasBox = hasBox; return this; } /** * Layer. */ public Builder layer(Integer layer) { this.layer = layer; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder x(Double x) { this.x = x; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder y(Double y) { this.y = y; return this; } /** * Zone. */ public Builder zone(Integer zone) { this.zone = zone; return this; } public ClockWidgets build() { return new ClockWidgets(this); } } } /** * * {@link UpdateStreamingOutRequest} extends {@link TeaModel} * * <p>UpdateStreamingOutRequest</p> */ public static class Images extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") @com.aliyun.core.annotation.Validation(maximum = 1) private Double alpha; @com.aliyun.core.annotation.NameInMap("Height") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double height; @com.aliyun.core.annotation.NameInMap("ImageCropMode") private Integer imageCropMode; @com.aliyun.core.annotation.NameInMap("Layer") @com.aliyun.core.annotation.Validation(maximum = 100) private Integer layer; @com.aliyun.core.annotation.NameInMap("Url") @com.aliyun.core.annotation.Validation(required = true, maxLength = 1024, minLength = 1) private String url; @com.aliyun.core.annotation.NameInMap("Width") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double width; @com.aliyun.core.annotation.NameInMap("X") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double x; @com.aliyun.core.annotation.NameInMap("Y") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double y; private Images(Builder builder) { this.alpha = builder.alpha; this.height = builder.height; this.imageCropMode = builder.imageCropMode; this.layer = builder.layer; this.url = builder.url; this.width = builder.width; this.x = builder.x; this.y = builder.y; } public static Builder builder() { return new Builder(); } public static Images create() { return builder().build(); } /** * @return alpha */ public Double getAlpha() { return this.alpha; } /** * @return height */ public Double getHeight() { return this.height; } /** * @return imageCropMode */ public Integer getImageCropMode() { return this.imageCropMode; } /** * @return layer */ public Integer getLayer() { return this.layer; } /** * @return url */ public String getUrl() { return this.url; } /** * @return width */ public Double getWidth() { return this.width; } /** * @return x */ public Double getX() { return this.x; } /** * @return y */ public Double getY() { return this.y; } public static final class Builder { private Double alpha; private Double height; private Integer imageCropMode; private Integer layer; private String url; private Double width; private Double x; private Double y; private Builder() { } private Builder(Images model) { this.alpha = model.alpha; this.height = model.height; this.imageCropMode = model.imageCropMode; this.layer = model.layer; this.url = model.url; this.width = model.width; this.x = model.x; this.y = model.y; } /** * Alpha. */ public Builder alpha(Double alpha) { this.alpha = alpha; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder height(Double height) { this.height = height; return this; } /** * ImageCropMode. */ public Builder imageCropMode(Integer imageCropMode) { this.imageCropMode = imageCropMode; return this; } /** * Layer. */ public Builder layer(Integer layer) { this.layer = layer; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p><a href="https://aliyun.com/123.jpg">https://aliyun.com/123.jpg</a></p> */ public Builder url(String url) { this.url = url; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder width(Double width) { this.width = width; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder x(Double x) { this.x = x; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder y(Double y) { this.y = y; return this; } public Images build() { return new Images(this); } } } /** * * {@link UpdateStreamingOutRequest} extends {@link TeaModel} * * <p>UpdateStreamingOutRequest</p> */ public static class LayoutSpecifiedUsers extends TeaModel { @com.aliyun.core.annotation.NameInMap("Ids") @com.aliyun.core.annotation.Validation(required = true) private java.util.List<String> ids; @com.aliyun.core.annotation.NameInMap("Type") @com.aliyun.core.annotation.Validation(required = true) private String type; private LayoutSpecifiedUsers(Builder builder) { this.ids = builder.ids; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static LayoutSpecifiedUsers create() { return builder().build(); } /** * @return ids */ public java.util.List<String> getIds() { return this.ids; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private java.util.List<String> ids; private String type; private Builder() { } private Builder(LayoutSpecifiedUsers model) { this.ids = model.ids; this.type = model.type; } /** * <p>This parameter is required.</p> */ public Builder ids(java.util.List<String> ids) { this.ids = ids; return this; } /** * <p>This parameter is required.</p> */ public Builder type(String type) { this.type = type; return this; } public LayoutSpecifiedUsers build() { return new LayoutSpecifiedUsers(this); } } } /** * * {@link UpdateStreamingOutRequest} extends {@link TeaModel} * * <p>UpdateStreamingOutRequest</p> */ public static class PanesBackgrounds extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") @com.aliyun.core.annotation.Validation(maximum = 1) private Double alpha; @com.aliyun.core.annotation.NameInMap("Display") private String display; @com.aliyun.core.annotation.NameInMap("Height") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double height; @com.aliyun.core.annotation.NameInMap("Layer") @com.aliyun.core.annotation.Validation(maximum = 100) private Integer layer; @com.aliyun.core.annotation.NameInMap("PaneBackgroundCropMode") private Integer paneBackgroundCropMode; @com.aliyun.core.annotation.NameInMap("Url") @com.aliyun.core.annotation.Validation(required = true, maxLength = 1024, minLength = 1) private String url; @com.aliyun.core.annotation.NameInMap("Width") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double width; @com.aliyun.core.annotation.NameInMap("X") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double x; @com.aliyun.core.annotation.NameInMap("Y") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double y; private PanesBackgrounds(Builder builder) { this.alpha = builder.alpha; this.display = builder.display; this.height = builder.height; this.layer = builder.layer; this.paneBackgroundCropMode = builder.paneBackgroundCropMode; this.url = builder.url; this.width = builder.width; this.x = builder.x; this.y = builder.y; } public static Builder builder() { return new Builder(); } public static PanesBackgrounds create() { return builder().build(); } /** * @return alpha */ public Double getAlpha() { return this.alpha; } /** * @return display */ public String getDisplay() { return this.display; } /** * @return height */ public Double getHeight() { return this.height; } /** * @return layer */ public Integer getLayer() { return this.layer; } /** * @return paneBackgroundCropMode */ public Integer getPaneBackgroundCropMode() { return this.paneBackgroundCropMode; } /** * @return url */ public String getUrl() { return this.url; } /** * @return width */ public Double getWidth() { return this.width; } /** * @return x */ public Double getX() { return this.x; } /** * @return y */ public Double getY() { return this.y; } public static final class Builder { private Double alpha; private String display; private Double height; private Integer layer; private Integer paneBackgroundCropMode; private String url; private Double width; private Double x; private Double y; private Builder() { } private Builder(PanesBackgrounds model) { this.alpha = model.alpha; this.display = model.display; this.height = model.height; this.layer = model.layer; this.paneBackgroundCropMode = model.paneBackgroundCropMode; this.url = model.url; this.width = model.width; this.x = model.x; this.y = model.y; } /** * Alpha. */ public Builder alpha(Double alpha) { this.alpha = alpha; return this; } /** * Display. */ public Builder display(String display) { this.display = display; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder height(Double height) { this.height = height; return this; } /** * Layer. */ public Builder layer(Integer layer) { this.layer = layer; return this; } /** * PaneBackgroundCropMode. */ public Builder paneBackgroundCropMode(Integer paneBackgroundCropMode) { this.paneBackgroundCropMode = paneBackgroundCropMode; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p><a href="https://aliyun.com/123xx.jpg">https://aliyun.com/123xx.jpg</a></p> */ public Builder url(String url) { this.url = url; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder width(Double width) { this.width = width; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder x(Double x) { this.x = x; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder y(Double y) { this.y = y; return this; } public PanesBackgrounds build() { return new PanesBackgrounds(this); } } } /** * * {@link UpdateStreamingOutRequest} extends {@link TeaModel} * * <p>UpdateStreamingOutRequest</p> */ public static class PanesImages extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") @com.aliyun.core.annotation.Validation(maximum = 1) private Double alpha; @com.aliyun.core.annotation.NameInMap("Display") private String display; @com.aliyun.core.annotation.NameInMap("Height") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double height; @com.aliyun.core.annotation.NameInMap("Layer") @com.aliyun.core.annotation.Validation(maximum = 100) private Integer layer; @com.aliyun.core.annotation.NameInMap("PaneImageCropMode") private Integer paneImageCropMode; @com.aliyun.core.annotation.NameInMap("Url") @com.aliyun.core.annotation.Validation(required = true, maxLength = 1024, minLength = 1) private String url; @com.aliyun.core.annotation.NameInMap("Width") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double width; @com.aliyun.core.annotation.NameInMap("X") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double x; @com.aliyun.core.annotation.NameInMap("Y") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double y; private PanesImages(Builder builder) { this.alpha = builder.alpha; this.display = builder.display; this.height = builder.height; this.layer = builder.layer; this.paneImageCropMode = builder.paneImageCropMode; this.url = builder.url; this.width = builder.width; this.x = builder.x; this.y = builder.y; } public static Builder builder() { return new Builder(); } public static PanesImages create() { return builder().build(); } /** * @return alpha */ public Double getAlpha() { return this.alpha; } /** * @return display */ public String getDisplay() { return this.display; } /** * @return height */ public Double getHeight() { return this.height; } /** * @return layer */ public Integer getLayer() { return this.layer; } /** * @return paneImageCropMode */ public Integer getPaneImageCropMode() { return this.paneImageCropMode; } /** * @return url */ public String getUrl() { return this.url; } /** * @return width */ public Double getWidth() { return this.width; } /** * @return x */ public Double getX() { return this.x; } /** * @return y */ public Double getY() { return this.y; } public static final class Builder { private Double alpha; private String display; private Double height; private Integer layer; private Integer paneImageCropMode; private String url; private Double width; private Double x; private Double y; private Builder() { } private Builder(PanesImages model) { this.alpha = model.alpha; this.display = model.display; this.height = model.height; this.layer = model.layer; this.paneImageCropMode = model.paneImageCropMode; this.url = model.url; this.width = model.width; this.x = model.x; this.y = model.y; } /** * Alpha. */ public Builder alpha(Double alpha) { this.alpha = alpha; return this; } /** * Display. */ public Builder display(String display) { this.display = display; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder height(Double height) { this.height = height; return this; } /** * Layer. */ public Builder layer(Integer layer) { this.layer = layer; return this; } /** * PaneImageCropMode. */ public Builder paneImageCropMode(Integer paneImageCropMode) { this.paneImageCropMode = paneImageCropMode; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p><a href="https://aliyun.com/123.jpg">https://aliyun.com/123.jpg</a></p> */ public Builder url(String url) { this.url = url; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder width(Double width) { this.width = width; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder x(Double x) { this.x = x; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder y(Double y) { this.y = y; return this; } public PanesImages build() { return new PanesImages(this); } } } /** * * {@link UpdateStreamingOutRequest} extends {@link TeaModel} * * <p>UpdateStreamingOutRequest</p> */ public static class TextsBoxColor extends TeaModel { @com.aliyun.core.annotation.NameInMap("B") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer b; @com.aliyun.core.annotation.NameInMap("G") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer g; @com.aliyun.core.annotation.NameInMap("R") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer r; private TextsBoxColor(Builder builder) { this.b = builder.b; this.g = builder.g; this.r = builder.r; } public static Builder builder() { return new Builder(); } public static TextsBoxColor create() { return builder().build(); } /** * @return b */ public Integer getB() { return this.b; } /** * @return g */ public Integer getG() { return this.g; } /** * @return r */ public Integer getR() { return this.r; } public static final class Builder { private Integer b; private Integer g; private Integer r; private Builder() { } private Builder(TextsBoxColor model) { this.b = model.b; this.g = model.g; this.r = model.r; } /** * B. */ public Builder b(Integer b) { this.b = b; return this; } /** * G. */ public Builder g(Integer g) { this.g = g; return this; } /** * R. */ public Builder r(Integer r) { this.r = r; return this; } public TextsBoxColor build() { return new TextsBoxColor(this); } } } /** * * {@link UpdateStreamingOutRequest} extends {@link TeaModel} * * <p>UpdateStreamingOutRequest</p> */ public static class TextsFontColor extends TeaModel { @com.aliyun.core.annotation.NameInMap("B") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer b; @com.aliyun.core.annotation.NameInMap("G") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer g; @com.aliyun.core.annotation.NameInMap("R") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer r; private TextsFontColor(Builder builder) { this.b = builder.b; this.g = builder.g; this.r = builder.r; } public static Builder builder() { return new Builder(); } public static TextsFontColor create() { return builder().build(); } /** * @return b */ public Integer getB() { return this.b; } /** * @return g */ public Integer getG() { return this.g; } /** * @return r */ public Integer getR() { return this.r; } public static final class Builder { private Integer b; private Integer g; private Integer r; private Builder() { } private Builder(TextsFontColor model) { this.b = model.b; this.g = model.g; this.r = model.r; } /** * B. */ public Builder b(Integer b) { this.b = b; return this; } /** * G. */ public Builder g(Integer g) { this.g = g; return this; } /** * R. */ public Builder r(Integer r) { this.r = r; return this; } public TextsFontColor build() { return new TextsFontColor(this); } } } /** * * {@link UpdateStreamingOutRequest} extends {@link TeaModel} * * <p>UpdateStreamingOutRequest</p> */ public static class PanesTexts extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") @com.aliyun.core.annotation.Validation(maximum = 1) private Double alpha; @com.aliyun.core.annotation.NameInMap("BoxAlpha") @com.aliyun.core.annotation.Validation(maximum = 1) private Double boxAlpha; @com.aliyun.core.annotation.NameInMap("BoxBorderw") @com.aliyun.core.annotation.Validation(maximum = 10, minimum = 1) private Integer boxBorderw; @com.aliyun.core.annotation.NameInMap("BoxColor") private TextsBoxColor boxColor; @com.aliyun.core.annotation.NameInMap("Display") private String display; @com.aliyun.core.annotation.NameInMap("Font") @com.aliyun.core.annotation.Validation(maximum = 9) private Integer font; @com.aliyun.core.annotation.NameInMap("FontColor") private TextsFontColor fontColor; @com.aliyun.core.annotation.NameInMap("FontSize") @com.aliyun.core.annotation.Validation(maximum = 72) private Integer fontSize; @com.aliyun.core.annotation.NameInMap("HasBox") private Boolean hasBox; @com.aliyun.core.annotation.NameInMap("Layer") @com.aliyun.core.annotation.Validation(maximum = 100) private Integer layer; @com.aliyun.core.annotation.NameInMap("Texture") @com.aliyun.core.annotation.Validation(required = true, maxLength = 128, minLength = 1) private String texture; @com.aliyun.core.annotation.NameInMap("X") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double x; @com.aliyun.core.annotation.NameInMap("Y") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double y; private PanesTexts(Builder builder) { this.alpha = builder.alpha; this.boxAlpha = builder.boxAlpha; this.boxBorderw = builder.boxBorderw; this.boxColor = builder.boxColor; this.display = builder.display; this.font = builder.font; this.fontColor = builder.fontColor; this.fontSize = builder.fontSize; this.hasBox = builder.hasBox; this.layer = builder.layer; this.texture = builder.texture; this.x = builder.x; this.y = builder.y; } public static Builder builder() { return new Builder(); } public static PanesTexts create() { return builder().build(); } /** * @return alpha */ public Double getAlpha() { return this.alpha; } /** * @return boxAlpha */ public Double getBoxAlpha() { return this.boxAlpha; } /** * @return boxBorderw */ public Integer getBoxBorderw() { return this.boxBorderw; } /** * @return boxColor */ public TextsBoxColor getBoxColor() { return this.boxColor; } /** * @return display */ public String getDisplay() { return this.display; } /** * @return font */ public Integer getFont() { return this.font; } /** * @return fontColor */ public TextsFontColor getFontColor() { return this.fontColor; } /** * @return fontSize */ public Integer getFontSize() { return this.fontSize; } /** * @return hasBox */ public Boolean getHasBox() { return this.hasBox; } /** * @return layer */ public Integer getLayer() { return this.layer; } /** * @return texture */ public String getTexture() { return this.texture; } /** * @return x */ public Double getX() { return this.x; } /** * @return y */ public Double getY() { return this.y; } public static final class Builder { private Double alpha; private Double boxAlpha; private Integer boxBorderw; private TextsBoxColor boxColor; private String display; private Integer font; private TextsFontColor fontColor; private Integer fontSize; private Boolean hasBox; private Integer layer; private String texture; private Double x; private Double y; private Builder() { } private Builder(PanesTexts model) { this.alpha = model.alpha; this.boxAlpha = model.boxAlpha; this.boxBorderw = model.boxBorderw; this.boxColor = model.boxColor; this.display = model.display; this.font = model.font; this.fontColor = model.fontColor; this.fontSize = model.fontSize; this.hasBox = model.hasBox; this.layer = model.layer; this.texture = model.texture; this.x = model.x; this.y = model.y; } /** * Alpha. */ public Builder alpha(Double alpha) { this.alpha = alpha; return this; } /** * BoxAlpha. */ public Builder boxAlpha(Double boxAlpha) { this.boxAlpha = boxAlpha; return this; } /** * BoxBorderw. */ public Builder boxBorderw(Integer boxBorderw) { this.boxBorderw = boxBorderw; return this; } /** * BoxColor. */ public Builder boxColor(TextsBoxColor boxColor) { this.boxColor = boxColor; return this; } /** * Display. */ public Builder display(String display) { this.display = display; return this; } /** * Font. */ public Builder font(Integer font) { this.font = font; return this; } /** * FontColor. */ public Builder fontColor(TextsFontColor fontColor) { this.fontColor = fontColor; return this; } /** * FontSize. */ public Builder fontSize(Integer fontSize) { this.fontSize = fontSize; return this; } /** * HasBox. */ public Builder hasBox(Boolean hasBox) { this.hasBox = hasBox; return this; } /** * Layer. */ public Builder layer(Integer layer) { this.layer = layer; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>文字水印</p> */ public Builder texture(String texture) { this.texture = texture; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder x(Double x) { this.x = x; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder y(Double y) { this.y = y; return this; } public PanesTexts build() { return new PanesTexts(this); } } } /** * * {@link UpdateStreamingOutRequest} extends {@link TeaModel} * * <p>UpdateStreamingOutRequest</p> */ public static class Whiteboard extends TeaModel { @com.aliyun.core.annotation.NameInMap("WhiteboardId") private String whiteboardId; private Whiteboard(Builder builder) { this.whiteboardId = builder.whiteboardId; } public static Builder builder() { return new Builder(); } public static Whiteboard create() { return builder().build(); } /** * @return whiteboardId */ public String getWhiteboardId() { return this.whiteboardId; } public static final class Builder { private String whiteboardId; private Builder() { } private Builder(Whiteboard model) { this.whiteboardId = model.whiteboardId; } /** * WhiteboardId. */ public Builder whiteboardId(String whiteboardId) { this.whiteboardId = whiteboardId; return this; } public Whiteboard build() { return new Whiteboard(this); } } } /** * * {@link UpdateStreamingOutRequest} extends {@link TeaModel} * * <p>UpdateStreamingOutRequest</p> */ public static class Panes extends TeaModel { @com.aliyun.core.annotation.NameInMap("Backgrounds") private java.util.List<PanesBackgrounds> backgrounds; @com.aliyun.core.annotation.NameInMap("Images") private java.util.List<PanesImages> images; @com.aliyun.core.annotation.NameInMap("PaneCropMode") private Integer paneCropMode; @com.aliyun.core.annotation.NameInMap("PaneId") @com.aliyun.core.annotation.Validation(maximum = 15) private Integer paneId; @com.aliyun.core.annotation.NameInMap("ReservePaneForOfflineUser") private Boolean reservePaneForOfflineUser; @com.aliyun.core.annotation.NameInMap("Source") private String source; @com.aliyun.core.annotation.NameInMap("SourceType") private String sourceType; @com.aliyun.core.annotation.NameInMap("Texts") private java.util.List<PanesTexts> texts; @com.aliyun.core.annotation.NameInMap("VideoOrder") private String videoOrder; @com.aliyun.core.annotation.NameInMap("Whiteboard") private Whiteboard whiteboard; private Panes(Builder builder) { this.backgrounds = builder.backgrounds; this.images = builder.images; this.paneCropMode = builder.paneCropMode; this.paneId = builder.paneId; this.reservePaneForOfflineUser = builder.reservePaneForOfflineUser; this.source = builder.source; this.sourceType = builder.sourceType; this.texts = builder.texts; this.videoOrder = builder.videoOrder; this.whiteboard = builder.whiteboard; } public static Builder builder() { return new Builder(); } public static Panes create() { return builder().build(); } /** * @return backgrounds */ public java.util.List<PanesBackgrounds> getBackgrounds() { return this.backgrounds; } /** * @return images */ public java.util.List<PanesImages> getImages() { return this.images; } /** * @return paneCropMode */ public Integer getPaneCropMode() { return this.paneCropMode; } /** * @return paneId */ public Integer getPaneId() { return this.paneId; } /** * @return reservePaneForOfflineUser */ public Boolean getReservePaneForOfflineUser() { return this.reservePaneForOfflineUser; } /** * @return source */ public String getSource() { return this.source; } /** * @return sourceType */ public String getSourceType() { return this.sourceType; } /** * @return texts */ public java.util.List<PanesTexts> getTexts() { return this.texts; } /** * @return videoOrder */ public String getVideoOrder() { return this.videoOrder; } /** * @return whiteboard */ public Whiteboard getWhiteboard() { return this.whiteboard; } public static final class Builder { private java.util.List<PanesBackgrounds> backgrounds; private java.util.List<PanesImages> images; private Integer paneCropMode; private Integer paneId; private Boolean reservePaneForOfflineUser; private String source; private String sourceType; private java.util.List<PanesTexts> texts; private String videoOrder; private Whiteboard whiteboard; private Builder() { } private Builder(Panes model) { this.backgrounds = model.backgrounds; this.images = model.images; this.paneCropMode = model.paneCropMode; this.paneId = model.paneId; this.reservePaneForOfflineUser = model.reservePaneForOfflineUser; this.source = model.source; this.sourceType = model.sourceType; this.texts = model.texts; this.videoOrder = model.videoOrder; this.whiteboard = model.whiteboard; } /** * Backgrounds. */ public Builder backgrounds(java.util.List<PanesBackgrounds> backgrounds) { this.backgrounds = backgrounds; return this; } /** * Images. */ public Builder images(java.util.List<PanesImages> images) { this.images = images; return this; } /** * PaneCropMode. */ public Builder paneCropMode(Integer paneCropMode) { this.paneCropMode = paneCropMode; return this; } /** * PaneId. */ public Builder paneId(Integer paneId) { this.paneId = paneId; return this; } /** * ReservePaneForOfflineUser. */ public Builder reservePaneForOfflineUser(Boolean reservePaneForOfflineUser) { this.reservePaneForOfflineUser = reservePaneForOfflineUser; return this; } /** * Source. */ public Builder source(String source) { this.source = source; return this; } /** * SourceType. */ public Builder sourceType(String sourceType) { this.sourceType = sourceType; return this; } /** * Texts. */ public Builder texts(java.util.List<PanesTexts> texts) { this.texts = texts; return this; } /** * VideoOrder. */ public Builder videoOrder(String videoOrder) { this.videoOrder = videoOrder; return this; } /** * Whiteboard. */ public Builder whiteboard(Whiteboard whiteboard) { this.whiteboard = whiteboard; return this; } public Panes build() { return new Panes(this); } } } /** * * {@link UpdateStreamingOutRequest} extends {@link TeaModel} * * <p>UpdateStreamingOutRequest</p> */ public static class RegionColor extends TeaModel { @com.aliyun.core.annotation.NameInMap("B") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer b; @com.aliyun.core.annotation.NameInMap("G") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer g; @com.aliyun.core.annotation.NameInMap("R") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer r; private RegionColor(Builder builder) { this.b = builder.b; this.g = builder.g; this.r = builder.r; } public static Builder builder() { return new Builder(); } public static RegionColor create() { return builder().build(); } /** * @return b */ public Integer getB() { return this.b; } /** * @return g */ public Integer getG() { return this.g; } /** * @return r */ public Integer getR() { return this.r; } public static final class Builder { private Integer b; private Integer g; private Integer r; private Builder() { } private Builder(RegionColor model) { this.b = model.b; this.g = model.g; this.r = model.r; } /** * B. */ public Builder b(Integer b) { this.b = b; return this; } /** * G. */ public Builder g(Integer g) { this.g = g; return this; } /** * R. */ public Builder r(Integer r) { this.r = r; return this; } public RegionColor build() { return new RegionColor(this); } } } /** * * {@link UpdateStreamingOutRequest} extends {@link TeaModel} * * <p>UpdateStreamingOutRequest</p> */ public static class UpdateStreamingOutRequestTextsBoxColor extends TeaModel { @com.aliyun.core.annotation.NameInMap("B") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer b; @com.aliyun.core.annotation.NameInMap("G") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer g; @com.aliyun.core.annotation.NameInMap("R") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer r; private UpdateStreamingOutRequestTextsBoxColor(Builder builder) { this.b = builder.b; this.g = builder.g; this.r = builder.r; } public static Builder builder() { return new Builder(); } public static UpdateStreamingOutRequestTextsBoxColor create() { return builder().build(); } /** * @return b */ public Integer getB() { return this.b; } /** * @return g */ public Integer getG() { return this.g; } /** * @return r */ public Integer getR() { return this.r; } public static final class Builder { private Integer b; private Integer g; private Integer r; private Builder() { } private Builder(UpdateStreamingOutRequestTextsBoxColor model) { this.b = model.b; this.g = model.g; this.r = model.r; } /** * B. */ public Builder b(Integer b) { this.b = b; return this; } /** * G. */ public Builder g(Integer g) { this.g = g; return this; } /** * R. */ public Builder r(Integer r) { this.r = r; return this; } public UpdateStreamingOutRequestTextsBoxColor build() { return new UpdateStreamingOutRequestTextsBoxColor(this); } } } /** * * {@link UpdateStreamingOutRequest} extends {@link TeaModel} * * <p>UpdateStreamingOutRequest</p> */ public static class UpdateStreamingOutRequestTextsFontColor extends TeaModel { @com.aliyun.core.annotation.NameInMap("B") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer b; @com.aliyun.core.annotation.NameInMap("G") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer g; @com.aliyun.core.annotation.NameInMap("R") @com.aliyun.core.annotation.Validation(maximum = 255) private Integer r; private UpdateStreamingOutRequestTextsFontColor(Builder builder) { this.b = builder.b; this.g = builder.g; this.r = builder.r; } public static Builder builder() { return new Builder(); } public static UpdateStreamingOutRequestTextsFontColor create() { return builder().build(); } /** * @return b */ public Integer getB() { return this.b; } /** * @return g */ public Integer getG() { return this.g; } /** * @return r */ public Integer getR() { return this.r; } public static final class Builder { private Integer b; private Integer g; private Integer r; private Builder() { } private Builder(UpdateStreamingOutRequestTextsFontColor model) { this.b = model.b; this.g = model.g; this.r = model.r; } /** * B. */ public Builder b(Integer b) { this.b = b; return this; } /** * G. */ public Builder g(Integer g) { this.g = g; return this; } /** * R. */ public Builder r(Integer r) { this.r = r; return this; } public UpdateStreamingOutRequestTextsFontColor build() { return new UpdateStreamingOutRequestTextsFontColor(this); } } } /** * * {@link UpdateStreamingOutRequest} extends {@link TeaModel} * * <p>UpdateStreamingOutRequest</p> */ public static class Texts extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alpha") @com.aliyun.core.annotation.Validation(maximum = 1) private Double alpha; @com.aliyun.core.annotation.NameInMap("BoxAlpha") @com.aliyun.core.annotation.Validation(maximum = 1) private Double boxAlpha; @com.aliyun.core.annotation.NameInMap("BoxBorderw") @com.aliyun.core.annotation.Validation(maximum = 10, minimum = 1) private Integer boxBorderw; @com.aliyun.core.annotation.NameInMap("BoxColor") private UpdateStreamingOutRequestTextsBoxColor boxColor; @com.aliyun.core.annotation.NameInMap("Font") @com.aliyun.core.annotation.Validation(maximum = 9) private Integer font; @com.aliyun.core.annotation.NameInMap("FontColor") private UpdateStreamingOutRequestTextsFontColor fontColor; @com.aliyun.core.annotation.NameInMap("FontSize") @com.aliyun.core.annotation.Validation(maximum = 72) private Integer fontSize; @com.aliyun.core.annotation.NameInMap("HasBox") private Boolean hasBox; @com.aliyun.core.annotation.NameInMap("Layer") @com.aliyun.core.annotation.Validation(maximum = 100) private Integer layer; @com.aliyun.core.annotation.NameInMap("Texture") @com.aliyun.core.annotation.Validation(required = true, maxLength = 128, minLength = 1) private String texture; @com.aliyun.core.annotation.NameInMap("X") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double x; @com.aliyun.core.annotation.NameInMap("Y") @com.aliyun.core.annotation.Validation(required = true, maximum = 1) private Double y; private Texts(Builder builder) { this.alpha = builder.alpha; this.boxAlpha = builder.boxAlpha; this.boxBorderw = builder.boxBorderw; this.boxColor = builder.boxColor; this.font = builder.font; this.fontColor = builder.fontColor; this.fontSize = builder.fontSize; this.hasBox = builder.hasBox; this.layer = builder.layer; this.texture = builder.texture; this.x = builder.x; this.y = builder.y; } public static Builder builder() { return new Builder(); } public static Texts create() { return builder().build(); } /** * @return alpha */ public Double getAlpha() { return this.alpha; } /** * @return boxAlpha */ public Double getBoxAlpha() { return this.boxAlpha; } /** * @return boxBorderw */ public Integer getBoxBorderw() { return this.boxBorderw; } /** * @return boxColor */ public UpdateStreamingOutRequestTextsBoxColor getBoxColor() { return this.boxColor; } /** * @return font */ public Integer getFont() { return this.font; } /** * @return fontColor */ public UpdateStreamingOutRequestTextsFontColor getFontColor() { return this.fontColor; } /** * @return fontSize */ public Integer getFontSize() { return this.fontSize; } /** * @return hasBox */ public Boolean getHasBox() { return this.hasBox; } /** * @return layer */ public Integer getLayer() { return this.layer; } /** * @return texture */ public String getTexture() { return this.texture; } /** * @return x */ public Double getX() { return this.x; } /** * @return y */ public Double getY() { return this.y; } public static final class Builder { private Double alpha; private Double boxAlpha; private Integer boxBorderw; private UpdateStreamingOutRequestTextsBoxColor boxColor; private Integer font; private UpdateStreamingOutRequestTextsFontColor fontColor; private Integer fontSize; private Boolean hasBox; private Integer layer; private String texture; private Double x; private Double y; private Builder() { } private Builder(Texts model) { this.alpha = model.alpha; this.boxAlpha = model.boxAlpha; this.boxBorderw = model.boxBorderw; this.boxColor = model.boxColor; this.font = model.font; this.fontColor = model.fontColor; this.fontSize = model.fontSize; this.hasBox = model.hasBox; this.layer = model.layer; this.texture = model.texture; this.x = model.x; this.y = model.y; } /** * Alpha. */ public Builder alpha(Double alpha) { this.alpha = alpha; return this; } /** * BoxAlpha. */ public Builder boxAlpha(Double boxAlpha) { this.boxAlpha = boxAlpha; return this; } /** * BoxBorderw. */ public Builder boxBorderw(Integer boxBorderw) { this.boxBorderw = boxBorderw; return this; } /** * BoxColor. */ public Builder boxColor(UpdateStreamingOutRequestTextsBoxColor boxColor) { this.boxColor = boxColor; return this; } /** * Font. */ public Builder font(Integer font) { this.font = font; return this; } /** * FontColor. */ public Builder fontColor(UpdateStreamingOutRequestTextsFontColor fontColor) { this.fontColor = fontColor; return this; } /** * FontSize. */ public Builder fontSize(Integer fontSize) { this.fontSize = fontSize; return this; } /** * HasBox. */ public Builder hasBox(Boolean hasBox) { this.hasBox = hasBox; return this; } /** * Layer. */ public Builder layer(Integer layer) { this.layer = layer; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>文字水印</p> */ public Builder texture(String texture) { this.texture = texture; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder x(Double x) { this.x = x; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder y(Double y) { this.y = y; return this; } public Texts build() { return new Texts(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/UpdateStreamingOutResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link UpdateStreamingOutResponse} extends {@link TeaModel} * * <p>UpdateStreamingOutResponse</p> */ public class UpdateStreamingOutResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private UpdateStreamingOutResponseBody body; private UpdateStreamingOutResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static UpdateStreamingOutResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public UpdateStreamingOutResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<UpdateStreamingOutResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(UpdateStreamingOutResponseBody body); @Override UpdateStreamingOutResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<UpdateStreamingOutResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private UpdateStreamingOutResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(UpdateStreamingOutResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(UpdateStreamingOutResponseBody body) { this.body = body; return this; } @Override public UpdateStreamingOutResponse build() { return new UpdateStreamingOutResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111
java-sources/com/aliyun/alibabacloud-rtc20180111/5.0.11/com/aliyun/sdk/service/rtc20180111/models/UpdateStreamingOutResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rtc20180111.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link UpdateStreamingOutResponseBody} extends {@link TeaModel} * * <p>UpdateStreamingOutResponseBody</p> */ public class UpdateStreamingOutResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; private UpdateStreamingOutResponseBody(Builder builder) { this.requestId = builder.requestId; this.taskId = builder.taskId; } public static Builder builder() { return new Builder(); } public static UpdateStreamingOutResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return taskId */ public String getTaskId() { return this.taskId; } public static final class Builder { private String requestId; private String taskId; private Builder() { } private Builder(UpdateStreamingOutResponseBody model) { this.requestId = model.requestId; this.taskId = model.taskId; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * TaskId. */ public Builder taskId(String taskId) { this.taskId = taskId; return this; } public UpdateStreamingOutResponseBody build() { return new UpdateStreamingOutResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/AsyncClient.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506; import com.aliyun.core.utils.SdkAutoCloseable; import com.aliyun.sdk.service.sae20190506.models.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import java.util.concurrent.CompletableFuture; public interface AsyncClient extends SdkAutoCloseable { static DefaultAsyncClientBuilder builder() { return new DefaultAsyncClientBuilder(); } static AsyncClient create() { return builder().build(); } /** * @param request the request parameters of AbortAndRollbackChangeOrder AbortAndRollbackChangeOrderRequest * @return AbortAndRollbackChangeOrderResponse */ CompletableFuture<AbortAndRollbackChangeOrderResponse> abortAndRollbackChangeOrder(AbortAndRollbackChangeOrderRequest request); /** * @param request the request parameters of AbortChangeOrder AbortChangeOrderRequest * @return AbortChangeOrderResponse */ CompletableFuture<AbortChangeOrderResponse> abortChangeOrder(AbortChangeOrderRequest request); /** * @param request the request parameters of BatchStartApplications BatchStartApplicationsRequest * @return BatchStartApplicationsResponse */ CompletableFuture<BatchStartApplicationsResponse> batchStartApplications(BatchStartApplicationsRequest request); /** * @param request the request parameters of BatchStopApplications BatchStopApplicationsRequest * @return BatchStopApplicationsResponse */ CompletableFuture<BatchStopApplicationsResponse> batchStopApplications(BatchStopApplicationsRequest request); /** * @param request the request parameters of BindNlb BindNlbRequest * @return BindNlbResponse */ CompletableFuture<BindNlbResponse> bindNlb(BindNlbRequest request); /** * @param request the request parameters of BindSlb BindSlbRequest * @return BindSlbResponse */ CompletableFuture<BindSlbResponse> bindSlb(BindSlbRequest request); /** * @param request the request parameters of ConfirmPipelineBatch ConfirmPipelineBatchRequest * @return ConfirmPipelineBatchResponse */ CompletableFuture<ConfirmPipelineBatchResponse> confirmPipelineBatch(ConfirmPipelineBatchRequest request); /** * @param request the request parameters of CreateApplication CreateApplicationRequest * @return CreateApplicationResponse */ CompletableFuture<CreateApplicationResponse> createApplication(CreateApplicationRequest request); /** * <b>description</b> : * <p>The HTTP status code. Take note of the following rules:</p> * <ul> * <li><strong>2xx</strong>: The call was successful.</li> * <li><strong>3xx</strong>: The call was redirected.</li> * <li><strong>4xx</strong>: The call failed.</li> * <li><strong>5xx</strong>: A server error occurred.</li> * </ul> * * @param request the request parameters of CreateApplicationScalingRule CreateApplicationScalingRuleRequest * @return CreateApplicationScalingRuleResponse */ CompletableFuture<CreateApplicationScalingRuleResponse> createApplicationScalingRule(CreateApplicationScalingRuleRequest request); /** * @param request the request parameters of CreateConfigMap CreateConfigMapRequest * @return CreateConfigMapResponse */ CompletableFuture<CreateConfigMapResponse> createConfigMap(CreateConfigMapRequest request); /** * <b>description</b> : * <blockquote> * <p> You can configure only one canary release rule for each application.</p> * </blockquote> * * @param request the request parameters of CreateGreyTagRoute CreateGreyTagRouteRequest * @return CreateGreyTagRouteResponse */ CompletableFuture<CreateGreyTagRouteResponse> createGreyTagRoute(CreateGreyTagRouteRequest request); /** * @param request the request parameters of CreateIngress CreateIngressRequest * @return CreateIngressResponse */ CompletableFuture<CreateIngressResponse> createIngress(CreateIngressRequest request); /** * @param request the request parameters of CreateJob CreateJobRequest * @return CreateJobResponse */ CompletableFuture<CreateJobResponse> createJob(CreateJobRequest request); /** * @param request the request parameters of CreateNamespace CreateNamespaceRequest * @return CreateNamespaceResponse */ CompletableFuture<CreateNamespaceResponse> createNamespace(CreateNamespaceRequest request); /** * @param request the request parameters of CreateOrUpdateSwimmingLane CreateOrUpdateSwimmingLaneRequest * @return CreateOrUpdateSwimmingLaneResponse */ CompletableFuture<CreateOrUpdateSwimmingLaneResponse> createOrUpdateSwimmingLane(CreateOrUpdateSwimmingLaneRequest request); /** * @param request the request parameters of CreateOrUpdateSwimmingLaneGroup CreateOrUpdateSwimmingLaneGroupRequest * @return CreateOrUpdateSwimmingLaneGroupResponse */ CompletableFuture<CreateOrUpdateSwimmingLaneGroupResponse> createOrUpdateSwimmingLaneGroup(CreateOrUpdateSwimmingLaneGroupRequest request); /** * @param request the request parameters of CreateSecret CreateSecretRequest * @return CreateSecretResponse */ CompletableFuture<CreateSecretResponse> createSecret(CreateSecretRequest request); /** * <b>description</b> : * <p>Call the CreateWebApplication operation to create a web application.</p> * * @param request the request parameters of CreateWebApplication CreateWebApplicationRequest * @return CreateWebApplicationResponse */ CompletableFuture<CreateWebApplicationResponse> createWebApplication(CreateWebApplicationRequest request); /** * <b>description</b> : * <p>Create a custom domain name for the web application.</p> * * @param request the request parameters of CreateWebCustomDomain CreateWebCustomDomainRequest * @return CreateWebCustomDomainResponse */ CompletableFuture<CreateWebCustomDomainResponse> createWebCustomDomain(CreateWebCustomDomainRequest request); /** * @param request the request parameters of DeleteApplication DeleteApplicationRequest * @return DeleteApplicationResponse */ CompletableFuture<DeleteApplicationResponse> deleteApplication(DeleteApplicationRequest request); /** * @param request the request parameters of DeleteApplicationScalingRule DeleteApplicationScalingRuleRequest * @return DeleteApplicationScalingRuleResponse */ CompletableFuture<DeleteApplicationScalingRuleResponse> deleteApplicationScalingRule(DeleteApplicationScalingRuleRequest request); /** * @param request the request parameters of DeleteConfigMap DeleteConfigMapRequest * @return DeleteConfigMapResponse */ CompletableFuture<DeleteConfigMapResponse> deleteConfigMap(DeleteConfigMapRequest request); /** * @param request the request parameters of DeleteGreyTagRoute DeleteGreyTagRouteRequest * @return DeleteGreyTagRouteResponse */ CompletableFuture<DeleteGreyTagRouteResponse> deleteGreyTagRoute(DeleteGreyTagRouteRequest request); /** * @param request the request parameters of DeleteHistoryJob DeleteHistoryJobRequest * @return DeleteHistoryJobResponse */ CompletableFuture<DeleteHistoryJobResponse> deleteHistoryJob(DeleteHistoryJobRequest request); /** * @param request the request parameters of DeleteIngress DeleteIngressRequest * @return DeleteIngressResponse */ CompletableFuture<DeleteIngressResponse> deleteIngress(DeleteIngressRequest request); /** * @param request the request parameters of DeleteInstances DeleteInstancesRequest * @return DeleteInstancesResponse */ CompletableFuture<DeleteInstancesResponse> deleteInstances(DeleteInstancesRequest request); /** * @param request the request parameters of DeleteJob DeleteJobRequest * @return DeleteJobResponse */ CompletableFuture<DeleteJobResponse> deleteJob(DeleteJobRequest request); /** * @param request the request parameters of DeleteNamespace DeleteNamespaceRequest * @return DeleteNamespaceResponse */ CompletableFuture<DeleteNamespaceResponse> deleteNamespace(DeleteNamespaceRequest request); /** * @param request the request parameters of DeleteSecret DeleteSecretRequest * @return DeleteSecretResponse */ CompletableFuture<DeleteSecretResponse> deleteSecret(DeleteSecretRequest request); /** * @param request the request parameters of DeleteSwimmingLaneGroup DeleteSwimmingLaneGroupRequest * @return DeleteSwimmingLaneGroupResponse */ CompletableFuture<DeleteSwimmingLaneGroupResponse> deleteSwimmingLaneGroup(DeleteSwimmingLaneGroupRequest request); /** * <b>description</b> : * <p>Call the DeleteWebApplication operation to delete a web application.</p> * * @param request the request parameters of DeleteWebApplication DeleteWebApplicationRequest * @return DeleteWebApplicationResponse */ CompletableFuture<DeleteWebApplicationResponse> deleteWebApplication(DeleteWebApplicationRequest request); /** * <b>description</b> : * <p>Delete a web application version.</p> * * @param request the request parameters of DeleteWebApplicationRevision DeleteWebApplicationRevisionRequest * @return DeleteWebApplicationRevisionResponse */ CompletableFuture<DeleteWebApplicationRevisionResponse> deleteWebApplicationRevision(DeleteWebApplicationRevisionRequest request); /** * <b>description</b> : * <p>Delete a custom domain name.</p> * * @param request the request parameters of DeleteWebCustomDomain DeleteWebCustomDomainRequest * @return DeleteWebCustomDomainResponse */ CompletableFuture<DeleteWebCustomDomainResponse> deleteWebCustomDomain(DeleteWebCustomDomainRequest request); /** * @param request the request parameters of DeployApplication DeployApplicationRequest * @return DeployApplicationResponse */ CompletableFuture<DeployApplicationResponse> deployApplication(DeployApplicationRequest request); /** * @param request the request parameters of DescribeAppServiceDetail DescribeAppServiceDetailRequest * @return DescribeAppServiceDetailResponse */ CompletableFuture<DescribeAppServiceDetailResponse> describeAppServiceDetail(DescribeAppServiceDetailRequest request); /** * @param request the request parameters of DescribeApplicationConfig DescribeApplicationConfigRequest * @return DescribeApplicationConfigResponse */ CompletableFuture<DescribeApplicationConfigResponse> describeApplicationConfig(DescribeApplicationConfigRequest request); /** * @param request the request parameters of DescribeApplicationGroups DescribeApplicationGroupsRequest * @return DescribeApplicationGroupsResponse */ CompletableFuture<DescribeApplicationGroupsResponse> describeApplicationGroups(DescribeApplicationGroupsRequest request); /** * @param request the request parameters of DescribeApplicationImage DescribeApplicationImageRequest * @return DescribeApplicationImageResponse */ CompletableFuture<DescribeApplicationImageResponse> describeApplicationImage(DescribeApplicationImageRequest request); /** * @param request the request parameters of DescribeApplicationInstances DescribeApplicationInstancesRequest * @return DescribeApplicationInstancesResponse */ CompletableFuture<DescribeApplicationInstancesResponse> describeApplicationInstances(DescribeApplicationInstancesRequest request); /** * @param request the request parameters of DescribeApplicationNlbs DescribeApplicationNlbsRequest * @return DescribeApplicationNlbsResponse */ CompletableFuture<DescribeApplicationNlbsResponse> describeApplicationNlbs(DescribeApplicationNlbsRequest request); /** * @param request the request parameters of DescribeApplicationScalingRule DescribeApplicationScalingRuleRequest * @return DescribeApplicationScalingRuleResponse */ CompletableFuture<DescribeApplicationScalingRuleResponse> describeApplicationScalingRule(DescribeApplicationScalingRuleRequest request); /** * @param request the request parameters of DescribeApplicationScalingRules DescribeApplicationScalingRulesRequest * @return DescribeApplicationScalingRulesResponse */ CompletableFuture<DescribeApplicationScalingRulesResponse> describeApplicationScalingRules(DescribeApplicationScalingRulesRequest request); /** * @param request the request parameters of DescribeApplicationSlbs DescribeApplicationSlbsRequest * @return DescribeApplicationSlbsResponse */ CompletableFuture<DescribeApplicationSlbsResponse> describeApplicationSlbs(DescribeApplicationSlbsRequest request); /** * @param request the request parameters of DescribeApplicationStatus DescribeApplicationStatusRequest * @return DescribeApplicationStatusResponse */ CompletableFuture<DescribeApplicationStatusResponse> describeApplicationStatus(DescribeApplicationStatusRequest request); /** * @param request the request parameters of DescribeChangeOrder DescribeChangeOrderRequest * @return DescribeChangeOrderResponse */ CompletableFuture<DescribeChangeOrderResponse> describeChangeOrder(DescribeChangeOrderRequest request); /** * @param request the request parameters of DescribeComponents DescribeComponentsRequest * @return DescribeComponentsResponse */ CompletableFuture<DescribeComponentsResponse> describeComponents(DescribeComponentsRequest request); /** * @param request the request parameters of DescribeConfigMap DescribeConfigMapRequest * @return DescribeConfigMapResponse */ CompletableFuture<DescribeConfigMapResponse> describeConfigMap(DescribeConfigMapRequest request); /** * @param request the request parameters of DescribeConfigurationPrice DescribeConfigurationPriceRequest * @return DescribeConfigurationPriceResponse */ CompletableFuture<DescribeConfigurationPriceResponse> describeConfigurationPrice(DescribeConfigurationPriceRequest request); /** * @param request the request parameters of DescribeEdasContainers DescribeEdasContainersRequest * @return DescribeEdasContainersResponse */ CompletableFuture<DescribeEdasContainersResponse> describeEdasContainers(DescribeEdasContainersRequest request); /** * @param request the request parameters of DescribeGreyTagRoute DescribeGreyTagRouteRequest * @return DescribeGreyTagRouteResponse */ CompletableFuture<DescribeGreyTagRouteResponse> describeGreyTagRoute(DescribeGreyTagRouteRequest request); /** * @param request the request parameters of DescribeIngress DescribeIngressRequest * @return DescribeIngressResponse */ CompletableFuture<DescribeIngressResponse> describeIngress(DescribeIngressRequest request); /** * @param request the request parameters of DescribeInstanceLog DescribeInstanceLogRequest * @return DescribeInstanceLogResponse */ CompletableFuture<DescribeInstanceLogResponse> describeInstanceLog(DescribeInstanceLogRequest request); /** * @param request the request parameters of DescribeInstanceSpecifications DescribeInstanceSpecificationsRequest * @return DescribeInstanceSpecificationsResponse */ CompletableFuture<DescribeInstanceSpecificationsResponse> describeInstanceSpecifications(DescribeInstanceSpecificationsRequest request); /** * @param request the request parameters of DescribeJob DescribeJobRequest * @return DescribeJobResponse */ CompletableFuture<DescribeJobResponse> describeJob(DescribeJobRequest request); /** * @param request the request parameters of DescribeJobHistory DescribeJobHistoryRequest * @return DescribeJobHistoryResponse */ CompletableFuture<DescribeJobHistoryResponse> describeJobHistory(DescribeJobHistoryRequest request); /** * @param request the request parameters of DescribeJobStatus DescribeJobStatusRequest * @return DescribeJobStatusResponse */ CompletableFuture<DescribeJobStatusResponse> describeJobStatus(DescribeJobStatusRequest request); /** * @param request the request parameters of DescribeNamespace DescribeNamespaceRequest * @return DescribeNamespaceResponse */ CompletableFuture<DescribeNamespaceResponse> describeNamespace(DescribeNamespaceRequest request); /** * @param request the request parameters of DescribeNamespaceList DescribeNamespaceListRequest * @return DescribeNamespaceListResponse */ CompletableFuture<DescribeNamespaceListResponse> describeNamespaceList(DescribeNamespaceListRequest request); /** * @param request the request parameters of DescribeNamespaceResources DescribeNamespaceResourcesRequest * @return DescribeNamespaceResourcesResponse */ CompletableFuture<DescribeNamespaceResourcesResponse> describeNamespaceResources(DescribeNamespaceResourcesRequest request); /** * @param request the request parameters of DescribeNamespaces DescribeNamespacesRequest * @return DescribeNamespacesResponse */ CompletableFuture<DescribeNamespacesResponse> describeNamespaces(DescribeNamespacesRequest request); /** * @param request the request parameters of DescribePipeline DescribePipelineRequest * @return DescribePipelineResponse */ CompletableFuture<DescribePipelineResponse> describePipeline(DescribePipelineRequest request); /** * @param request the request parameters of DescribeRegions DescribeRegionsRequest * @return DescribeRegionsResponse */ CompletableFuture<DescribeRegionsResponse> describeRegions(DescribeRegionsRequest request); /** * @param request the request parameters of DescribeSecret DescribeSecretRequest * @return DescribeSecretResponse */ CompletableFuture<DescribeSecretResponse> describeSecret(DescribeSecretRequest request); /** * @param request the request parameters of DescribeSwimmingLane DescribeSwimmingLaneRequest * @return DescribeSwimmingLaneResponse */ CompletableFuture<DescribeSwimmingLaneResponse> describeSwimmingLane(DescribeSwimmingLaneRequest request); /** * <b>description</b> : * <p>Call the DescribeWebApplication operation to query web applications.</p> * * @param request the request parameters of DescribeWebApplication DescribeWebApplicationRequest * @return DescribeWebApplicationResponse */ CompletableFuture<DescribeWebApplicationResponse> describeWebApplication(DescribeWebApplicationRequest request); /** * <b>description</b> : * <p>Query the resource usage of a web application.</p> * * @param request the request parameters of DescribeWebApplicationResourceStatics DescribeWebApplicationResourceStaticsRequest * @return DescribeWebApplicationResourceStaticsResponse */ CompletableFuture<DescribeWebApplicationResourceStaticsResponse> describeWebApplicationResourceStatics(DescribeWebApplicationResourceStaticsRequest request); /** * <b>description</b> : * <p>Describe a web application version.</p> * * @param request the request parameters of DescribeWebApplicationRevision DescribeWebApplicationRevisionRequest * @return DescribeWebApplicationRevisionResponse */ CompletableFuture<DescribeWebApplicationRevisionResponse> describeWebApplicationRevision(DescribeWebApplicationRevisionRequest request); /** * <b>description</b> : * <p>Call the DescribeWebApplicationScalingConfig operation to obtain the scaling configuration of a web application.</p> * * @param request the request parameters of DescribeWebApplicationScalingConfig DescribeWebApplicationScalingConfigRequest * @return DescribeWebApplicationScalingConfigResponse */ CompletableFuture<DescribeWebApplicationScalingConfigResponse> describeWebApplicationScalingConfig(DescribeWebApplicationScalingConfigRequest request); /** * <b>description</b> : * <p>Call the DescribeWebApplicationTrafficConfig operation to query the traffic configurations of a web application.</p> * * @param request the request parameters of DescribeWebApplicationTrafficConfig DescribeWebApplicationTrafficConfigRequest * @return DescribeWebApplicationTrafficConfigResponse */ CompletableFuture<DescribeWebApplicationTrafficConfigResponse> describeWebApplicationTrafficConfig(DescribeWebApplicationTrafficConfigRequest request); /** * <b>description</b> : * <p>Query the details of a custom domain name for a web application.</p> * * @param request the request parameters of DescribeWebCustomDomain DescribeWebCustomDomainRequest * @return DescribeWebCustomDomainResponse */ CompletableFuture<DescribeWebCustomDomainResponse> describeWebCustomDomain(DescribeWebCustomDomainRequest request); /** * <b>description</b> : * <p>Obtain the logs of web application instances.</p> * * @param request the request parameters of DescribeWebInstanceLogs DescribeWebInstanceLogsRequest * @return DescribeWebInstanceLogsResponse */ CompletableFuture<DescribeWebInstanceLogsResponse> describeWebInstanceLogs(DescribeWebInstanceLogsRequest request); /** * @param request the request parameters of DisableApplicationScalingRule DisableApplicationScalingRuleRequest * @return DisableApplicationScalingRuleResponse */ CompletableFuture<DisableApplicationScalingRuleResponse> disableApplicationScalingRule(DisableApplicationScalingRuleRequest request); /** * @param request the request parameters of DowngradeApplicationApmService DowngradeApplicationApmServiceRequest * @return DowngradeApplicationApmServiceResponse */ CompletableFuture<DowngradeApplicationApmServiceResponse> downgradeApplicationApmService(DowngradeApplicationApmServiceRequest request); /** * @param request the request parameters of EnableApplicationScalingRule EnableApplicationScalingRuleRequest * @return EnableApplicationScalingRuleResponse */ CompletableFuture<EnableApplicationScalingRuleResponse> enableApplicationScalingRule(EnableApplicationScalingRuleRequest request); /** * @param request the request parameters of ExecJob ExecJobRequest * @return ExecJobResponse */ CompletableFuture<ExecJobResponse> execJob(ExecJobRequest request); /** * @param request the request parameters of GetApplication GetApplicationRequest * @return GetApplicationResponse */ CompletableFuture<GetApplicationResponse> getApplication(GetApplicationRequest request); /** * @param request the request parameters of GetArmsTopNMetric GetArmsTopNMetricRequest * @return GetArmsTopNMetricResponse */ CompletableFuture<GetArmsTopNMetricResponse> getArmsTopNMetric(GetArmsTopNMetricRequest request); /** * @param request the request parameters of GetAvailabilityMetric GetAvailabilityMetricRequest * @return GetAvailabilityMetricResponse */ CompletableFuture<GetAvailabilityMetricResponse> getAvailabilityMetric(GetAvailabilityMetricRequest request); /** * @param request the request parameters of GetChangeOrderMetric GetChangeOrderMetricRequest * @return GetChangeOrderMetricResponse */ CompletableFuture<GetChangeOrderMetricResponse> getChangeOrderMetric(GetChangeOrderMetricRequest request); /** * @param request the request parameters of GetScaleAppMetric GetScaleAppMetricRequest * @return GetScaleAppMetricResponse */ CompletableFuture<GetScaleAppMetricResponse> getScaleAppMetric(GetScaleAppMetricRequest request); /** * @param request the request parameters of GetWarningEventMetric GetWarningEventMetricRequest * @return GetWarningEventMetricResponse */ CompletableFuture<GetWarningEventMetricResponse> getWarningEventMetric(GetWarningEventMetricRequest request); /** * @param request the request parameters of GetWebshellToken GetWebshellTokenRequest * @return GetWebshellTokenResponse */ CompletableFuture<GetWebshellTokenResponse> getWebshellToken(GetWebshellTokenRequest request); /** * @param request the request parameters of ListAllSwimmingLaneGroups ListAllSwimmingLaneGroupsRequest * @return ListAllSwimmingLaneGroupsResponse */ CompletableFuture<ListAllSwimmingLaneGroupsResponse> listAllSwimmingLaneGroups(ListAllSwimmingLaneGroupsRequest request); /** * @param request the request parameters of ListAllSwimmingLanes ListAllSwimmingLanesRequest * @return ListAllSwimmingLanesResponse */ CompletableFuture<ListAllSwimmingLanesResponse> listAllSwimmingLanes(ListAllSwimmingLanesRequest request); /** * @param request the request parameters of ListAppEvents ListAppEventsRequest * @return ListAppEventsResponse */ CompletableFuture<ListAppEventsResponse> listAppEvents(ListAppEventsRequest request); /** * @param request the request parameters of ListAppServices ListAppServicesRequest * @return ListAppServicesResponse */ CompletableFuture<ListAppServicesResponse> listAppServices(ListAppServicesRequest request); /** * @param request the request parameters of ListAppServicesPage ListAppServicesPageRequest * @return ListAppServicesPageResponse */ CompletableFuture<ListAppServicesPageResponse> listAppServicesPage(ListAppServicesPageRequest request); /** * @param request the request parameters of ListAppVersions ListAppVersionsRequest * @return ListAppVersionsResponse */ CompletableFuture<ListAppVersionsResponse> listAppVersions(ListAppVersionsRequest request); /** * @param request the request parameters of ListApplications ListApplicationsRequest * @return ListApplicationsResponse */ CompletableFuture<ListApplicationsResponse> listApplications(ListApplicationsRequest request); /** * @param request the request parameters of ListApplicationsForSwimmingLane ListApplicationsForSwimmingLaneRequest * @return ListApplicationsForSwimmingLaneResponse */ CompletableFuture<ListApplicationsForSwimmingLaneResponse> listApplicationsForSwimmingLane(ListApplicationsForSwimmingLaneRequest request); /** * @param request the request parameters of ListChangeOrders ListChangeOrdersRequest * @return ListChangeOrdersResponse */ CompletableFuture<ListChangeOrdersResponse> listChangeOrders(ListChangeOrdersRequest request); /** * @param request the request parameters of ListConsumedServices ListConsumedServicesRequest * @return ListConsumedServicesResponse */ CompletableFuture<ListConsumedServicesResponse> listConsumedServices(ListConsumedServicesRequest request); /** * <b>description</b> : * <blockquote> * <p> You can configure only one canary release rule for each application.</p> * </blockquote> * * @param request the request parameters of ListGreyTagRoute ListGreyTagRouteRequest * @return ListGreyTagRouteResponse */ CompletableFuture<ListGreyTagRouteResponse> listGreyTagRoute(ListGreyTagRouteRequest request); /** * @param request the request parameters of ListIngresses ListIngressesRequest * @return ListIngressesResponse */ CompletableFuture<ListIngressesResponse> listIngresses(ListIngressesRequest request); /** * @param request the request parameters of ListJobs ListJobsRequest * @return ListJobsResponse */ CompletableFuture<ListJobsResponse> listJobs(ListJobsRequest request); /** * @param request the request parameters of ListLogConfigs ListLogConfigsRequest * @return ListLogConfigsResponse */ CompletableFuture<ListLogConfigsResponse> listLogConfigs(ListLogConfigsRequest request); /** * @param request the request parameters of ListNamespaceChangeOrders ListNamespaceChangeOrdersRequest * @return ListNamespaceChangeOrdersResponse */ CompletableFuture<ListNamespaceChangeOrdersResponse> listNamespaceChangeOrders(ListNamespaceChangeOrdersRequest request); /** * @param request the request parameters of ListNamespacedConfigMaps ListNamespacedConfigMapsRequest * @return ListNamespacedConfigMapsResponse */ CompletableFuture<ListNamespacedConfigMapsResponse> listNamespacedConfigMaps(ListNamespacedConfigMapsRequest request); /** * @param request the request parameters of ListPublishedServices ListPublishedServicesRequest * @return ListPublishedServicesResponse */ CompletableFuture<ListPublishedServicesResponse> listPublishedServices(ListPublishedServicesRequest request); /** * @param request the request parameters of ListSecrets ListSecretsRequest * @return ListSecretsResponse */ CompletableFuture<ListSecretsResponse> listSecrets(ListSecretsRequest request); /** * @param request the request parameters of ListSwimmingLaneGatewayRoutes ListSwimmingLaneGatewayRoutesRequest * @return ListSwimmingLaneGatewayRoutesResponse */ CompletableFuture<ListSwimmingLaneGatewayRoutesResponse> listSwimmingLaneGatewayRoutes(ListSwimmingLaneGatewayRoutesRequest request); /** * @param request the request parameters of ListSwimmingLaneGroupTags ListSwimmingLaneGroupTagsRequest * @return ListSwimmingLaneGroupTagsResponse */ CompletableFuture<ListSwimmingLaneGroupTagsResponse> listSwimmingLaneGroupTags(ListSwimmingLaneGroupTagsRequest request); /** * @param request the request parameters of ListTagResources ListTagResourcesRequest * @return ListTagResourcesResponse */ CompletableFuture<ListTagResourcesResponse> listTagResources(ListTagResourcesRequest request); /** * <b>description</b> : * <p>Query the list of web application instances.</p> * * @param request the request parameters of ListWebApplicationInstances ListWebApplicationInstancesRequest * @return ListWebApplicationInstancesResponse */ CompletableFuture<ListWebApplicationInstancesResponse> listWebApplicationInstances(ListWebApplicationInstancesRequest request); /** * <b>description</b> : * <p>Query the list of web application versions.</p> * * @param request the request parameters of ListWebApplicationRevisions ListWebApplicationRevisionsRequest * @return ListWebApplicationRevisionsResponse */ CompletableFuture<ListWebApplicationRevisionsResponse> listWebApplicationRevisions(ListWebApplicationRevisionsRequest request); /** * <b>description</b> : * <p>Call the ListWebApplications operation to query the list of web applications.</p> * * @param request the request parameters of ListWebApplications ListWebApplicationsRequest * @return ListWebApplicationsResponse */ CompletableFuture<ListWebApplicationsResponse> listWebApplications(ListWebApplicationsRequest request); /** * <b>description</b> : * <p>Query available custom domain names.</p> * * @param request the request parameters of ListWebCustomDomains ListWebCustomDomainsRequest * @return ListWebCustomDomainsResponse */ CompletableFuture<ListWebCustomDomainsResponse> listWebCustomDomains(ListWebCustomDomainsRequest request); /** * <b>description</b> : * <blockquote> * <p>Make sure that your account balance is greater than 0. Otherwise, the SAE service cannot be activated.</p> * </blockquote> * * @param request the request parameters of OpenSaeService OpenSaeServiceRequest * @return OpenSaeServiceResponse */ CompletableFuture<OpenSaeServiceResponse> openSaeService(OpenSaeServiceRequest request); /** * <b>description</b> : * <p>Publish a web application version. You can change the configurations of the version and create a new version.</p> * * @param request the request parameters of PublishWebApplicationRevision PublishWebApplicationRevisionRequest * @return PublishWebApplicationRevisionResponse */ CompletableFuture<PublishWebApplicationRevisionResponse> publishWebApplicationRevision(PublishWebApplicationRevisionRequest request); /** * @param request the request parameters of QueryResourceStatics QueryResourceStaticsRequest * @return QueryResourceStaticsResponse */ CompletableFuture<QueryResourceStaticsResponse> queryResourceStatics(QueryResourceStaticsRequest request); /** * @param request the request parameters of ReduceApplicationCapacityByInstanceIds ReduceApplicationCapacityByInstanceIdsRequest * @return ReduceApplicationCapacityByInstanceIdsResponse */ CompletableFuture<ReduceApplicationCapacityByInstanceIdsResponse> reduceApplicationCapacityByInstanceIds(ReduceApplicationCapacityByInstanceIdsRequest request); /** * @param request the request parameters of RescaleApplication RescaleApplicationRequest * @return RescaleApplicationResponse */ CompletableFuture<RescaleApplicationResponse> rescaleApplication(RescaleApplicationRequest request); /** * @param request the request parameters of RescaleApplicationVertically RescaleApplicationVerticallyRequest * @return RescaleApplicationVerticallyResponse */ CompletableFuture<RescaleApplicationVerticallyResponse> rescaleApplicationVertically(RescaleApplicationVerticallyRequest request); /** * @param request the request parameters of RestartApplication RestartApplicationRequest * @return RestartApplicationResponse */ CompletableFuture<RestartApplicationResponse> restartApplication(RestartApplicationRequest request); /** * @param request the request parameters of RestartInstances RestartInstancesRequest * @return RestartInstancesResponse */ CompletableFuture<RestartInstancesResponse> restartInstances(RestartInstancesRequest request); /** * @param request the request parameters of RollbackApplication RollbackApplicationRequest * @return RollbackApplicationResponse */ CompletableFuture<RollbackApplicationResponse> rollbackApplication(RollbackApplicationRequest request); /** * @param request the request parameters of StartApplication StartApplicationRequest * @return StartApplicationResponse */ CompletableFuture<StartApplicationResponse> startApplication(StartApplicationRequest request); /** * <b>description</b> : * <p>Call the StartWebApplication operation to start a web application.</p> * * @param request the request parameters of StartWebApplication StartWebApplicationRequest * @return StartWebApplicationResponse */ CompletableFuture<StartWebApplicationResponse> startWebApplication(StartWebApplicationRequest request); /** * @param request the request parameters of StopApplication StopApplicationRequest * @return StopApplicationResponse */ CompletableFuture<StopApplicationResponse> stopApplication(StopApplicationRequest request); /** * <b>description</b> : * <p>Call the StopWebApplication operation to stop a web application.</p> * * @param request the request parameters of StopWebApplication StopWebApplicationRequest * @return StopWebApplicationResponse */ CompletableFuture<StopWebApplicationResponse> stopWebApplication(StopWebApplicationRequest request); /** * @param request the request parameters of SuspendJob SuspendJobRequest * @return SuspendJobResponse */ CompletableFuture<SuspendJobResponse> suspendJob(SuspendJobRequest request); /** * @param request the request parameters of TagResources TagResourcesRequest * @return TagResourcesResponse */ CompletableFuture<TagResourcesResponse> tagResources(TagResourcesRequest request); /** * @param request the request parameters of UnbindNlb UnbindNlbRequest * @return UnbindNlbResponse */ CompletableFuture<UnbindNlbResponse> unbindNlb(UnbindNlbRequest request); /** * @param request the request parameters of UnbindSlb UnbindSlbRequest * @return UnbindSlbResponse */ CompletableFuture<UnbindSlbResponse> unbindSlb(UnbindSlbRequest request); /** * @param request the request parameters of UntagResources UntagResourcesRequest * @return UntagResourcesResponse */ CompletableFuture<UntagResourcesResponse> untagResources(UntagResourcesRequest request); /** * @param request the request parameters of UpdateAppMode UpdateAppModeRequest * @return UpdateAppModeResponse */ CompletableFuture<UpdateAppModeResponse> updateAppMode(UpdateAppModeRequest request); /** * @param request the request parameters of UpdateAppSecurityGroup UpdateAppSecurityGroupRequest * @return UpdateAppSecurityGroupResponse */ CompletableFuture<UpdateAppSecurityGroupResponse> updateAppSecurityGroup(UpdateAppSecurityGroupRequest request); /** * @param request the request parameters of UpdateApplicationDescription UpdateApplicationDescriptionRequest * @return UpdateApplicationDescriptionResponse */ CompletableFuture<UpdateApplicationDescriptionResponse> updateApplicationDescription(UpdateApplicationDescriptionRequest request); /** * <b>description</b> : * <h2></h2> * <p>If you want to configure more than 50 instances for an application, you must submit a <a href="https://workorder.console.aliyun.com/#/ticket/createIndex">ticket</a> to add your account to the whitelist.</p> * * @param request the request parameters of UpdateApplicationScalingRule UpdateApplicationScalingRuleRequest * @return UpdateApplicationScalingRuleResponse */ CompletableFuture<UpdateApplicationScalingRuleResponse> updateApplicationScalingRule(UpdateApplicationScalingRuleRequest request); /** * @param request the request parameters of UpdateApplicationVswitches UpdateApplicationVswitchesRequest * @return UpdateApplicationVswitchesResponse */ CompletableFuture<UpdateApplicationVswitchesResponse> updateApplicationVswitches(UpdateApplicationVswitchesRequest request); /** * @param request the request parameters of UpdateConfigMap UpdateConfigMapRequest * @return UpdateConfigMapResponse */ CompletableFuture<UpdateConfigMapResponse> updateConfigMap(UpdateConfigMapRequest request); /** * @param request the request parameters of UpdateGreyTagRoute UpdateGreyTagRouteRequest * @return UpdateGreyTagRouteResponse */ CompletableFuture<UpdateGreyTagRouteResponse> updateGreyTagRoute(UpdateGreyTagRouteRequest request); /** * @param request the request parameters of UpdateIngress UpdateIngressRequest * @return UpdateIngressResponse */ CompletableFuture<UpdateIngressResponse> updateIngress(UpdateIngressRequest request); /** * @param request the request parameters of UpdateJob UpdateJobRequest * @return UpdateJobResponse */ CompletableFuture<UpdateJobResponse> updateJob(UpdateJobRequest request); /** * @param request the request parameters of UpdateNamespace UpdateNamespaceRequest * @return UpdateNamespaceResponse */ CompletableFuture<UpdateNamespaceResponse> updateNamespace(UpdateNamespaceRequest request); /** * @param request the request parameters of UpdateNamespaceVpc UpdateNamespaceVpcRequest * @return UpdateNamespaceVpcResponse */ CompletableFuture<UpdateNamespaceVpcResponse> updateNamespaceVpc(UpdateNamespaceVpcRequest request); /** * @param request the request parameters of UpdateSecret UpdateSecretRequest * @return UpdateSecretResponse */ CompletableFuture<UpdateSecretResponse> updateSecret(UpdateSecretRequest request); /** * @param request the request parameters of UpdateSwimmingLaneEnableAttribute UpdateSwimmingLaneEnableAttributeRequest * @return UpdateSwimmingLaneEnableAttributeResponse */ CompletableFuture<UpdateSwimmingLaneEnableAttributeResponse> updateSwimmingLaneEnableAttribute(UpdateSwimmingLaneEnableAttributeRequest request); /** * <b>description</b> : * <p>You can call the UpdateWebApplication operation to update the configuration at the web application level.</p> * * @param request the request parameters of UpdateWebApplication UpdateWebApplicationRequest * @return UpdateWebApplicationResponse */ CompletableFuture<UpdateWebApplicationResponse> updateWebApplication(UpdateWebApplicationRequest request); /** * <b>description</b> : * <p>You can call the UpdateWebApplicationScalingConfig operation to update the scaling configurations of a web application.</p> * * @param request the request parameters of UpdateWebApplicationScalingConfig UpdateWebApplicationScalingConfigRequest * @return UpdateWebApplicationScalingConfigResponse */ CompletableFuture<UpdateWebApplicationScalingConfigResponse> updateWebApplicationScalingConfig(UpdateWebApplicationScalingConfigRequest request); /** * <b>description</b> : * <p>Call the UpdateWebApplicationTrafficConfig operation to update the traffic configurations of a web application.</p> * * @param request the request parameters of UpdateWebApplicationTrafficConfig UpdateWebApplicationTrafficConfigRequest * @return UpdateWebApplicationTrafficConfigResponse */ CompletableFuture<UpdateWebApplicationTrafficConfigResponse> updateWebApplicationTrafficConfig(UpdateWebApplicationTrafficConfigRequest request); /** * <b>description</b> : * <p>Update a custom domain name.</p> * * @param request the request parameters of UpdateWebCustomDomain UpdateWebCustomDomainRequest * @return UpdateWebCustomDomainResponse */ CompletableFuture<UpdateWebCustomDomainResponse> updateWebCustomDomain(UpdateWebCustomDomainRequest request); /** * <b>description</b> : * <p>You are charged when you use the ARMS advanced monitoring feature. Enable this feature based on your business requirements. For more information, see <a href="https://icms.alibaba-inc.com/content/arms/arms?l=1%5C&m=16992%5C&n=3183148">Billing overview</a>.</p> * * @param request the request parameters of UpgradeApplicationApmService UpgradeApplicationApmServiceRequest * @return UpgradeApplicationApmServiceResponse */ CompletableFuture<UpgradeApplicationApmServiceResponse> upgradeApplicationApmService(UpgradeApplicationApmServiceRequest request); }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/DefaultAsyncClient.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506; import com.aliyun.core.http.*; import com.aliyun.sdk.service.sae20190506.models.*; import darabonba.core.utils.*; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import java.util.concurrent.CompletableFuture; /** * <p>Main client.</p> */ public final class DefaultAsyncClient implements AsyncClient { protected final String product; protected final String version; protected final String endpointRule; protected final java.util.Map<String, String> endpointMap; protected final TeaRequest REQUEST; protected final TeaAsyncHandler handler; protected DefaultAsyncClient(ClientConfiguration configuration) { this.handler = new TeaAsyncHandler(configuration); this.product = "sae"; this.version = "2019-05-06"; this.endpointRule = "regional"; this.endpointMap = new java.util.HashMap<>(); this.REQUEST = TeaRequest.create().setProduct(product).setEndpointRule(endpointRule).setEndpointMap(endpointMap).setVersion(version); } @Override public void close() { this.handler.close(); } /** * @param request the request parameters of AbortAndRollbackChangeOrder AbortAndRollbackChangeOrderRequest * @return AbortAndRollbackChangeOrderResponse */ @Override public CompletableFuture<AbortAndRollbackChangeOrderResponse> abortAndRollbackChangeOrder(AbortAndRollbackChangeOrderRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("AbortAndRollbackChangeOrder").setMethod(HttpMethod.PUT).setPathRegex("/pop/v1/sam/changeorder/AbortAndRollbackChangeOrder").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(AbortAndRollbackChangeOrderResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<AbortAndRollbackChangeOrderResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of AbortChangeOrder AbortChangeOrderRequest * @return AbortChangeOrderResponse */ @Override public CompletableFuture<AbortChangeOrderResponse> abortChangeOrder(AbortChangeOrderRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("AbortChangeOrder").setMethod(HttpMethod.PUT).setPathRegex("/pop/v1/sam/changeorder/AbortChangeOrder").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(AbortChangeOrderResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<AbortChangeOrderResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of BatchStartApplications BatchStartApplicationsRequest * @return BatchStartApplicationsResponse */ @Override public CompletableFuture<BatchStartApplicationsResponse> batchStartApplications(BatchStartApplicationsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("BatchStartApplications").setMethod(HttpMethod.PUT).setPathRegex("/pop/v1/sam/app/batchStartApplications").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(BatchStartApplicationsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<BatchStartApplicationsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of BatchStopApplications BatchStopApplicationsRequest * @return BatchStopApplicationsResponse */ @Override public CompletableFuture<BatchStopApplicationsResponse> batchStopApplications(BatchStopApplicationsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("BatchStopApplications").setMethod(HttpMethod.PUT).setPathRegex("/pop/v1/sam/app/batchStopApplications").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(BatchStopApplicationsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<BatchStopApplicationsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of BindNlb BindNlbRequest * @return BindNlbResponse */ @Override public CompletableFuture<BindNlbResponse> bindNlb(BindNlbRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("BindNlb").setMethod(HttpMethod.POST).setPathRegex("/pop/v1/sam/app/nlb").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(BindNlbResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<BindNlbResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of BindSlb BindSlbRequest * @return BindSlbResponse */ @Override public CompletableFuture<BindSlbResponse> bindSlb(BindSlbRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("BindSlb").setMethod(HttpMethod.POST).setPathRegex("/pop/v1/sam/app/slb").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(BindSlbResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<BindSlbResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ConfirmPipelineBatch ConfirmPipelineBatchRequest * @return ConfirmPipelineBatchResponse */ @Override public CompletableFuture<ConfirmPipelineBatchResponse> confirmPipelineBatch(ConfirmPipelineBatchRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ConfirmPipelineBatch").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/changeorder/ConfirmPipelineBatch").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ConfirmPipelineBatchResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ConfirmPipelineBatchResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of CreateApplication CreateApplicationRequest * @return CreateApplicationResponse */ @Override public CompletableFuture<CreateApplicationResponse> createApplication(CreateApplicationRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("CreateApplication").setMethod(HttpMethod.POST).setPathRegex("/pop/v1/sam/app/createApplication").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateApplicationResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<CreateApplicationResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <p>The HTTP status code. Take note of the following rules:</p> * <ul> * <li><strong>2xx</strong>: The call was successful.</li> * <li><strong>3xx</strong>: The call was redirected.</li> * <li><strong>4xx</strong>: The call failed.</li> * <li><strong>5xx</strong>: A server error occurred.</li> * </ul> * * @param request the request parameters of CreateApplicationScalingRule CreateApplicationScalingRuleRequest * @return CreateApplicationScalingRuleResponse */ @Override public CompletableFuture<CreateApplicationScalingRuleResponse> createApplicationScalingRule(CreateApplicationScalingRuleRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("CreateApplicationScalingRule").setMethod(HttpMethod.POST).setPathRegex("/pop/v1/sam/scale/applicationScalingRule").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateApplicationScalingRuleResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<CreateApplicationScalingRuleResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of CreateConfigMap CreateConfigMapRequest * @return CreateConfigMapResponse */ @Override public CompletableFuture<CreateConfigMapResponse> createConfigMap(CreateConfigMapRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("CreateConfigMap").setMethod(HttpMethod.POST).setPathRegex("/pop/v1/sam/configmap/configMap").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateConfigMapResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<CreateConfigMapResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <blockquote> * <p> You can configure only one canary release rule for each application.</p> * </blockquote> * * @param request the request parameters of CreateGreyTagRoute CreateGreyTagRouteRequest * @return CreateGreyTagRouteResponse */ @Override public CompletableFuture<CreateGreyTagRouteResponse> createGreyTagRoute(CreateGreyTagRouteRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("CreateGreyTagRoute").setMethod(HttpMethod.POST).setPathRegex("/pop/v1/sam/tagroute/greyTagRoute").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateGreyTagRouteResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<CreateGreyTagRouteResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of CreateIngress CreateIngressRequest * @return CreateIngressResponse */ @Override public CompletableFuture<CreateIngressResponse> createIngress(CreateIngressRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("CreateIngress").setMethod(HttpMethod.POST).setPathRegex("/pop/v1/sam/ingress/Ingress").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateIngressResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<CreateIngressResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of CreateJob CreateJobRequest * @return CreateJobResponse */ @Override public CompletableFuture<CreateJobResponse> createJob(CreateJobRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("CreateJob").setMethod(HttpMethod.POST).setPathRegex("/pop/v1/sam/job/createJob").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateJobResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<CreateJobResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of CreateNamespace CreateNamespaceRequest * @return CreateNamespaceResponse */ @Override public CompletableFuture<CreateNamespaceResponse> createNamespace(CreateNamespaceRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("CreateNamespace").setMethod(HttpMethod.POST).setPathRegex("/pop/v1/paas/namespace").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateNamespaceResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<CreateNamespaceResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of CreateOrUpdateSwimmingLane CreateOrUpdateSwimmingLaneRequest * @return CreateOrUpdateSwimmingLaneResponse */ @Override public CompletableFuture<CreateOrUpdateSwimmingLaneResponse> createOrUpdateSwimmingLane(CreateOrUpdateSwimmingLaneRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("CreateOrUpdateSwimmingLane").setMethod(HttpMethod.POST).setPathRegex("/pop/v1/cas/gray/createOrUpdateSwimmingLane").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateOrUpdateSwimmingLaneResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<CreateOrUpdateSwimmingLaneResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of CreateOrUpdateSwimmingLaneGroup CreateOrUpdateSwimmingLaneGroupRequest * @return CreateOrUpdateSwimmingLaneGroupResponse */ @Override public CompletableFuture<CreateOrUpdateSwimmingLaneGroupResponse> createOrUpdateSwimmingLaneGroup(CreateOrUpdateSwimmingLaneGroupRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("CreateOrUpdateSwimmingLaneGroup").setMethod(HttpMethod.POST).setPathRegex("/pop/v1/cas/gray/createOrUpdateSwimmingLaneGroup").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateOrUpdateSwimmingLaneGroupResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<CreateOrUpdateSwimmingLaneGroupResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of CreateSecret CreateSecretRequest * @return CreateSecretResponse */ @Override public CompletableFuture<CreateSecretResponse> createSecret(CreateSecretRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("CreateSecret").setMethod(HttpMethod.POST).setPathRegex("/pop/v1/sam/secret/secret").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateSecretResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<CreateSecretResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <p>Call the CreateWebApplication operation to create a web application.</p> * * @param request the request parameters of CreateWebApplication CreateWebApplicationRequest * @return CreateWebApplicationResponse */ @Override public CompletableFuture<CreateWebApplicationResponse> createWebApplication(CreateWebApplicationRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("CreateWebApplication").setMethod(HttpMethod.POST).setPathRegex("/pop/v2/api/web/applications").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateWebApplicationResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<CreateWebApplicationResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <p>Create a custom domain name for the web application.</p> * * @param request the request parameters of CreateWebCustomDomain CreateWebCustomDomainRequest * @return CreateWebCustomDomainResponse */ @Override public CompletableFuture<CreateWebCustomDomainResponse> createWebCustomDomain(CreateWebCustomDomainRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("CreateWebCustomDomain").setMethod(HttpMethod.POST).setPathRegex("/pop/v2/api/web/custom-domains").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateWebCustomDomainResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<CreateWebCustomDomainResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DeleteApplication DeleteApplicationRequest * @return DeleteApplicationResponse */ @Override public CompletableFuture<DeleteApplicationResponse> deleteApplication(DeleteApplicationRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DeleteApplication").setMethod(HttpMethod.DELETE).setPathRegex("/pop/v1/sam/app/deleteApplication").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteApplicationResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DeleteApplicationResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DeleteApplicationScalingRule DeleteApplicationScalingRuleRequest * @return DeleteApplicationScalingRuleResponse */ @Override public CompletableFuture<DeleteApplicationScalingRuleResponse> deleteApplicationScalingRule(DeleteApplicationScalingRuleRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DeleteApplicationScalingRule").setMethod(HttpMethod.DELETE).setPathRegex("/pop/v1/sam/scale/applicationScalingRule").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteApplicationScalingRuleResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DeleteApplicationScalingRuleResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DeleteConfigMap DeleteConfigMapRequest * @return DeleteConfigMapResponse */ @Override public CompletableFuture<DeleteConfigMapResponse> deleteConfigMap(DeleteConfigMapRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DeleteConfigMap").setMethod(HttpMethod.DELETE).setPathRegex("/pop/v1/sam/configmap/configMap").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteConfigMapResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DeleteConfigMapResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DeleteGreyTagRoute DeleteGreyTagRouteRequest * @return DeleteGreyTagRouteResponse */ @Override public CompletableFuture<DeleteGreyTagRouteResponse> deleteGreyTagRoute(DeleteGreyTagRouteRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DeleteGreyTagRoute").setMethod(HttpMethod.DELETE).setPathRegex("/pop/v1/sam/tagroute/greyTagRoute").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteGreyTagRouteResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DeleteGreyTagRouteResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DeleteHistoryJob DeleteHistoryJobRequest * @return DeleteHistoryJobResponse */ @Override public CompletableFuture<DeleteHistoryJobResponse> deleteHistoryJob(DeleteHistoryJobRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DeleteHistoryJob").setMethod(HttpMethod.DELETE).setPathRegex("/pop/v1/sam/job/deleteHistoryJob").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteHistoryJobResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DeleteHistoryJobResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DeleteIngress DeleteIngressRequest * @return DeleteIngressResponse */ @Override public CompletableFuture<DeleteIngressResponse> deleteIngress(DeleteIngressRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DeleteIngress").setMethod(HttpMethod.DELETE).setPathRegex("/pop/v1/sam/ingress/Ingress").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteIngressResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DeleteIngressResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DeleteInstances DeleteInstancesRequest * @return DeleteInstancesResponse */ @Override public CompletableFuture<DeleteInstancesResponse> deleteInstances(DeleteInstancesRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DeleteInstances").setMethod(HttpMethod.PUT).setPathRegex("/pop/v1/sam/app/deleteInstances").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteInstancesResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DeleteInstancesResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DeleteJob DeleteJobRequest * @return DeleteJobResponse */ @Override public CompletableFuture<DeleteJobResponse> deleteJob(DeleteJobRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DeleteJob").setMethod(HttpMethod.DELETE).setPathRegex("/pop/v1/sam/job/deleteJob").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteJobResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DeleteJobResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DeleteNamespace DeleteNamespaceRequest * @return DeleteNamespaceResponse */ @Override public CompletableFuture<DeleteNamespaceResponse> deleteNamespace(DeleteNamespaceRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DeleteNamespace").setMethod(HttpMethod.DELETE).setPathRegex("/pop/v1/paas/namespace").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteNamespaceResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DeleteNamespaceResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DeleteSecret DeleteSecretRequest * @return DeleteSecretResponse */ @Override public CompletableFuture<DeleteSecretResponse> deleteSecret(DeleteSecretRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DeleteSecret").setMethod(HttpMethod.DELETE).setPathRegex("/pop/v1/sam/secret/secret").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteSecretResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DeleteSecretResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DeleteSwimmingLaneGroup DeleteSwimmingLaneGroupRequest * @return DeleteSwimmingLaneGroupResponse */ @Override public CompletableFuture<DeleteSwimmingLaneGroupResponse> deleteSwimmingLaneGroup(DeleteSwimmingLaneGroupRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DeleteSwimmingLaneGroup").setMethod(HttpMethod.POST).setPathRegex("/pop/v1/cas/gray/deleteSwimmingLaneGroup").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteSwimmingLaneGroupResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DeleteSwimmingLaneGroupResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <p>Call the DeleteWebApplication operation to delete a web application.</p> * * @param request the request parameters of DeleteWebApplication DeleteWebApplicationRequest * @return DeleteWebApplicationResponse */ @Override public CompletableFuture<DeleteWebApplicationResponse> deleteWebApplication(DeleteWebApplicationRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DeleteWebApplication").setMethod(HttpMethod.DELETE).setPathRegex("/pop/v2/api/web/applications/{ApplicationId}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteWebApplicationResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DeleteWebApplicationResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <p>Delete a web application version.</p> * * @param request the request parameters of DeleteWebApplicationRevision DeleteWebApplicationRevisionRequest * @return DeleteWebApplicationRevisionResponse */ @Override public CompletableFuture<DeleteWebApplicationRevisionResponse> deleteWebApplicationRevision(DeleteWebApplicationRevisionRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DeleteWebApplicationRevision").setMethod(HttpMethod.DELETE).setPathRegex("/pop/v2/api/web/application-revisions/{ApplicationId}/revisions/{RevisionId}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteWebApplicationRevisionResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DeleteWebApplicationRevisionResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <p>Delete a custom domain name.</p> * * @param request the request parameters of DeleteWebCustomDomain DeleteWebCustomDomainRequest * @return DeleteWebCustomDomainResponse */ @Override public CompletableFuture<DeleteWebCustomDomainResponse> deleteWebCustomDomain(DeleteWebCustomDomainRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DeleteWebCustomDomain").setMethod(HttpMethod.DELETE).setPathRegex("/pop/v2/api/web/custom-domains/{DomainName}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteWebCustomDomainResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DeleteWebCustomDomainResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DeployApplication DeployApplicationRequest * @return DeployApplicationResponse */ @Override public CompletableFuture<DeployApplicationResponse> deployApplication(DeployApplicationRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DeployApplication").setMethod(HttpMethod.POST).setPathRegex("/pop/v1/sam/app/deployApplication").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeployApplicationResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DeployApplicationResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DescribeAppServiceDetail DescribeAppServiceDetailRequest * @return DescribeAppServiceDetailResponse */ @Override public CompletableFuture<DescribeAppServiceDetailResponse> describeAppServiceDetail(DescribeAppServiceDetailRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeAppServiceDetail").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/service/describeAppServiceDetail").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeAppServiceDetailResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeAppServiceDetailResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DescribeApplicationConfig DescribeApplicationConfigRequest * @return DescribeApplicationConfigResponse */ @Override public CompletableFuture<DescribeApplicationConfigResponse> describeApplicationConfig(DescribeApplicationConfigRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeApplicationConfig").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/app/describeApplicationConfig").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeApplicationConfigResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeApplicationConfigResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DescribeApplicationGroups DescribeApplicationGroupsRequest * @return DescribeApplicationGroupsResponse */ @Override public CompletableFuture<DescribeApplicationGroupsResponse> describeApplicationGroups(DescribeApplicationGroupsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeApplicationGroups").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/app/describeApplicationGroups").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeApplicationGroupsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeApplicationGroupsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DescribeApplicationImage DescribeApplicationImageRequest * @return DescribeApplicationImageResponse */ @Override public CompletableFuture<DescribeApplicationImageResponse> describeApplicationImage(DescribeApplicationImageRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeApplicationImage").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/container/describeApplicationImage").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeApplicationImageResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeApplicationImageResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DescribeApplicationInstances DescribeApplicationInstancesRequest * @return DescribeApplicationInstancesResponse */ @Override public CompletableFuture<DescribeApplicationInstancesResponse> describeApplicationInstances(DescribeApplicationInstancesRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeApplicationInstances").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/app/describeApplicationInstances").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeApplicationInstancesResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeApplicationInstancesResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DescribeApplicationNlbs DescribeApplicationNlbsRequest * @return DescribeApplicationNlbsResponse */ @Override public CompletableFuture<DescribeApplicationNlbsResponse> describeApplicationNlbs(DescribeApplicationNlbsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeApplicationNlbs").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/app/nlb").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeApplicationNlbsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeApplicationNlbsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DescribeApplicationScalingRule DescribeApplicationScalingRuleRequest * @return DescribeApplicationScalingRuleResponse */ @Override public CompletableFuture<DescribeApplicationScalingRuleResponse> describeApplicationScalingRule(DescribeApplicationScalingRuleRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeApplicationScalingRule").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/scale/applicationScalingRule").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeApplicationScalingRuleResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeApplicationScalingRuleResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DescribeApplicationScalingRules DescribeApplicationScalingRulesRequest * @return DescribeApplicationScalingRulesResponse */ @Override public CompletableFuture<DescribeApplicationScalingRulesResponse> describeApplicationScalingRules(DescribeApplicationScalingRulesRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeApplicationScalingRules").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/scale/applicationScalingRules").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeApplicationScalingRulesResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeApplicationScalingRulesResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DescribeApplicationSlbs DescribeApplicationSlbsRequest * @return DescribeApplicationSlbsResponse */ @Override public CompletableFuture<DescribeApplicationSlbsResponse> describeApplicationSlbs(DescribeApplicationSlbsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeApplicationSlbs").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/app/slb").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeApplicationSlbsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeApplicationSlbsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DescribeApplicationStatus DescribeApplicationStatusRequest * @return DescribeApplicationStatusResponse */ @Override public CompletableFuture<DescribeApplicationStatusResponse> describeApplicationStatus(DescribeApplicationStatusRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeApplicationStatus").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/app/describeApplicationStatus").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeApplicationStatusResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeApplicationStatusResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DescribeChangeOrder DescribeChangeOrderRequest * @return DescribeChangeOrderResponse */ @Override public CompletableFuture<DescribeChangeOrderResponse> describeChangeOrder(DescribeChangeOrderRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeChangeOrder").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/changeorder/DescribeChangeOrder").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeChangeOrderResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeChangeOrderResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DescribeComponents DescribeComponentsRequest * @return DescribeComponentsResponse */ @Override public CompletableFuture<DescribeComponentsResponse> describeComponents(DescribeComponentsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeComponents").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/resource/components").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeComponentsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeComponentsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DescribeConfigMap DescribeConfigMapRequest * @return DescribeConfigMapResponse */ @Override public CompletableFuture<DescribeConfigMapResponse> describeConfigMap(DescribeConfigMapRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeConfigMap").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/configmap/configMap").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeConfigMapResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeConfigMapResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DescribeConfigurationPrice DescribeConfigurationPriceRequest * @return DescribeConfigurationPriceResponse */ @Override public CompletableFuture<DescribeConfigurationPriceResponse> describeConfigurationPrice(DescribeConfigurationPriceRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeConfigurationPrice").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/paas/configurationPrice").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeConfigurationPriceResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeConfigurationPriceResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DescribeEdasContainers DescribeEdasContainersRequest * @return DescribeEdasContainersResponse */ @Override public CompletableFuture<DescribeEdasContainersResponse> describeEdasContainers(DescribeEdasContainersRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeEdasContainers").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/resource/edasContainers").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeEdasContainersResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeEdasContainersResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DescribeGreyTagRoute DescribeGreyTagRouteRequest * @return DescribeGreyTagRouteResponse */ @Override public CompletableFuture<DescribeGreyTagRouteResponse> describeGreyTagRoute(DescribeGreyTagRouteRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeGreyTagRoute").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/tagroute/greyTagRoute").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeGreyTagRouteResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeGreyTagRouteResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DescribeIngress DescribeIngressRequest * @return DescribeIngressResponse */ @Override public CompletableFuture<DescribeIngressResponse> describeIngress(DescribeIngressRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeIngress").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/ingress/Ingress").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeIngressResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeIngressResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DescribeInstanceLog DescribeInstanceLogRequest * @return DescribeInstanceLogResponse */ @Override public CompletableFuture<DescribeInstanceLogResponse> describeInstanceLog(DescribeInstanceLogRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeInstanceLog").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/instance/describeInstanceLog").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeInstanceLogResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeInstanceLogResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DescribeInstanceSpecifications DescribeInstanceSpecificationsRequest * @return DescribeInstanceSpecificationsResponse */ @Override public CompletableFuture<DescribeInstanceSpecificationsResponse> describeInstanceSpecifications(DescribeInstanceSpecificationsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeInstanceSpecifications").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/paas/quota/instanceSpecifications").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeInstanceSpecificationsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeInstanceSpecificationsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DescribeJob DescribeJobRequest * @return DescribeJobResponse */ @Override public CompletableFuture<DescribeJobResponse> describeJob(DescribeJobRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeJob").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/job/describeJob").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeJobResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeJobResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DescribeJobHistory DescribeJobHistoryRequest * @return DescribeJobHistoryResponse */ @Override public CompletableFuture<DescribeJobHistoryResponse> describeJobHistory(DescribeJobHistoryRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeJobHistory").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/job/describeJobHistory").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeJobHistoryResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeJobHistoryResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DescribeJobStatus DescribeJobStatusRequest * @return DescribeJobStatusResponse */ @Override public CompletableFuture<DescribeJobStatusResponse> describeJobStatus(DescribeJobStatusRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeJobStatus").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/job/describeJobStatus").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeJobStatusResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeJobStatusResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DescribeNamespace DescribeNamespaceRequest * @return DescribeNamespaceResponse */ @Override public CompletableFuture<DescribeNamespaceResponse> describeNamespace(DescribeNamespaceRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeNamespace").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/paas/namespace").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeNamespaceResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeNamespaceResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DescribeNamespaceList DescribeNamespaceListRequest * @return DescribeNamespaceListResponse */ @Override public CompletableFuture<DescribeNamespaceListResponse> describeNamespaceList(DescribeNamespaceListRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeNamespaceList").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/namespace/describeNamespaceList").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeNamespaceListResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeNamespaceListResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DescribeNamespaceResources DescribeNamespaceResourcesRequest * @return DescribeNamespaceResourcesResponse */ @Override public CompletableFuture<DescribeNamespaceResourcesResponse> describeNamespaceResources(DescribeNamespaceResourcesRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeNamespaceResources").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/namespace/describeNamespaceResources").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeNamespaceResourcesResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeNamespaceResourcesResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DescribeNamespaces DescribeNamespacesRequest * @return DescribeNamespacesResponse */ @Override public CompletableFuture<DescribeNamespacesResponse> describeNamespaces(DescribeNamespacesRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeNamespaces").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/paas/namespaces").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeNamespacesResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeNamespacesResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DescribePipeline DescribePipelineRequest * @return DescribePipelineResponse */ @Override public CompletableFuture<DescribePipelineResponse> describePipeline(DescribePipelineRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribePipeline").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/changeorder/DescribePipeline").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribePipelineResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribePipelineResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DescribeRegions DescribeRegionsRequest * @return DescribeRegionsResponse */ @Override public CompletableFuture<DescribeRegionsResponse> describeRegions(DescribeRegionsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeRegions").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/paas/regionConfig").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeRegionsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeRegionsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DescribeSecret DescribeSecretRequest * @return DescribeSecretResponse */ @Override public CompletableFuture<DescribeSecretResponse> describeSecret(DescribeSecretRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeSecret").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/secret/secret").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeSecretResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeSecretResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DescribeSwimmingLane DescribeSwimmingLaneRequest * @return DescribeSwimmingLaneResponse */ @Override public CompletableFuture<DescribeSwimmingLaneResponse> describeSwimmingLane(DescribeSwimmingLaneRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeSwimmingLane").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/cas/gray/describeSwimmingLane").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeSwimmingLaneResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeSwimmingLaneResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <p>Call the DescribeWebApplication operation to query web applications.</p> * * @param request the request parameters of DescribeWebApplication DescribeWebApplicationRequest * @return DescribeWebApplicationResponse */ @Override public CompletableFuture<DescribeWebApplicationResponse> describeWebApplication(DescribeWebApplicationRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeWebApplication").setMethod(HttpMethod.GET).setPathRegex("/pop/v2/api/web/applications/{ApplicationId}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeWebApplicationResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeWebApplicationResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <p>Query the resource usage of a web application.</p> * * @param request the request parameters of DescribeWebApplicationResourceStatics DescribeWebApplicationResourceStaticsRequest * @return DescribeWebApplicationResourceStaticsResponse */ @Override public CompletableFuture<DescribeWebApplicationResourceStaticsResponse> describeWebApplicationResourceStatics(DescribeWebApplicationResourceStaticsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeWebApplicationResourceStatics").setMethod(HttpMethod.GET).setPathRegex("/pop/v2/api/web/applications-observability/{ApplicationId}/resource").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeWebApplicationResourceStaticsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeWebApplicationResourceStaticsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <p>Describe a web application version.</p> * * @param request the request parameters of DescribeWebApplicationRevision DescribeWebApplicationRevisionRequest * @return DescribeWebApplicationRevisionResponse */ @Override public CompletableFuture<DescribeWebApplicationRevisionResponse> describeWebApplicationRevision(DescribeWebApplicationRevisionRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeWebApplicationRevision").setMethod(HttpMethod.GET).setPathRegex("/pop/v2/api/web/application-revisions/{ApplicationId}/revisions/{RevisionId}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeWebApplicationRevisionResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeWebApplicationRevisionResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <p>Call the DescribeWebApplicationScalingConfig operation to obtain the scaling configuration of a web application.</p> * * @param request the request parameters of DescribeWebApplicationScalingConfig DescribeWebApplicationScalingConfigRequest * @return DescribeWebApplicationScalingConfigResponse */ @Override public CompletableFuture<DescribeWebApplicationScalingConfigResponse> describeWebApplicationScalingConfig(DescribeWebApplicationScalingConfigRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeWebApplicationScalingConfig").setMethod(HttpMethod.GET).setPathRegex("/pop/v2/api/web/application-scaling/{ApplicationId}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeWebApplicationScalingConfigResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeWebApplicationScalingConfigResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <p>Call the DescribeWebApplicationTrafficConfig operation to query the traffic configurations of a web application.</p> * * @param request the request parameters of DescribeWebApplicationTrafficConfig DescribeWebApplicationTrafficConfigRequest * @return DescribeWebApplicationTrafficConfigResponse */ @Override public CompletableFuture<DescribeWebApplicationTrafficConfigResponse> describeWebApplicationTrafficConfig(DescribeWebApplicationTrafficConfigRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeWebApplicationTrafficConfig").setMethod(HttpMethod.GET).setPathRegex("/pop/v2/api/web/application-traffic/{ApplicationId}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeWebApplicationTrafficConfigResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeWebApplicationTrafficConfigResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <p>Query the details of a custom domain name for a web application.</p> * * @param request the request parameters of DescribeWebCustomDomain DescribeWebCustomDomainRequest * @return DescribeWebCustomDomainResponse */ @Override public CompletableFuture<DescribeWebCustomDomainResponse> describeWebCustomDomain(DescribeWebCustomDomainRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeWebCustomDomain").setMethod(HttpMethod.GET).setPathRegex("/pop/v2/api/web/custom-domains/{DomainName}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeWebCustomDomainResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeWebCustomDomainResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <p>Obtain the logs of web application instances.</p> * * @param request the request parameters of DescribeWebInstanceLogs DescribeWebInstanceLogsRequest * @return DescribeWebInstanceLogsResponse */ @Override public CompletableFuture<DescribeWebInstanceLogsResponse> describeWebInstanceLogs(DescribeWebInstanceLogsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DescribeWebInstanceLogs").setMethod(HttpMethod.GET).setPathRegex("/pop/v2/api/web/applications-observability/{ApplicationId}/instances/{InstanceId}/logs").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeWebInstanceLogsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DescribeWebInstanceLogsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DisableApplicationScalingRule DisableApplicationScalingRuleRequest * @return DisableApplicationScalingRuleResponse */ @Override public CompletableFuture<DisableApplicationScalingRuleResponse> disableApplicationScalingRule(DisableApplicationScalingRuleRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DisableApplicationScalingRule").setMethod(HttpMethod.PUT).setPathRegex("/pop/v1/sam/scale/disableApplicationScalingRule").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DisableApplicationScalingRuleResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DisableApplicationScalingRuleResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DowngradeApplicationApmService DowngradeApplicationApmServiceRequest * @return DowngradeApplicationApmServiceResponse */ @Override public CompletableFuture<DowngradeApplicationApmServiceResponse> downgradeApplicationApmService(DowngradeApplicationApmServiceRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DowngradeApplicationApmService").setMethod(HttpMethod.DELETE).setPathRegex("/pop/v1/sam/app/applicationApmService").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DowngradeApplicationApmServiceResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DowngradeApplicationApmServiceResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of EnableApplicationScalingRule EnableApplicationScalingRuleRequest * @return EnableApplicationScalingRuleResponse */ @Override public CompletableFuture<EnableApplicationScalingRuleResponse> enableApplicationScalingRule(EnableApplicationScalingRuleRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("EnableApplicationScalingRule").setMethod(HttpMethod.PUT).setPathRegex("/pop/v1/sam/scale/enableApplicationScalingRule").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(EnableApplicationScalingRuleResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<EnableApplicationScalingRuleResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ExecJob ExecJobRequest * @return ExecJobResponse */ @Override public CompletableFuture<ExecJobResponse> execJob(ExecJobRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ExecJob").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/job/execJob").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ExecJobResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ExecJobResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of GetApplication GetApplicationRequest * @return GetApplicationResponse */ @Override public CompletableFuture<GetApplicationResponse> getApplication(GetApplicationRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("GetApplication").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/app/getApplication").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetApplicationResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<GetApplicationResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of GetArmsTopNMetric GetArmsTopNMetricRequest * @return GetArmsTopNMetricResponse */ @Override public CompletableFuture<GetArmsTopNMetricResponse> getArmsTopNMetric(GetArmsTopNMetricRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("GetArmsTopNMetric").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/getArmsTopNMetric").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetArmsTopNMetricResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<GetArmsTopNMetricResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of GetAvailabilityMetric GetAvailabilityMetricRequest * @return GetAvailabilityMetricResponse */ @Override public CompletableFuture<GetAvailabilityMetricResponse> getAvailabilityMetric(GetAvailabilityMetricRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("GetAvailabilityMetric").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/getAvailabilityMetric").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetAvailabilityMetricResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<GetAvailabilityMetricResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of GetChangeOrderMetric GetChangeOrderMetricRequest * @return GetChangeOrderMetricResponse */ @Override public CompletableFuture<GetChangeOrderMetricResponse> getChangeOrderMetric(GetChangeOrderMetricRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("GetChangeOrderMetric").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/getChangeOrderMetric").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetChangeOrderMetricResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<GetChangeOrderMetricResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of GetScaleAppMetric GetScaleAppMetricRequest * @return GetScaleAppMetricResponse */ @Override public CompletableFuture<GetScaleAppMetricResponse> getScaleAppMetric(GetScaleAppMetricRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("GetScaleAppMetric").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/getScaleAppMetric").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetScaleAppMetricResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<GetScaleAppMetricResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of GetWarningEventMetric GetWarningEventMetricRequest * @return GetWarningEventMetricResponse */ @Override public CompletableFuture<GetWarningEventMetricResponse> getWarningEventMetric(GetWarningEventMetricRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("GetWarningEventMetric").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/getWarningEventMetric").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetWarningEventMetricResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<GetWarningEventMetricResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of GetWebshellToken GetWebshellTokenRequest * @return GetWebshellTokenResponse */ @Override public CompletableFuture<GetWebshellTokenResponse> getWebshellToken(GetWebshellTokenRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("GetWebshellToken").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/instance/webshellToken").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetWebshellTokenResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<GetWebshellTokenResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListAllSwimmingLaneGroups ListAllSwimmingLaneGroupsRequest * @return ListAllSwimmingLaneGroupsResponse */ @Override public CompletableFuture<ListAllSwimmingLaneGroupsResponse> listAllSwimmingLaneGroups(ListAllSwimmingLaneGroupsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListAllSwimmingLaneGroups").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/cas/gray/listSwimmingLaneGroups").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListAllSwimmingLaneGroupsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListAllSwimmingLaneGroupsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListAllSwimmingLanes ListAllSwimmingLanesRequest * @return ListAllSwimmingLanesResponse */ @Override public CompletableFuture<ListAllSwimmingLanesResponse> listAllSwimmingLanes(ListAllSwimmingLanesRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListAllSwimmingLanes").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/cas/gray/listSwimmingLanes").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListAllSwimmingLanesResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListAllSwimmingLanesResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListAppEvents ListAppEventsRequest * @return ListAppEventsResponse */ @Override public CompletableFuture<ListAppEventsResponse> listAppEvents(ListAppEventsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListAppEvents").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/app/listAppEvents").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListAppEventsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListAppEventsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListAppServices ListAppServicesRequest * @return ListAppServicesResponse */ @Override public CompletableFuture<ListAppServicesResponse> listAppServices(ListAppServicesRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListAppServices").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/service/listAppServices").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListAppServicesResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListAppServicesResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListAppServicesPage ListAppServicesPageRequest * @return ListAppServicesPageResponse */ @Override public CompletableFuture<ListAppServicesPageResponse> listAppServicesPage(ListAppServicesPageRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListAppServicesPage").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/service/listAppServicesPage").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListAppServicesPageResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListAppServicesPageResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListAppVersions ListAppVersionsRequest * @return ListAppVersionsResponse */ @Override public CompletableFuture<ListAppVersionsResponse> listAppVersions(ListAppVersionsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListAppVersions").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/app/listAppVersions").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListAppVersionsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListAppVersionsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListApplications ListApplicationsRequest * @return ListApplicationsResponse */ @Override public CompletableFuture<ListApplicationsResponse> listApplications(ListApplicationsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListApplications").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/app/listApplications").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListApplicationsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListApplicationsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListApplicationsForSwimmingLane ListApplicationsForSwimmingLaneRequest * @return ListApplicationsForSwimmingLaneResponse */ @Override public CompletableFuture<ListApplicationsForSwimmingLaneResponse> listApplicationsForSwimmingLane(ListApplicationsForSwimmingLaneRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListApplicationsForSwimmingLane").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/cas/gray/listApplicationsForSwimmingLane").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListApplicationsForSwimmingLaneResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListApplicationsForSwimmingLaneResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListChangeOrders ListChangeOrdersRequest * @return ListChangeOrdersResponse */ @Override public CompletableFuture<ListChangeOrdersResponse> listChangeOrders(ListChangeOrdersRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListChangeOrders").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/changeorder/ListChangeOrders").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListChangeOrdersResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListChangeOrdersResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListConsumedServices ListConsumedServicesRequest * @return ListConsumedServicesResponse */ @Override public CompletableFuture<ListConsumedServicesResponse> listConsumedServices(ListConsumedServicesRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListConsumedServices").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/service/listConsumedServices").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListConsumedServicesResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListConsumedServicesResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <blockquote> * <p> You can configure only one canary release rule for each application.</p> * </blockquote> * * @param request the request parameters of ListGreyTagRoute ListGreyTagRouteRequest * @return ListGreyTagRouteResponse */ @Override public CompletableFuture<ListGreyTagRouteResponse> listGreyTagRoute(ListGreyTagRouteRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListGreyTagRoute").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/tagroute/greyTagRouteList").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListGreyTagRouteResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListGreyTagRouteResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListIngresses ListIngressesRequest * @return ListIngressesResponse */ @Override public CompletableFuture<ListIngressesResponse> listIngresses(ListIngressesRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListIngresses").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/ingress/IngressList").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListIngressesResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListIngressesResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListJobs ListJobsRequest * @return ListJobsResponse */ @Override public CompletableFuture<ListJobsResponse> listJobs(ListJobsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListJobs").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/job/listJobs").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListJobsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListJobsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListLogConfigs ListLogConfigsRequest * @return ListLogConfigsResponse */ @Override public CompletableFuture<ListLogConfigsResponse> listLogConfigs(ListLogConfigsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListLogConfigs").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/log/listLogConfigs").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListLogConfigsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListLogConfigsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListNamespaceChangeOrders ListNamespaceChangeOrdersRequest * @return ListNamespaceChangeOrdersResponse */ @Override public CompletableFuture<ListNamespaceChangeOrdersResponse> listNamespaceChangeOrders(ListNamespaceChangeOrdersRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListNamespaceChangeOrders").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/changeorder/listNamespaceChangeOrders").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListNamespaceChangeOrdersResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListNamespaceChangeOrdersResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListNamespacedConfigMaps ListNamespacedConfigMapsRequest * @return ListNamespacedConfigMapsResponse */ @Override public CompletableFuture<ListNamespacedConfigMapsResponse> listNamespacedConfigMaps(ListNamespacedConfigMapsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListNamespacedConfigMaps").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/configmap/listNamespacedConfigMaps").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListNamespacedConfigMapsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListNamespacedConfigMapsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListPublishedServices ListPublishedServicesRequest * @return ListPublishedServicesResponse */ @Override public CompletableFuture<ListPublishedServicesResponse> listPublishedServices(ListPublishedServicesRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListPublishedServices").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/service/listPublishedServices").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListPublishedServicesResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListPublishedServicesResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListSecrets ListSecretsRequest * @return ListSecretsResponse */ @Override public CompletableFuture<ListSecretsResponse> listSecrets(ListSecretsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListSecrets").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/secret/secrets").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListSecretsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListSecretsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListSwimmingLaneGatewayRoutes ListSwimmingLaneGatewayRoutesRequest * @return ListSwimmingLaneGatewayRoutesResponse */ @Override public CompletableFuture<ListSwimmingLaneGatewayRoutesResponse> listSwimmingLaneGatewayRoutes(ListSwimmingLaneGatewayRoutesRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListSwimmingLaneGatewayRoutes").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/cas/gray/listSwimmingLaneGatewayRoutes").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListSwimmingLaneGatewayRoutesResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListSwimmingLaneGatewayRoutesResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListSwimmingLaneGroupTags ListSwimmingLaneGroupTagsRequest * @return ListSwimmingLaneGroupTagsResponse */ @Override public CompletableFuture<ListSwimmingLaneGroupTagsResponse> listSwimmingLaneGroupTags(ListSwimmingLaneGroupTagsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListSwimmingLaneGroupTags").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/cas/gray/listSwimmingLaneGroupTags").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListSwimmingLaneGroupTagsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListSwimmingLaneGroupTagsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListTagResources ListTagResourcesRequest * @return ListTagResourcesResponse */ @Override public CompletableFuture<ListTagResourcesResponse> listTagResources(ListTagResourcesRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListTagResources").setMethod(HttpMethod.GET).setPathRegex("/tags").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListTagResourcesResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListTagResourcesResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <p>Query the list of web application instances.</p> * * @param request the request parameters of ListWebApplicationInstances ListWebApplicationInstancesRequest * @return ListWebApplicationInstancesResponse */ @Override public CompletableFuture<ListWebApplicationInstancesResponse> listWebApplicationInstances(ListWebApplicationInstancesRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListWebApplicationInstances").setMethod(HttpMethod.GET).setPathRegex("/pop/v2/api/web/applications-observability/{ApplicationId}/instances").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListWebApplicationInstancesResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListWebApplicationInstancesResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <p>Query the list of web application versions.</p> * * @param request the request parameters of ListWebApplicationRevisions ListWebApplicationRevisionsRequest * @return ListWebApplicationRevisionsResponse */ @Override public CompletableFuture<ListWebApplicationRevisionsResponse> listWebApplicationRevisions(ListWebApplicationRevisionsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListWebApplicationRevisions").setMethod(HttpMethod.GET).setPathRegex("/pop/v2/api/web/application-revisions/{ApplicationId}/revisions").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListWebApplicationRevisionsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListWebApplicationRevisionsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <p>Call the ListWebApplications operation to query the list of web applications.</p> * * @param request the request parameters of ListWebApplications ListWebApplicationsRequest * @return ListWebApplicationsResponse */ @Override public CompletableFuture<ListWebApplicationsResponse> listWebApplications(ListWebApplicationsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListWebApplications").setMethod(HttpMethod.GET).setPathRegex("/pop/v2/api/web/applications").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListWebApplicationsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListWebApplicationsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <p>Query available custom domain names.</p> * * @param request the request parameters of ListWebCustomDomains ListWebCustomDomainsRequest * @return ListWebCustomDomainsResponse */ @Override public CompletableFuture<ListWebCustomDomainsResponse> listWebCustomDomains(ListWebCustomDomainsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListWebCustomDomains").setMethod(HttpMethod.GET).setPathRegex("/pop/v2/api/web/custom-domains").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListWebCustomDomainsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListWebCustomDomainsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <blockquote> * <p>Make sure that your account balance is greater than 0. Otherwise, the SAE service cannot be activated.</p> * </blockquote> * * @param request the request parameters of OpenSaeService OpenSaeServiceRequest * @return OpenSaeServiceResponse */ @Override public CompletableFuture<OpenSaeServiceResponse> openSaeService(OpenSaeServiceRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("OpenSaeService").setMethod(HttpMethod.POST).setPathRegex("/service/open").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(OpenSaeServiceResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<OpenSaeServiceResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <p>Publish a web application version. You can change the configurations of the version and create a new version.</p> * * @param request the request parameters of PublishWebApplicationRevision PublishWebApplicationRevisionRequest * @return PublishWebApplicationRevisionResponse */ @Override public CompletableFuture<PublishWebApplicationRevisionResponse> publishWebApplicationRevision(PublishWebApplicationRevisionRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("PublishWebApplicationRevision").setMethod(HttpMethod.POST).setPathRegex("/pop/v2/api/web/application-revisions/{ApplicationId}/revisions").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(PublishWebApplicationRevisionResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<PublishWebApplicationRevisionResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of QueryResourceStatics QueryResourceStaticsRequest * @return QueryResourceStaticsResponse */ @Override public CompletableFuture<QueryResourceStaticsResponse> queryResourceStatics(QueryResourceStaticsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("QueryResourceStatics").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/paas/quota/queryResourceStatics").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(QueryResourceStaticsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<QueryResourceStaticsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ReduceApplicationCapacityByInstanceIds ReduceApplicationCapacityByInstanceIdsRequest * @return ReduceApplicationCapacityByInstanceIdsResponse */ @Override public CompletableFuture<ReduceApplicationCapacityByInstanceIdsResponse> reduceApplicationCapacityByInstanceIds(ReduceApplicationCapacityByInstanceIdsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ReduceApplicationCapacityByInstanceIds").setMethod(HttpMethod.PUT).setPathRegex("/pop/v1/sam/app/ScaleInApplicationWithInstanceIds").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ReduceApplicationCapacityByInstanceIdsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ReduceApplicationCapacityByInstanceIdsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of RescaleApplication RescaleApplicationRequest * @return RescaleApplicationResponse */ @Override public CompletableFuture<RescaleApplicationResponse> rescaleApplication(RescaleApplicationRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("RescaleApplication").setMethod(HttpMethod.PUT).setPathRegex("/pop/v1/sam/app/rescaleApplication").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(RescaleApplicationResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<RescaleApplicationResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of RescaleApplicationVertically RescaleApplicationVerticallyRequest * @return RescaleApplicationVerticallyResponse */ @Override public CompletableFuture<RescaleApplicationVerticallyResponse> rescaleApplicationVertically(RescaleApplicationVerticallyRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("RescaleApplicationVertically").setMethod(HttpMethod.POST).setPathRegex("/pop/v1/sam/app/rescaleApplicationVertically").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(RescaleApplicationVerticallyResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<RescaleApplicationVerticallyResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of RestartApplication RestartApplicationRequest * @return RestartApplicationResponse */ @Override public CompletableFuture<RestartApplicationResponse> restartApplication(RestartApplicationRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("RestartApplication").setMethod(HttpMethod.PUT).setPathRegex("/pop/v1/sam/app/restartApplication").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(RestartApplicationResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<RestartApplicationResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of RestartInstances RestartInstancesRequest * @return RestartInstancesResponse */ @Override public CompletableFuture<RestartInstancesResponse> restartInstances(RestartInstancesRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("RestartInstances").setMethod(HttpMethod.PUT).setPathRegex("/pop/v1/sam/app/restartInstances").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(RestartInstancesResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<RestartInstancesResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of RollbackApplication RollbackApplicationRequest * @return RollbackApplicationResponse */ @Override public CompletableFuture<RollbackApplicationResponse> rollbackApplication(RollbackApplicationRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("RollbackApplication").setMethod(HttpMethod.PUT).setPathRegex("/pop/v1/sam/app/rollbackApplication").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(RollbackApplicationResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<RollbackApplicationResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of StartApplication StartApplicationRequest * @return StartApplicationResponse */ @Override public CompletableFuture<StartApplicationResponse> startApplication(StartApplicationRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("StartApplication").setMethod(HttpMethod.PUT).setPathRegex("/pop/v1/sam/app/startApplication").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(StartApplicationResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<StartApplicationResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <p>Call the StartWebApplication operation to start a web application.</p> * * @param request the request parameters of StartWebApplication StartWebApplicationRequest * @return StartWebApplicationResponse */ @Override public CompletableFuture<StartWebApplicationResponse> startWebApplication(StartWebApplicationRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("StartWebApplication").setMethod(HttpMethod.POST).setPathRegex("/pop/v2/api/web/application-ops/{ApplicationId}/start").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(StartWebApplicationResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<StartWebApplicationResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of StopApplication StopApplicationRequest * @return StopApplicationResponse */ @Override public CompletableFuture<StopApplicationResponse> stopApplication(StopApplicationRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("StopApplication").setMethod(HttpMethod.PUT).setPathRegex("/pop/v1/sam/app/stopApplication").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(StopApplicationResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<StopApplicationResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <p>Call the StopWebApplication operation to stop a web application.</p> * * @param request the request parameters of StopWebApplication StopWebApplicationRequest * @return StopWebApplicationResponse */ @Override public CompletableFuture<StopWebApplicationResponse> stopWebApplication(StopWebApplicationRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("StopWebApplication").setMethod(HttpMethod.POST).setPathRegex("/pop/v2/api/web/application-ops/{ApplicationId}/stop").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(StopWebApplicationResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<StopWebApplicationResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of SuspendJob SuspendJobRequest * @return SuspendJobResponse */ @Override public CompletableFuture<SuspendJobResponse> suspendJob(SuspendJobRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("SuspendJob").setMethod(HttpMethod.GET).setPathRegex("/pop/v1/sam/job/suspendJob").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SuspendJobResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<SuspendJobResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of TagResources TagResourcesRequest * @return TagResourcesResponse */ @Override public CompletableFuture<TagResourcesResponse> tagResources(TagResourcesRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("TagResources").setMethod(HttpMethod.POST).setPathRegex("/tags").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(TagResourcesResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<TagResourcesResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of UnbindNlb UnbindNlbRequest * @return UnbindNlbResponse */ @Override public CompletableFuture<UnbindNlbResponse> unbindNlb(UnbindNlbRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("UnbindNlb").setMethod(HttpMethod.DELETE).setPathRegex("/pop/v1/sam/app/nlb").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UnbindNlbResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<UnbindNlbResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of UnbindSlb UnbindSlbRequest * @return UnbindSlbResponse */ @Override public CompletableFuture<UnbindSlbResponse> unbindSlb(UnbindSlbRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("UnbindSlb").setMethod(HttpMethod.DELETE).setPathRegex("/pop/v1/sam/app/slb").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UnbindSlbResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<UnbindSlbResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of UntagResources UntagResourcesRequest * @return UntagResourcesResponse */ @Override public CompletableFuture<UntagResourcesResponse> untagResources(UntagResourcesRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("UntagResources").setMethod(HttpMethod.DELETE).setPathRegex("/tags").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UntagResourcesResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<UntagResourcesResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of UpdateAppMode UpdateAppModeRequest * @return UpdateAppModeResponse */ @Override public CompletableFuture<UpdateAppModeResponse> updateAppMode(UpdateAppModeRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("UpdateAppMode").setMethod(HttpMethod.PUT).setPathRegex("/pop/v1/sam/app/updateAppMode").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateAppModeResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<UpdateAppModeResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of UpdateAppSecurityGroup UpdateAppSecurityGroupRequest * @return UpdateAppSecurityGroupResponse */ @Override public CompletableFuture<UpdateAppSecurityGroupResponse> updateAppSecurityGroup(UpdateAppSecurityGroupRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("UpdateAppSecurityGroup").setMethod(HttpMethod.PUT).setPathRegex("/pop/v1/sam/app/updateAppSecurityGroup").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateAppSecurityGroupResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<UpdateAppSecurityGroupResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of UpdateApplicationDescription UpdateApplicationDescriptionRequest * @return UpdateApplicationDescriptionResponse */ @Override public CompletableFuture<UpdateApplicationDescriptionResponse> updateApplicationDescription(UpdateApplicationDescriptionRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("UpdateApplicationDescription").setMethod(HttpMethod.PUT).setPathRegex("/pop/v1/sam/app/updateAppDescription").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateApplicationDescriptionResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<UpdateApplicationDescriptionResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <h2></h2> * <p>If you want to configure more than 50 instances for an application, you must submit a <a href="https://workorder.console.aliyun.com/#/ticket/createIndex">ticket</a> to add your account to the whitelist.</p> * * @param request the request parameters of UpdateApplicationScalingRule UpdateApplicationScalingRuleRequest * @return UpdateApplicationScalingRuleResponse */ @Override public CompletableFuture<UpdateApplicationScalingRuleResponse> updateApplicationScalingRule(UpdateApplicationScalingRuleRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("UpdateApplicationScalingRule").setMethod(HttpMethod.PUT).setPathRegex("/pop/v1/sam/scale/applicationScalingRule").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateApplicationScalingRuleResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<UpdateApplicationScalingRuleResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of UpdateApplicationVswitches UpdateApplicationVswitchesRequest * @return UpdateApplicationVswitchesResponse */ @Override public CompletableFuture<UpdateApplicationVswitchesResponse> updateApplicationVswitches(UpdateApplicationVswitchesRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("UpdateApplicationVswitches").setMethod(HttpMethod.PUT).setPathRegex("/pop/v1/sam/app/updateAppVswitches").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateApplicationVswitchesResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<UpdateApplicationVswitchesResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of UpdateConfigMap UpdateConfigMapRequest * @return UpdateConfigMapResponse */ @Override public CompletableFuture<UpdateConfigMapResponse> updateConfigMap(UpdateConfigMapRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("UpdateConfigMap").setMethod(HttpMethod.PUT).setPathRegex("/pop/v1/sam/configmap/configMap").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateConfigMapResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<UpdateConfigMapResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of UpdateGreyTagRoute UpdateGreyTagRouteRequest * @return UpdateGreyTagRouteResponse */ @Override public CompletableFuture<UpdateGreyTagRouteResponse> updateGreyTagRoute(UpdateGreyTagRouteRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("UpdateGreyTagRoute").setMethod(HttpMethod.PUT).setPathRegex("/pop/v1/sam/tagroute/greyTagRoute").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateGreyTagRouteResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<UpdateGreyTagRouteResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of UpdateIngress UpdateIngressRequest * @return UpdateIngressResponse */ @Override public CompletableFuture<UpdateIngressResponse> updateIngress(UpdateIngressRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("UpdateIngress").setMethod(HttpMethod.PUT).setPathRegex("/pop/v1/sam/ingress/Ingress").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateIngressResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<UpdateIngressResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of UpdateJob UpdateJobRequest * @return UpdateJobResponse */ @Override public CompletableFuture<UpdateJobResponse> updateJob(UpdateJobRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("UpdateJob").setMethod(HttpMethod.POST).setPathRegex("/pop/v1/sam/job/updateJob").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateJobResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<UpdateJobResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of UpdateNamespace UpdateNamespaceRequest * @return UpdateNamespaceResponse */ @Override public CompletableFuture<UpdateNamespaceResponse> updateNamespace(UpdateNamespaceRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("UpdateNamespace").setMethod(HttpMethod.PUT).setPathRegex("/pop/v1/paas/namespace").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateNamespaceResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<UpdateNamespaceResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of UpdateNamespaceVpc UpdateNamespaceVpcRequest * @return UpdateNamespaceVpcResponse */ @Override public CompletableFuture<UpdateNamespaceVpcResponse> updateNamespaceVpc(UpdateNamespaceVpcRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("UpdateNamespaceVpc").setMethod(HttpMethod.POST).setPathRegex("/pop/v1/sam/namespace/updateNamespaceVpc").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateNamespaceVpcResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<UpdateNamespaceVpcResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of UpdateSecret UpdateSecretRequest * @return UpdateSecretResponse */ @Override public CompletableFuture<UpdateSecretResponse> updateSecret(UpdateSecretRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("UpdateSecret").setMethod(HttpMethod.PUT).setPathRegex("/pop/v1/sam/secret/secret").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateSecretResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<UpdateSecretResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of UpdateSwimmingLaneEnableAttribute UpdateSwimmingLaneEnableAttributeRequest * @return UpdateSwimmingLaneEnableAttributeResponse */ @Override public CompletableFuture<UpdateSwimmingLaneEnableAttributeResponse> updateSwimmingLaneEnableAttribute(UpdateSwimmingLaneEnableAttributeRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("UpdateSwimmingLaneEnableAttribute").setMethod(HttpMethod.POST).setPathRegex("/pop/v1/cas/gray/updateSwimmingLaneEnableAttribute").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateSwimmingLaneEnableAttributeResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<UpdateSwimmingLaneEnableAttributeResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <p>You can call the UpdateWebApplication operation to update the configuration at the web application level.</p> * * @param request the request parameters of UpdateWebApplication UpdateWebApplicationRequest * @return UpdateWebApplicationResponse */ @Override public CompletableFuture<UpdateWebApplicationResponse> updateWebApplication(UpdateWebApplicationRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("UpdateWebApplication").setMethod(HttpMethod.PUT).setPathRegex("/pop/v2/api/web/applications/{ApplicationId}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateWebApplicationResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<UpdateWebApplicationResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <p>You can call the UpdateWebApplicationScalingConfig operation to update the scaling configurations of a web application.</p> * * @param request the request parameters of UpdateWebApplicationScalingConfig UpdateWebApplicationScalingConfigRequest * @return UpdateWebApplicationScalingConfigResponse */ @Override public CompletableFuture<UpdateWebApplicationScalingConfigResponse> updateWebApplicationScalingConfig(UpdateWebApplicationScalingConfigRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("UpdateWebApplicationScalingConfig").setMethod(HttpMethod.PUT).setPathRegex("/pop/v2/api/web/application-scaling/{ApplicationId}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateWebApplicationScalingConfigResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<UpdateWebApplicationScalingConfigResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <p>Call the UpdateWebApplicationTrafficConfig operation to update the traffic configurations of a web application.</p> * * @param request the request parameters of UpdateWebApplicationTrafficConfig UpdateWebApplicationTrafficConfigRequest * @return UpdateWebApplicationTrafficConfigResponse */ @Override public CompletableFuture<UpdateWebApplicationTrafficConfigResponse> updateWebApplicationTrafficConfig(UpdateWebApplicationTrafficConfigRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("UpdateWebApplicationTrafficConfig").setMethod(HttpMethod.PUT).setPathRegex("/pop/v2/api/web/application-traffic/{ApplicationId}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateWebApplicationTrafficConfigResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<UpdateWebApplicationTrafficConfigResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <p>Update a custom domain name.</p> * * @param request the request parameters of UpdateWebCustomDomain UpdateWebCustomDomainRequest * @return UpdateWebCustomDomainResponse */ @Override public CompletableFuture<UpdateWebCustomDomainResponse> updateWebCustomDomain(UpdateWebCustomDomainRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("UpdateWebCustomDomain").setMethod(HttpMethod.PUT).setPathRegex("/pop/v2/api/web/custom-domains/{DomainName}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateWebCustomDomainResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<UpdateWebCustomDomainResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <p>You are charged when you use the ARMS advanced monitoring feature. Enable this feature based on your business requirements. For more information, see <a href="https://icms.alibaba-inc.com/content/arms/arms?l=1%5C&m=16992%5C&n=3183148">Billing overview</a>.</p> * * @param request the request parameters of UpgradeApplicationApmService UpgradeApplicationApmServiceRequest * @return UpgradeApplicationApmServiceResponse */ @Override public CompletableFuture<UpgradeApplicationApmServiceResponse> upgradeApplicationApmService(UpgradeApplicationApmServiceRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("UpgradeApplicationApmService").setMethod(HttpMethod.POST).setPathRegex("/pop/v1/sam/app/applicationApmService").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpgradeApplicationApmServiceResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<UpgradeApplicationApmServiceResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/DefaultAsyncClientBuilder.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506; import com.aliyun.sdk.gateway.pop.BaseClientBuilder; public final class DefaultAsyncClientBuilder extends BaseClientBuilder<DefaultAsyncClientBuilder, AsyncClient> { @Override protected String serviceName() { return "sae20190506"; } @Override protected final AsyncClient buildClient() { return new DefaultAsyncClient(super.applyClientConfiguration()); } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/AbortAndRollbackChangeOrderRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link AbortAndRollbackChangeOrderRequest} extends {@link RequestModel} * * <p>AbortAndRollbackChangeOrderRequest</p> */ public class AbortAndRollbackChangeOrderRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ChangeOrderId") @com.aliyun.core.annotation.Validation(required = true) private String changeOrderId; private AbortAndRollbackChangeOrderRequest(Builder builder) { super(builder); this.changeOrderId = builder.changeOrderId; } public static Builder builder() { return new Builder(); } public static AbortAndRollbackChangeOrderRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return changeOrderId */ public String getChangeOrderId() { return this.changeOrderId; } public static final class Builder extends Request.Builder<AbortAndRollbackChangeOrderRequest, Builder> { private String changeOrderId; private Builder() { super(); } private Builder(AbortAndRollbackChangeOrderRequest request) { super(request); this.changeOrderId = request.changeOrderId; } /** * <p>The ID of the change order.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ba386059-69b1-4e65-b1e5-0682d9fa****</p> */ public Builder changeOrderId(String changeOrderId) { this.putQueryParameter("ChangeOrderId", changeOrderId); this.changeOrderId = changeOrderId; return this; } @Override public AbortAndRollbackChangeOrderRequest build() { return new AbortAndRollbackChangeOrderRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/AbortAndRollbackChangeOrderResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link AbortAndRollbackChangeOrderResponse} extends {@link TeaModel} * * <p>AbortAndRollbackChangeOrderResponse</p> */ public class AbortAndRollbackChangeOrderResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private AbortAndRollbackChangeOrderResponseBody body; private AbortAndRollbackChangeOrderResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static AbortAndRollbackChangeOrderResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public AbortAndRollbackChangeOrderResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<AbortAndRollbackChangeOrderResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(AbortAndRollbackChangeOrderResponseBody body); @Override AbortAndRollbackChangeOrderResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<AbortAndRollbackChangeOrderResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private AbortAndRollbackChangeOrderResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(AbortAndRollbackChangeOrderResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(AbortAndRollbackChangeOrderResponseBody body) { this.body = body; return this; } @Override public AbortAndRollbackChangeOrderResponse build() { return new AbortAndRollbackChangeOrderResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/AbortAndRollbackChangeOrderResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link AbortAndRollbackChangeOrderResponseBody} extends {@link TeaModel} * * <p>AbortAndRollbackChangeOrderResponseBody</p> */ public class AbortAndRollbackChangeOrderResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("ErrorCode") private String errorCode; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; @com.aliyun.core.annotation.NameInMap("TraceId") private String traceId; private AbortAndRollbackChangeOrderResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.errorCode = builder.errorCode; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; this.traceId = builder.traceId; } public static Builder builder() { return new Builder(); } public static AbortAndRollbackChangeOrderResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return errorCode */ public String getErrorCode() { return this.errorCode; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } /** * @return traceId */ public String getTraceId() { return this.traceId; } public static final class Builder { private String code; private Data data; private String errorCode; private String message; private String requestId; private Boolean success; private String traceId; private Builder() { } private Builder(AbortAndRollbackChangeOrderResponseBody model) { this.code = model.code; this.data = model.data; this.errorCode = model.errorCode; this.message = model.message; this.requestId = model.requestId; this.success = model.success; this.traceId = model.traceId; } /** * <p>The HTTP status code. Valid values:</p> * <ul> * <li><strong>2xx</strong>: The call was successful.</li> * <li><strong>3xx</strong>: The call was redirected.</li> * <li><strong>4xx</strong>: The call failed.</li> * <li><strong>5xx</strong>: A server error occurred.</li> * </ul> * * <strong>example:</strong> * <p>200</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The details of the change order.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The error code. Valid values:</p> * <ul> * <li>If the call is successful, the <strong>ErrorCode</strong> parameter is not returned.</li> * <li>If the call fails, the <strong>ErrorCode</strong> parameter is returned. For more information, see the <strong>Error codes</strong> section in this topic.</li> * </ul> * * <strong>example:</strong> * <p>success</p> */ public Builder errorCode(String errorCode) { this.errorCode = errorCode; return this; } /** * <p>The returned message.</p> * * <strong>example:</strong> * <p>success</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>91F93257-7A4A-4BD3-9A7E-2F6EAE6D****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the change order was terminated. Valid values:</p> * <ul> * <li><strong>true</strong>: The change order was terminated.</li> * <li><strong>false</strong>: The change order failed to be terminated.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } /** * <p>The trace ID that is used to query the details of the request.</p> * * <strong>example:</strong> * <p>0a98a02315955564772843261e****</p> */ public Builder traceId(String traceId) { this.traceId = traceId; return this; } public AbortAndRollbackChangeOrderResponseBody build() { return new AbortAndRollbackChangeOrderResponseBody(this); } } /** * * {@link AbortAndRollbackChangeOrderResponseBody} extends {@link TeaModel} * * <p>AbortAndRollbackChangeOrderResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("ChangeOrderId") private String changeOrderId; private Data(Builder builder) { this.changeOrderId = builder.changeOrderId; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return changeOrderId */ public String getChangeOrderId() { return this.changeOrderId; } public static final class Builder { private String changeOrderId; private Builder() { } private Builder(Data model) { this.changeOrderId = model.changeOrderId; } /** * <p>The ID of the change order.</p> * * <strong>example:</strong> * <p>ba386059-69b1-4e65-b1e5-0682d9fa****</p> */ public Builder changeOrderId(String changeOrderId) { this.changeOrderId = changeOrderId; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/AbortChangeOrderRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link AbortChangeOrderRequest} extends {@link RequestModel} * * <p>AbortChangeOrderRequest</p> */ public class AbortChangeOrderRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ChangeOrderId") @com.aliyun.core.annotation.Validation(required = true) private String changeOrderId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Rollback") private Boolean rollback; private AbortChangeOrderRequest(Builder builder) { super(builder); this.changeOrderId = builder.changeOrderId; this.rollback = builder.rollback; } public static Builder builder() { return new Builder(); } public static AbortChangeOrderRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return changeOrderId */ public String getChangeOrderId() { return this.changeOrderId; } /** * @return rollback */ public Boolean getRollback() { return this.rollback; } public static final class Builder extends Request.Builder<AbortChangeOrderRequest, Builder> { private String changeOrderId; private Boolean rollback; private Builder() { super(); } private Builder(AbortChangeOrderRequest request) { super(request); this.changeOrderId = request.changeOrderId; this.rollback = request.rollback; } /** * <p>The ID of the change order.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>be2e1c76-682b-4897-98d3-1d8d6478****</p> */ public Builder changeOrderId(String changeOrderId) { this.putQueryParameter("ChangeOrderId", changeOrderId); this.changeOrderId = changeOrderId; return this; } /** * Rollback. */ public Builder rollback(Boolean rollback) { this.putQueryParameter("Rollback", rollback); this.rollback = rollback; return this; } @Override public AbortChangeOrderRequest build() { return new AbortChangeOrderRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/AbortChangeOrderResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link AbortChangeOrderResponse} extends {@link TeaModel} * * <p>AbortChangeOrderResponse</p> */ public class AbortChangeOrderResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private AbortChangeOrderResponseBody body; private AbortChangeOrderResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static AbortChangeOrderResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public AbortChangeOrderResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<AbortChangeOrderResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(AbortChangeOrderResponseBody body); @Override AbortChangeOrderResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<AbortChangeOrderResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private AbortChangeOrderResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(AbortChangeOrderResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(AbortChangeOrderResponseBody body) { this.body = body; return this; } @Override public AbortChangeOrderResponse build() { return new AbortChangeOrderResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/AbortChangeOrderResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link AbortChangeOrderResponseBody} extends {@link TeaModel} * * <p>AbortChangeOrderResponseBody</p> */ public class AbortChangeOrderResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("ErrorCode") private String errorCode; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; @com.aliyun.core.annotation.NameInMap("TraceId") private String traceId; private AbortChangeOrderResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.errorCode = builder.errorCode; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; this.traceId = builder.traceId; } public static Builder builder() { return new Builder(); } public static AbortChangeOrderResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return errorCode */ public String getErrorCode() { return this.errorCode; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } /** * @return traceId */ public String getTraceId() { return this.traceId; } public static final class Builder { private String code; private Data data; private String errorCode; private String message; private String requestId; private Boolean success; private String traceId; private Builder() { } private Builder(AbortChangeOrderResponseBody model) { this.code = model.code; this.data = model.data; this.errorCode = model.errorCode; this.message = model.message; this.requestId = model.requestId; this.success = model.success; this.traceId = model.traceId; } /** * <p>The HTTP status code. Valid values:</p> * <ul> * <li><strong>2xx</strong>: The request was successful.</li> * <li><strong>3xx</strong>: The request was redirected.</li> * <li><strong>4xx</strong>: The request failed.</li> * <li><strong>5xx</strong>: A server error occurred.</li> * </ul> * * <strong>example:</strong> * <p>200</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The data returned.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The error code. Value values:</p> * <ul> * <li><strong>ErrorCode</strong> is not returned if a request is successful.</li> * <li><strong>ErrorCode</strong> is returned if a request failed. For more information, see <strong>Error code</strong> section of this topic.</li> * </ul> */ public Builder errorCode(String errorCode) { this.errorCode = errorCode; return this; } /** * <p>The message returned for the operation.</p> * * <strong>example:</strong> * <p>success</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>91F93257-7A4A-4BD3-9A7E-2F6EAE6D****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the change order was terminated. Valid values:</p> * <ul> * <li><strong>true</strong>: The change order was terminated.</li> * <li><strong>false</strong>: The change order failed to be terminated.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } /** * <p>The ID of the trace.</p> * * <strong>example:</strong> * <p>0a98a02315955564772843261e****</p> */ public Builder traceId(String traceId) { this.traceId = traceId; return this; } public AbortChangeOrderResponseBody build() { return new AbortChangeOrderResponseBody(this); } } /** * * {@link AbortChangeOrderResponseBody} extends {@link TeaModel} * * <p>AbortChangeOrderResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("ChangeOrderId") private String changeOrderId; private Data(Builder builder) { this.changeOrderId = builder.changeOrderId; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return changeOrderId */ public String getChangeOrderId() { return this.changeOrderId; } public static final class Builder { private String changeOrderId; private Builder() { } private Builder(Data model) { this.changeOrderId = model.changeOrderId; } /** * <p>The ID of the change order.</p> * * <strong>example:</strong> * <p>be2e1c76-682b-4897-98d3-1d8d6478****</p> */ public Builder changeOrderId(String changeOrderId) { this.changeOrderId = changeOrderId; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/AclConfig.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link AclConfig} extends {@link TeaModel} * * <p>AclConfig</p> */ public class AclConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("aclEntries") @com.aliyun.core.annotation.Validation(required = true) private java.util.List<AclEntryConfig> aclEntries; private AclConfig(Builder builder) { this.aclEntries = builder.aclEntries; } public static Builder builder() { return new Builder(); } public static AclConfig create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return aclEntries */ public java.util.List<AclEntryConfig> getAclEntries() { return this.aclEntries; } public static final class Builder { private java.util.List<AclEntryConfig> aclEntries; private Builder() { } private Builder(AclConfig model) { this.aclEntries = model.aclEntries; } /** * <p>This parameter is required.</p> */ public Builder aclEntries(java.util.List<AclEntryConfig> aclEntries) { this.aclEntries = aclEntries; return this; } public AclConfig build() { return new AclConfig(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/AclEntryConfig.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link AclEntryConfig} extends {@link TeaModel} * * <p>AclEntryConfig</p> */ public class AclEntryConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("entry") @com.aliyun.core.annotation.Validation(required = true) private String entry; private AclEntryConfig(Builder builder) { this.entry = builder.entry; } public static Builder builder() { return new Builder(); } public static AclEntryConfig create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return entry */ public String getEntry() { return this.entry; } public static final class Builder { private String entry; private Builder() { } private Builder(AclEntryConfig model) { this.entry = model.entry; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1.2.3.4/32</p> */ public Builder entry(String entry) { this.entry = entry; return this; } public AclEntryConfig build() { return new AclEntryConfig(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/AppStackInstance.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link AppStackInstance} extends {@link TeaModel} * * <p>AppStackInstance</p> */ public class AppStackInstance extends TeaModel { @com.aliyun.core.annotation.NameInMap("CreateTime") private Long createTime; @com.aliyun.core.annotation.NameInMap("Endpoints") private java.util.List<Endpoints> endpoints; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("InstanceName") private String instanceName; @com.aliyun.core.annotation.NameInMap("Parameters") private java.util.List<Parameters> parameters; @com.aliyun.core.annotation.NameInMap("StackId") private String stackId; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("UpdateTime") private Long updateTime; private AppStackInstance(Builder builder) { this.createTime = builder.createTime; this.endpoints = builder.endpoints; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.parameters = builder.parameters; this.stackId = builder.stackId; this.status = builder.status; this.updateTime = builder.updateTime; } public static Builder builder() { return new Builder(); } public static AppStackInstance create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return createTime */ public Long getCreateTime() { return this.createTime; } /** * @return endpoints */ public java.util.List<Endpoints> getEndpoints() { return this.endpoints; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return parameters */ public java.util.List<Parameters> getParameters() { return this.parameters; } /** * @return stackId */ public String getStackId() { return this.stackId; } /** * @return status */ public String getStatus() { return this.status; } /** * @return updateTime */ public Long getUpdateTime() { return this.updateTime; } public static final class Builder { private Long createTime; private java.util.List<Endpoints> endpoints; private String instanceId; private String instanceName; private java.util.List<Parameters> parameters; private String stackId; private String status; private Long updateTime; private Builder() { } private Builder(AppStackInstance model) { this.createTime = model.createTime; this.endpoints = model.endpoints; this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.parameters = model.parameters; this.stackId = model.stackId; this.status = model.status; this.updateTime = model.updateTime; } /** * CreateTime. */ public Builder createTime(Long createTime) { this.createTime = createTime; return this; } /** * Endpoints. */ public Builder endpoints(java.util.List<Endpoints> endpoints) { this.endpoints = endpoints; return this; } /** * InstanceId. */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * InstanceName. */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * Parameters. */ public Builder parameters(java.util.List<Parameters> parameters) { this.parameters = parameters; return this; } /** * StackId. */ public Builder stackId(String stackId) { this.stackId = stackId; return this; } /** * Status. */ public Builder status(String status) { this.status = status; return this; } /** * UpdateTime. */ public Builder updateTime(Long updateTime) { this.updateTime = updateTime; return this; } public AppStackInstance build() { return new AppStackInstance(this); } } /** * * {@link AppStackInstance} extends {@link TeaModel} * * <p>AppStackInstance</p> */ public static class Endpoints extends TeaModel { @com.aliyun.core.annotation.NameInMap("Address") private String address; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("Protocol") private String protocol; private Endpoints(Builder builder) { this.address = builder.address; this.name = builder.name; this.protocol = builder.protocol; } public static Builder builder() { return new Builder(); } public static Endpoints create() { return builder().build(); } /** * @return address */ public String getAddress() { return this.address; } /** * @return name */ public String getName() { return this.name; } /** * @return protocol */ public String getProtocol() { return this.protocol; } public static final class Builder { private String address; private String name; private String protocol; private Builder() { } private Builder(Endpoints model) { this.address = model.address; this.name = model.name; this.protocol = model.protocol; } /** * Address. */ public Builder address(String address) { this.address = address; return this; } /** * Name. */ public Builder name(String name) { this.name = name; return this; } /** * Protocol. */ public Builder protocol(String protocol) { this.protocol = protocol; return this; } public Endpoints build() { return new Endpoints(this); } } } /** * * {@link AppStackInstance} extends {@link TeaModel} * * <p>AppStackInstance</p> */ public static class Parameters extends TeaModel { @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("Value") private String value; private Parameters(Builder builder) { this.name = builder.name; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static Parameters create() { return builder().build(); } /** * @return name */ public String getName() { return this.name; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String name; private String value; private Builder() { } private Builder(Parameters model) { this.name = model.name; this.value = model.value; } /** * Name. */ public Builder name(String name) { this.name = name; return this; } /** * Value. */ public Builder value(String value) { this.value = value; return this; } public Parameters build() { return new Parameters(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/AppStackResource.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link AppStackResource} extends {@link TeaModel} * * <p>AppStackResource</p> */ public class AppStackResource extends TeaModel { @com.aliyun.core.annotation.NameInMap("CreateTime") private Long createTime; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("ProductCode") private String productCode; @com.aliyun.core.annotation.NameInMap("ResourceId") private String resourceId; @com.aliyun.core.annotation.NameInMap("ResourceName") private String resourceName; @com.aliyun.core.annotation.NameInMap("ResourceType") private String resourceType; @com.aliyun.core.annotation.NameInMap("StackId") private String stackId; @com.aliyun.core.annotation.NameInMap("Status") private String status; private AppStackResource(Builder builder) { this.createTime = builder.createTime; this.instanceId = builder.instanceId; this.productCode = builder.productCode; this.resourceId = builder.resourceId; this.resourceName = builder.resourceName; this.resourceType = builder.resourceType; this.stackId = builder.stackId; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static AppStackResource create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return createTime */ public Long getCreateTime() { return this.createTime; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return productCode */ public String getProductCode() { return this.productCode; } /** * @return resourceId */ public String getResourceId() { return this.resourceId; } /** * @return resourceName */ public String getResourceName() { return this.resourceName; } /** * @return resourceType */ public String getResourceType() { return this.resourceType; } /** * @return stackId */ public String getStackId() { return this.stackId; } /** * @return status */ public String getStatus() { return this.status; } public static final class Builder { private Long createTime; private String instanceId; private String productCode; private String resourceId; private String resourceName; private String resourceType; private String stackId; private String status; private Builder() { } private Builder(AppStackResource model) { this.createTime = model.createTime; this.instanceId = model.instanceId; this.productCode = model.productCode; this.resourceId = model.resourceId; this.resourceName = model.resourceName; this.resourceType = model.resourceType; this.stackId = model.stackId; this.status = model.status; } /** * CreateTime. */ public Builder createTime(Long createTime) { this.createTime = createTime; return this; } /** * InstanceId. */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * ProductCode. */ public Builder productCode(String productCode) { this.productCode = productCode; return this; } /** * ResourceId. */ public Builder resourceId(String resourceId) { this.resourceId = resourceId; return this; } /** * ResourceName. */ public Builder resourceName(String resourceName) { this.resourceName = resourceName; return this; } /** * ResourceType. */ public Builder resourceType(String resourceType) { this.resourceType = resourceType; return this; } /** * StackId. */ public Builder stackId(String stackId) { this.stackId = stackId; return this; } /** * Status. */ public Builder status(String status) { this.status = status; return this; } public AppStackResource build() { return new AppStackResource(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/AppStackTask.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link AppStackTask} extends {@link TeaModel} * * <p>AppStackTask</p> */ public class AppStackTask extends TeaModel { @com.aliyun.core.annotation.NameInMap("CreateTime") private Long createTime; @com.aliyun.core.annotation.NameInMap("EndTime") private Long endTime; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("StackId") private String stackId; @com.aliyun.core.annotation.NameInMap("StartTime") private Long startTime; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("Steps") private java.util.List<Steps> steps; @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; private AppStackTask(Builder builder) { this.createTime = builder.createTime; this.endTime = builder.endTime; this.instanceId = builder.instanceId; this.stackId = builder.stackId; this.startTime = builder.startTime; this.status = builder.status; this.steps = builder.steps; this.taskId = builder.taskId; } public static Builder builder() { return new Builder(); } public static AppStackTask create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return createTime */ public Long getCreateTime() { return this.createTime; } /** * @return endTime */ public Long getEndTime() { return this.endTime; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return stackId */ public String getStackId() { return this.stackId; } /** * @return startTime */ public Long getStartTime() { return this.startTime; } /** * @return status */ public String getStatus() { return this.status; } /** * @return steps */ public java.util.List<Steps> getSteps() { return this.steps; } /** * @return taskId */ public String getTaskId() { return this.taskId; } public static final class Builder { private Long createTime; private Long endTime; private String instanceId; private String stackId; private Long startTime; private String status; private java.util.List<Steps> steps; private String taskId; private Builder() { } private Builder(AppStackTask model) { this.createTime = model.createTime; this.endTime = model.endTime; this.instanceId = model.instanceId; this.stackId = model.stackId; this.startTime = model.startTime; this.status = model.status; this.steps = model.steps; this.taskId = model.taskId; } /** * CreateTime. */ public Builder createTime(Long createTime) { this.createTime = createTime; return this; } /** * EndTime. */ public Builder endTime(Long endTime) { this.endTime = endTime; return this; } /** * InstanceId. */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * StackId. */ public Builder stackId(String stackId) { this.stackId = stackId; return this; } /** * StartTime. */ public Builder startTime(Long startTime) { this.startTime = startTime; return this; } /** * Status. */ public Builder status(String status) { this.status = status; return this; } /** * Steps. */ public Builder steps(java.util.List<Steps> steps) { this.steps = steps; return this; } /** * TaskId. */ public Builder taskId(String taskId) { this.taskId = taskId; return this; } public AppStackTask build() { return new AppStackTask(this); } } /** * * {@link AppStackTask} extends {@link TeaModel} * * <p>AppStackTask</p> */ public static class Steps extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Duration") private Long duration; @com.aliyun.core.annotation.NameInMap("EndTime") private Long endTime; @com.aliyun.core.annotation.NameInMap("Id") private String id; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("StartTime") private Long startTime; @com.aliyun.core.annotation.NameInMap("Status") private String status; private Steps(Builder builder) { this.code = builder.code; this.duration = builder.duration; this.endTime = builder.endTime; this.id = builder.id; this.message = builder.message; this.name = builder.name; this.startTime = builder.startTime; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static Steps create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return duration */ public Long getDuration() { return this.duration; } /** * @return endTime */ public Long getEndTime() { return this.endTime; } /** * @return id */ public String getId() { return this.id; } /** * @return message */ public String getMessage() { return this.message; } /** * @return name */ public String getName() { return this.name; } /** * @return startTime */ public Long getStartTime() { return this.startTime; } /** * @return status */ public String getStatus() { return this.status; } public static final class Builder { private String code; private Long duration; private Long endTime; private String id; private String message; private String name; private Long startTime; private String status; private Builder() { } private Builder(Steps model) { this.code = model.code; this.duration = model.duration; this.endTime = model.endTime; this.id = model.id; this.message = model.message; this.name = model.name; this.startTime = model.startTime; this.status = model.status; } /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * Duration. */ public Builder duration(Long duration) { this.duration = duration; return this; } /** * EndTime. */ public Builder endTime(Long endTime) { this.endTime = endTime; return this; } /** * Id. */ public Builder id(String id) { this.id = id; return this; } /** * Message. */ public Builder message(String message) { this.message = message; return this; } /** * Name. */ public Builder name(String name) { this.name = name; return this; } /** * StartTime. */ public Builder startTime(Long startTime) { this.startTime = startTime; return this; } /** * Status. */ public Builder status(String status) { this.status = status; return this; } public Steps build() { return new Steps(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/Application.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link Application} extends {@link TeaModel} * * <p>Application</p> */ public class Application extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("applicationId") private String applicationId; @com.aliyun.core.annotation.NameInMap("applicationName") private String applicationName; @com.aliyun.core.annotation.NameInMap("args") private String args; @com.aliyun.core.annotation.NameInMap("caPort") private Integer caPort; @com.aliyun.core.annotation.NameInMap("codeChecksum") private String codeChecksum; @com.aliyun.core.annotation.NameInMap("codeSize") private Long codeSize; @com.aliyun.core.annotation.NameInMap("command") private String command; @com.aliyun.core.annotation.NameInMap("cpu") private Float cpu; @com.aliyun.core.annotation.NameInMap("createdTime") private String createdTime; @com.aliyun.core.annotation.NameInMap("customDNS") private CustomDNS customDNS; @com.aliyun.core.annotation.NameInMap("customDomainName") private String customDomainName; @com.aliyun.core.annotation.NameInMap("customHealthCheckConfig") private CustomHealthCheckConfig customHealthCheckConfig; @com.aliyun.core.annotation.NameInMap("customHostAlias") private CustomHostAlias customHostAlias; @com.aliyun.core.annotation.NameInMap("customRuntimeConfig") private CustomRuntimeConfig customRuntimeConfig; @com.aliyun.core.annotation.NameInMap("description") private String description; @com.aliyun.core.annotation.NameInMap("diskSize") private Integer diskSize; @com.aliyun.core.annotation.NameInMap("enableAppMetric") private Boolean enableAppMetric; @com.aliyun.core.annotation.NameInMap("enableArmsAdvanced") private Boolean enableArmsAdvanced; @com.aliyun.core.annotation.NameInMap("environmentVariables") private java.util.Map<String, String> environmentVariables; @com.aliyun.core.annotation.NameInMap("gpuMemorySize") private Integer gpuMemorySize; @com.aliyun.core.annotation.NameInMap("handler") private String handler; @com.aliyun.core.annotation.NameInMap("httpTriggerConfig") private HTTPTriggerConfig httpTriggerConfig; @com.aliyun.core.annotation.NameInMap("imageConfig") private ImageConfig imageConfig; @com.aliyun.core.annotation.NameInMap("initializationTimeout") private Integer initializationTimeout; @com.aliyun.core.annotation.NameInMap("initializer") private String initializer; @com.aliyun.core.annotation.NameInMap("instanceConcurrency") private Integer instanceConcurrency; @com.aliyun.core.annotation.NameInMap("instanceLifecycleConfig") private InstanceLifecycleConfig instanceLifecycleConfig; @com.aliyun.core.annotation.NameInMap("instanceSoftConcurrency") private Integer instanceSoftConcurrency; @com.aliyun.core.annotation.NameInMap("instanceType") private String instanceType; @com.aliyun.core.annotation.NameInMap("internetAccess") private Boolean internetAccess; @com.aliyun.core.annotation.NameInMap("lastModifiedTime") private String lastModifiedTime; @com.aliyun.core.annotation.NameInMap("layers") private java.util.List<String> layers; @com.aliyun.core.annotation.NameInMap("layersArnV2") private java.util.List<String> layersArnV2; @com.aliyun.core.annotation.NameInMap("livenessProbe") private Probe livenessProbe; @com.aliyun.core.annotation.NameInMap("logConfig") private LogConfig logConfig; @com.aliyun.core.annotation.NameInMap("memorySize") private Integer memorySize; @com.aliyun.core.annotation.NameInMap("namespace") private String namespace; @com.aliyun.core.annotation.NameInMap("namespaceID") private String namespaceID; @com.aliyun.core.annotation.NameInMap("namespaceName") private String namespaceName; @com.aliyun.core.annotation.NameInMap("nasConfig") private NASConfig nasConfig; @com.aliyun.core.annotation.NameInMap("ossMountConfig") private OSSMountConfig ossMountConfig; @com.aliyun.core.annotation.NameInMap("programmingLanguage") private String programmingLanguage; @com.aliyun.core.annotation.NameInMap("runtime") private String runtime; @com.aliyun.core.annotation.NameInMap("scaleConfig") private ScaleConfig scaleConfig; @com.aliyun.core.annotation.NameInMap("slsConfig") private SLSConfig slsConfig; @com.aliyun.core.annotation.NameInMap("startupProbe") private Probe startupProbe; @com.aliyun.core.annotation.NameInMap("timeout") private Integer timeout; @com.aliyun.core.annotation.NameInMap("tracingConfig") private TracingConfig tracingConfig; @com.aliyun.core.annotation.NameInMap("urlInternet") private String urlInternet; @com.aliyun.core.annotation.NameInMap("urlIntranet") private String urlIntranet; @com.aliyun.core.annotation.NameInMap("version") private Version version; @com.aliyun.core.annotation.NameInMap("vpcConfig") private VPCConfig vpcConfig; private Application(Builder builder) { this.requestId = builder.requestId; this.applicationId = builder.applicationId; this.applicationName = builder.applicationName; this.args = builder.args; this.caPort = builder.caPort; this.codeChecksum = builder.codeChecksum; this.codeSize = builder.codeSize; this.command = builder.command; this.cpu = builder.cpu; this.createdTime = builder.createdTime; this.customDNS = builder.customDNS; this.customDomainName = builder.customDomainName; this.customHealthCheckConfig = builder.customHealthCheckConfig; this.customHostAlias = builder.customHostAlias; this.customRuntimeConfig = builder.customRuntimeConfig; this.description = builder.description; this.diskSize = builder.diskSize; this.enableAppMetric = builder.enableAppMetric; this.enableArmsAdvanced = builder.enableArmsAdvanced; this.environmentVariables = builder.environmentVariables; this.gpuMemorySize = builder.gpuMemorySize; this.handler = builder.handler; this.httpTriggerConfig = builder.httpTriggerConfig; this.imageConfig = builder.imageConfig; this.initializationTimeout = builder.initializationTimeout; this.initializer = builder.initializer; this.instanceConcurrency = builder.instanceConcurrency; this.instanceLifecycleConfig = builder.instanceLifecycleConfig; this.instanceSoftConcurrency = builder.instanceSoftConcurrency; this.instanceType = builder.instanceType; this.internetAccess = builder.internetAccess; this.lastModifiedTime = builder.lastModifiedTime; this.layers = builder.layers; this.layersArnV2 = builder.layersArnV2; this.livenessProbe = builder.livenessProbe; this.logConfig = builder.logConfig; this.memorySize = builder.memorySize; this.namespace = builder.namespace; this.namespaceID = builder.namespaceID; this.namespaceName = builder.namespaceName; this.nasConfig = builder.nasConfig; this.ossMountConfig = builder.ossMountConfig; this.programmingLanguage = builder.programmingLanguage; this.runtime = builder.runtime; this.scaleConfig = builder.scaleConfig; this.slsConfig = builder.slsConfig; this.startupProbe = builder.startupProbe; this.timeout = builder.timeout; this.tracingConfig = builder.tracingConfig; this.urlInternet = builder.urlInternet; this.urlIntranet = builder.urlIntranet; this.version = builder.version; this.vpcConfig = builder.vpcConfig; } public static Builder builder() { return new Builder(); } public static Application create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return applicationId */ public String getApplicationId() { return this.applicationId; } /** * @return applicationName */ public String getApplicationName() { return this.applicationName; } /** * @return args */ public String getArgs() { return this.args; } /** * @return caPort */ public Integer getCaPort() { return this.caPort; } /** * @return codeChecksum */ public String getCodeChecksum() { return this.codeChecksum; } /** * @return codeSize */ public Long getCodeSize() { return this.codeSize; } /** * @return command */ public String getCommand() { return this.command; } /** * @return cpu */ public Float getCpu() { return this.cpu; } /** * @return createdTime */ public String getCreatedTime() { return this.createdTime; } /** * @return customDNS */ public CustomDNS getCustomDNS() { return this.customDNS; } /** * @return customDomainName */ public String getCustomDomainName() { return this.customDomainName; } /** * @return customHealthCheckConfig */ public CustomHealthCheckConfig getCustomHealthCheckConfig() { return this.customHealthCheckConfig; } /** * @return customHostAlias */ public CustomHostAlias getCustomHostAlias() { return this.customHostAlias; } /** * @return customRuntimeConfig */ public CustomRuntimeConfig getCustomRuntimeConfig() { return this.customRuntimeConfig; } /** * @return description */ public String getDescription() { return this.description; } /** * @return diskSize */ public Integer getDiskSize() { return this.diskSize; } /** * @return enableAppMetric */ public Boolean getEnableAppMetric() { return this.enableAppMetric; } /** * @return enableArmsAdvanced */ public Boolean getEnableArmsAdvanced() { return this.enableArmsAdvanced; } /** * @return environmentVariables */ public java.util.Map<String, String> getEnvironmentVariables() { return this.environmentVariables; } /** * @return gpuMemorySize */ public Integer getGpuMemorySize() { return this.gpuMemorySize; } /** * @return handler */ public String getHandler() { return this.handler; } /** * @return httpTriggerConfig */ public HTTPTriggerConfig getHttpTriggerConfig() { return this.httpTriggerConfig; } /** * @return imageConfig */ public ImageConfig getImageConfig() { return this.imageConfig; } /** * @return initializationTimeout */ public Integer getInitializationTimeout() { return this.initializationTimeout; } /** * @return initializer */ public String getInitializer() { return this.initializer; } /** * @return instanceConcurrency */ public Integer getInstanceConcurrency() { return this.instanceConcurrency; } /** * @return instanceLifecycleConfig */ public InstanceLifecycleConfig getInstanceLifecycleConfig() { return this.instanceLifecycleConfig; } /** * @return instanceSoftConcurrency */ public Integer getInstanceSoftConcurrency() { return this.instanceSoftConcurrency; } /** * @return instanceType */ public String getInstanceType() { return this.instanceType; } /** * @return internetAccess */ public Boolean getInternetAccess() { return this.internetAccess; } /** * @return lastModifiedTime */ public String getLastModifiedTime() { return this.lastModifiedTime; } /** * @return layers */ public java.util.List<String> getLayers() { return this.layers; } /** * @return layersArnV2 */ public java.util.List<String> getLayersArnV2() { return this.layersArnV2; } /** * @return livenessProbe */ public Probe getLivenessProbe() { return this.livenessProbe; } /** * @return logConfig */ public LogConfig getLogConfig() { return this.logConfig; } /** * @return memorySize */ public Integer getMemorySize() { return this.memorySize; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return namespaceID */ public String getNamespaceID() { return this.namespaceID; } /** * @return namespaceName */ public String getNamespaceName() { return this.namespaceName; } /** * @return nasConfig */ public NASConfig getNasConfig() { return this.nasConfig; } /** * @return ossMountConfig */ public OSSMountConfig getOssMountConfig() { return this.ossMountConfig; } /** * @return programmingLanguage */ public String getProgrammingLanguage() { return this.programmingLanguage; } /** * @return runtime */ public String getRuntime() { return this.runtime; } /** * @return scaleConfig */ public ScaleConfig getScaleConfig() { return this.scaleConfig; } /** * @return slsConfig */ public SLSConfig getSlsConfig() { return this.slsConfig; } /** * @return startupProbe */ public Probe getStartupProbe() { return this.startupProbe; } /** * @return timeout */ public Integer getTimeout() { return this.timeout; } /** * @return tracingConfig */ public TracingConfig getTracingConfig() { return this.tracingConfig; } /** * @return urlInternet */ public String getUrlInternet() { return this.urlInternet; } /** * @return urlIntranet */ public String getUrlIntranet() { return this.urlIntranet; } /** * @return version */ public Version getVersion() { return this.version; } /** * @return vpcConfig */ public VPCConfig getVpcConfig() { return this.vpcConfig; } public static final class Builder { private String requestId; private String applicationId; private String applicationName; private String args; private Integer caPort; private String codeChecksum; private Long codeSize; private String command; private Float cpu; private String createdTime; private CustomDNS customDNS; private String customDomainName; private CustomHealthCheckConfig customHealthCheckConfig; private CustomHostAlias customHostAlias; private CustomRuntimeConfig customRuntimeConfig; private String description; private Integer diskSize; private Boolean enableAppMetric; private Boolean enableArmsAdvanced; private java.util.Map<String, String> environmentVariables; private Integer gpuMemorySize; private String handler; private HTTPTriggerConfig httpTriggerConfig; private ImageConfig imageConfig; private Integer initializationTimeout; private String initializer; private Integer instanceConcurrency; private InstanceLifecycleConfig instanceLifecycleConfig; private Integer instanceSoftConcurrency; private String instanceType; private Boolean internetAccess; private String lastModifiedTime; private java.util.List<String> layers; private java.util.List<String> layersArnV2; private Probe livenessProbe; private LogConfig logConfig; private Integer memorySize; private String namespace; private String namespaceID; private String namespaceName; private NASConfig nasConfig; private OSSMountConfig ossMountConfig; private String programmingLanguage; private String runtime; private ScaleConfig scaleConfig; private SLSConfig slsConfig; private Probe startupProbe; private Integer timeout; private TracingConfig tracingConfig; private String urlInternet; private String urlIntranet; private Version version; private VPCConfig vpcConfig; private Builder() { } private Builder(Application model) { this.requestId = model.requestId; this.applicationId = model.applicationId; this.applicationName = model.applicationName; this.args = model.args; this.caPort = model.caPort; this.codeChecksum = model.codeChecksum; this.codeSize = model.codeSize; this.command = model.command; this.cpu = model.cpu; this.createdTime = model.createdTime; this.customDNS = model.customDNS; this.customDomainName = model.customDomainName; this.customHealthCheckConfig = model.customHealthCheckConfig; this.customHostAlias = model.customHostAlias; this.customRuntimeConfig = model.customRuntimeConfig; this.description = model.description; this.diskSize = model.diskSize; this.enableAppMetric = model.enableAppMetric; this.enableArmsAdvanced = model.enableArmsAdvanced; this.environmentVariables = model.environmentVariables; this.gpuMemorySize = model.gpuMemorySize; this.handler = model.handler; this.httpTriggerConfig = model.httpTriggerConfig; this.imageConfig = model.imageConfig; this.initializationTimeout = model.initializationTimeout; this.initializer = model.initializer; this.instanceConcurrency = model.instanceConcurrency; this.instanceLifecycleConfig = model.instanceLifecycleConfig; this.instanceSoftConcurrency = model.instanceSoftConcurrency; this.instanceType = model.instanceType; this.internetAccess = model.internetAccess; this.lastModifiedTime = model.lastModifiedTime; this.layers = model.layers; this.layersArnV2 = model.layersArnV2; this.livenessProbe = model.livenessProbe; this.logConfig = model.logConfig; this.memorySize = model.memorySize; this.namespace = model.namespace; this.namespaceID = model.namespaceID; this.namespaceName = model.namespaceName; this.nasConfig = model.nasConfig; this.ossMountConfig = model.ossMountConfig; this.programmingLanguage = model.programmingLanguage; this.runtime = model.runtime; this.scaleConfig = model.scaleConfig; this.slsConfig = model.slsConfig; this.startupProbe = model.startupProbe; this.timeout = model.timeout; this.tracingConfig = model.tracingConfig; this.urlInternet = model.urlInternet; this.urlIntranet = model.urlIntranet; this.version = model.version; this.vpcConfig = model.vpcConfig; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * applicationId. */ public Builder applicationId(String applicationId) { this.applicationId = applicationId; return this; } /** * applicationName. */ public Builder applicationName(String applicationName) { this.applicationName = applicationName; return this; } /** * args. */ public Builder args(String args) { this.args = args; return this; } /** * caPort. */ public Builder caPort(Integer caPort) { this.caPort = caPort; return this; } /** * codeChecksum. */ public Builder codeChecksum(String codeChecksum) { this.codeChecksum = codeChecksum; return this; } /** * codeSize. */ public Builder codeSize(Long codeSize) { this.codeSize = codeSize; return this; } /** * command. */ public Builder command(String command) { this.command = command; return this; } /** * cpu. */ public Builder cpu(Float cpu) { this.cpu = cpu; return this; } /** * createdTime. */ public Builder createdTime(String createdTime) { this.createdTime = createdTime; return this; } /** * customDNS. */ public Builder customDNS(CustomDNS customDNS) { this.customDNS = customDNS; return this; } /** * customDomainName. */ public Builder customDomainName(String customDomainName) { this.customDomainName = customDomainName; return this; } /** * customHealthCheckConfig. */ public Builder customHealthCheckConfig(CustomHealthCheckConfig customHealthCheckConfig) { this.customHealthCheckConfig = customHealthCheckConfig; return this; } /** * customHostAlias. */ public Builder customHostAlias(CustomHostAlias customHostAlias) { this.customHostAlias = customHostAlias; return this; } /** * customRuntimeConfig. */ public Builder customRuntimeConfig(CustomRuntimeConfig customRuntimeConfig) { this.customRuntimeConfig = customRuntimeConfig; return this; } /** * description. */ public Builder description(String description) { this.description = description; return this; } /** * diskSize. */ public Builder diskSize(Integer diskSize) { this.diskSize = diskSize; return this; } /** * enableAppMetric. */ public Builder enableAppMetric(Boolean enableAppMetric) { this.enableAppMetric = enableAppMetric; return this; } /** * enableArmsAdvanced. */ public Builder enableArmsAdvanced(Boolean enableArmsAdvanced) { this.enableArmsAdvanced = enableArmsAdvanced; return this; } /** * environmentVariables. */ public Builder environmentVariables(java.util.Map<String, String> environmentVariables) { this.environmentVariables = environmentVariables; return this; } /** * gpuMemorySize. */ public Builder gpuMemorySize(Integer gpuMemorySize) { this.gpuMemorySize = gpuMemorySize; return this; } /** * handler. */ public Builder handler(String handler) { this.handler = handler; return this; } /** * httpTriggerConfig. */ public Builder httpTriggerConfig(HTTPTriggerConfig httpTriggerConfig) { this.httpTriggerConfig = httpTriggerConfig; return this; } /** * imageConfig. */ public Builder imageConfig(ImageConfig imageConfig) { this.imageConfig = imageConfig; return this; } /** * initializationTimeout. */ public Builder initializationTimeout(Integer initializationTimeout) { this.initializationTimeout = initializationTimeout; return this; } /** * initializer. */ public Builder initializer(String initializer) { this.initializer = initializer; return this; } /** * instanceConcurrency. */ public Builder instanceConcurrency(Integer instanceConcurrency) { this.instanceConcurrency = instanceConcurrency; return this; } /** * instanceLifecycleConfig. */ public Builder instanceLifecycleConfig(InstanceLifecycleConfig instanceLifecycleConfig) { this.instanceLifecycleConfig = instanceLifecycleConfig; return this; } /** * instanceSoftConcurrency. */ public Builder instanceSoftConcurrency(Integer instanceSoftConcurrency) { this.instanceSoftConcurrency = instanceSoftConcurrency; return this; } /** * instanceType. */ public Builder instanceType(String instanceType) { this.instanceType = instanceType; return this; } /** * internetAccess. */ public Builder internetAccess(Boolean internetAccess) { this.internetAccess = internetAccess; return this; } /** * lastModifiedTime. */ public Builder lastModifiedTime(String lastModifiedTime) { this.lastModifiedTime = lastModifiedTime; return this; } /** * layers. */ public Builder layers(java.util.List<String> layers) { this.layers = layers; return this; } /** * layersArnV2. */ public Builder layersArnV2(java.util.List<String> layersArnV2) { this.layersArnV2 = layersArnV2; return this; } /** * livenessProbe. */ public Builder livenessProbe(Probe livenessProbe) { this.livenessProbe = livenessProbe; return this; } /** * logConfig. */ public Builder logConfig(LogConfig logConfig) { this.logConfig = logConfig; return this; } /** * memorySize. */ public Builder memorySize(Integer memorySize) { this.memorySize = memorySize; return this; } /** * namespace. */ public Builder namespace(String namespace) { this.namespace = namespace; return this; } /** * namespaceID. */ public Builder namespaceID(String namespaceID) { this.namespaceID = namespaceID; return this; } /** * namespaceName. */ public Builder namespaceName(String namespaceName) { this.namespaceName = namespaceName; return this; } /** * nasConfig. */ public Builder nasConfig(NASConfig nasConfig) { this.nasConfig = nasConfig; return this; } /** * ossMountConfig. */ public Builder ossMountConfig(OSSMountConfig ossMountConfig) { this.ossMountConfig = ossMountConfig; return this; } /** * programmingLanguage. */ public Builder programmingLanguage(String programmingLanguage) { this.programmingLanguage = programmingLanguage; return this; } /** * runtime. */ public Builder runtime(String runtime) { this.runtime = runtime; return this; } /** * scaleConfig. */ public Builder scaleConfig(ScaleConfig scaleConfig) { this.scaleConfig = scaleConfig; return this; } /** * slsConfig. */ public Builder slsConfig(SLSConfig slsConfig) { this.slsConfig = slsConfig; return this; } /** * startupProbe. */ public Builder startupProbe(Probe startupProbe) { this.startupProbe = startupProbe; return this; } /** * timeout. */ public Builder timeout(Integer timeout) { this.timeout = timeout; return this; } /** * tracingConfig. */ public Builder tracingConfig(TracingConfig tracingConfig) { this.tracingConfig = tracingConfig; return this; } /** * urlInternet. */ public Builder urlInternet(String urlInternet) { this.urlInternet = urlInternet; return this; } /** * urlIntranet. */ public Builder urlIntranet(String urlIntranet) { this.urlIntranet = urlIntranet; return this; } /** * version. */ public Builder version(Version version) { this.version = version; return this; } /** * vpcConfig. */ public Builder vpcConfig(VPCConfig vpcConfig) { this.vpcConfig = vpcConfig; return this; } public Application build() { return new Application(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ApplicationStatus.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ApplicationStatus} extends {@link TeaModel} * * <p>ApplicationStatus</p> */ public class ApplicationStatus extends TeaModel { @com.aliyun.core.annotation.NameInMap("instanceCount") private Long instanceCount; @com.aliyun.core.annotation.NameInMap("scaleConfig") private ScaleConfig scaleConfig; private ApplicationStatus(Builder builder) { this.instanceCount = builder.instanceCount; this.scaleConfig = builder.scaleConfig; } public static Builder builder() { return new Builder(); } public static ApplicationStatus create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return instanceCount */ public Long getInstanceCount() { return this.instanceCount; } /** * @return scaleConfig */ public ScaleConfig getScaleConfig() { return this.scaleConfig; } public static final class Builder { private Long instanceCount; private ScaleConfig scaleConfig; private Builder() { } private Builder(ApplicationStatus model) { this.instanceCount = model.instanceCount; this.scaleConfig = model.scaleConfig; } /** * instanceCount. */ public Builder instanceCount(Long instanceCount) { this.instanceCount = instanceCount; return this; } /** * scaleConfig. */ public Builder scaleConfig(ScaleConfig scaleConfig) { this.scaleConfig = scaleConfig; return this; } public ApplicationStatus build() { return new ApplicationStatus(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ApplicationWithStatus.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ApplicationWithStatus} extends {@link TeaModel} * * <p>ApplicationWithStatus</p> */ public class ApplicationWithStatus extends TeaModel { @com.aliyun.core.annotation.NameInMap("application") private Application application; @com.aliyun.core.annotation.NameInMap("status") private ApplicationStatus status; private ApplicationWithStatus(Builder builder) { this.application = builder.application; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static ApplicationWithStatus create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return application */ public Application getApplication() { return this.application; } /** * @return status */ public ApplicationStatus getStatus() { return this.status; } public static final class Builder { private Application application; private ApplicationStatus status; private Builder() { } private Builder(ApplicationWithStatus model) { this.application = model.application; this.status = model.status; } /** * application. */ public Builder application(Application application) { this.application = application; return this; } /** * status. */ public Builder status(ApplicationStatus status) { this.status = status; return this; } public ApplicationWithStatus build() { return new ApplicationWithStatus(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ArmsConfig.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ArmsConfig} extends {@link TeaModel} * * <p>ArmsConfig</p> */ public class ArmsConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("agentVersion") private String agentVersion; @com.aliyun.core.annotation.NameInMap("appId") private String appId; @com.aliyun.core.annotation.NameInMap("licenseKey") private String licenseKey; private ArmsConfig(Builder builder) { this.agentVersion = builder.agentVersion; this.appId = builder.appId; this.licenseKey = builder.licenseKey; } public static Builder builder() { return new Builder(); } public static ArmsConfig create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return agentVersion */ public String getAgentVersion() { return this.agentVersion; } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return licenseKey */ public String getLicenseKey() { return this.licenseKey; } public static final class Builder { private String agentVersion; private String appId; private String licenseKey; private Builder() { } private Builder(ArmsConfig model) { this.agentVersion = model.agentVersion; this.appId = model.appId; this.licenseKey = model.licenseKey; } /** * agentVersion. */ public Builder agentVersion(String agentVersion) { this.agentVersion = agentVersion; return this; } /** * appId. */ public Builder appId(String appId) { this.appId = appId; return this; } /** * licenseKey. */ public Builder licenseKey(String licenseKey) { this.licenseKey = licenseKey; return this; } public ArmsConfig build() { return new ArmsConfig(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/BatchStartApplicationsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link BatchStartApplicationsRequest} extends {@link RequestModel} * * <p>BatchStartApplicationsRequest</p> */ public class BatchStartApplicationsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppIds") private String appIds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NamespaceId") @com.aliyun.core.annotation.Validation(required = true) private String namespaceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Version") private String version; private BatchStartApplicationsRequest(Builder builder) { super(builder); this.appIds = builder.appIds; this.namespaceId = builder.namespaceId; this.version = builder.version; } public static Builder builder() { return new Builder(); } public static BatchStartApplicationsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appIds */ public String getAppIds() { return this.appIds; } /** * @return namespaceId */ public String getNamespaceId() { return this.namespaceId; } /** * @return version */ public String getVersion() { return this.version; } public static final class Builder extends Request.Builder<BatchStartApplicationsRequest, Builder> { private String appIds; private String namespaceId; private String version; private Builder() { super(); } private Builder(BatchStartApplicationsRequest request) { super(request); this.appIds = request.appIds; this.namespaceId = request.namespaceId; this.version = request.version; } /** * <p>The returned message.</p> * <ul> * <li><strong>success</strong> is returned when the request succeeds.</li> * <li>An error code is returned when the request fails.</li> * </ul> * * <strong>example:</strong> * <p>ebf491f0-c1a5-45e2-b2c4-710dbe2a****</p> */ public Builder appIds(String appIds) { this.putQueryParameter("AppIds", appIds); this.appIds = appIds; return this; } /** * <p>The ID of the request.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-shanghai</p> */ public Builder namespaceId(String namespaceId) { this.putQueryParameter("NamespaceId", namespaceId); this.namespaceId = namespaceId; return this; } /** * <p>The application version.</p> * * <strong>example:</strong> * <p>1.0</p> */ public Builder version(String version) { this.putQueryParameter("Version", version); this.version = version; return this; } @Override public BatchStartApplicationsRequest build() { return new BatchStartApplicationsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/BatchStartApplicationsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link BatchStartApplicationsResponse} extends {@link TeaModel} * * <p>BatchStartApplicationsResponse</p> */ public class BatchStartApplicationsResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private BatchStartApplicationsResponseBody body; private BatchStartApplicationsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static BatchStartApplicationsResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public BatchStartApplicationsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<BatchStartApplicationsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(BatchStartApplicationsResponseBody body); @Override BatchStartApplicationsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<BatchStartApplicationsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private BatchStartApplicationsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(BatchStartApplicationsResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(BatchStartApplicationsResponseBody body) { this.body = body; return this; } @Override public BatchStartApplicationsResponse build() { return new BatchStartApplicationsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/BatchStartApplicationsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link BatchStartApplicationsResponseBody} extends {@link TeaModel} * * <p>BatchStartApplicationsResponseBody</p> */ public class BatchStartApplicationsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("ErrorCode") private String errorCode; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; @com.aliyun.core.annotation.NameInMap("TraceId") private String traceId; private BatchStartApplicationsResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.errorCode = builder.errorCode; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; this.traceId = builder.traceId; } public static Builder builder() { return new Builder(); } public static BatchStartApplicationsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return errorCode */ public String getErrorCode() { return this.errorCode; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } /** * @return traceId */ public String getTraceId() { return this.traceId; } public static final class Builder { private String code; private Data data; private String errorCode; private String message; private String requestId; private Boolean success; private String traceId; private Builder() { } private Builder(BatchStartApplicationsResponseBody model) { this.code = model.code; this.data = model.data; this.errorCode = model.errorCode; this.message = model.message; this.requestId = model.requestId; this.success = model.success; this.traceId = model.traceId; } /** * <p>The HTTP status code. Take note of the following rules:</p> * <ul> * <li><strong>2xx</strong>: The call was successful.</li> * <li><strong>3xx</strong>: The call was redirected.</li> * <li><strong>4xx</strong>: The call failed.</li> * <li><strong>5xx</strong>: A server error occurred.</li> * </ul> * * <strong>example:</strong> * <p>200</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The error code.</p> * <ul> * <li>If the request is successful, this parameter is not returned.****</li> * <li>This parameter is returned only if the request failed.**** For more information, see <strong>Error codes</strong> in this topic.</li> * </ul> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The error code returned if the request failed. Take note of the following rules:</p> * <ul> * <li>The ErrorCode parameter is not returned if the request succeeds.</li> * <li>If the call fails, the ErrorCode parameter is returned. For more information, see the &quot;Error codes&quot; section of this topic.</li> * </ul> * * <strong>example:</strong> * <p>NULL</p> */ public Builder errorCode(String errorCode) { this.errorCode = errorCode; return this; } /** * <p>The returned data.</p> * * <strong>example:</strong> * <p>success</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The ID of the trace. It is used to query the details of a request.</p> * * <strong>example:</strong> * <p>91F93257-7A4A-4BD3-9A7E-2F6EAE6D****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the application deployment is successful. Take note of the following rules:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } /** * <p>The ID of the change order.</p> * * <strong>example:</strong> * <p>0a98a02315955564772843261e****</p> */ public Builder traceId(String traceId) { this.traceId = traceId; return this; } public BatchStartApplicationsResponseBody build() { return new BatchStartApplicationsResponseBody(this); } } /** * * {@link BatchStartApplicationsResponseBody} extends {@link TeaModel} * * <p>BatchStartApplicationsResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("ChangeOrderId") private String changeOrderId; private Data(Builder builder) { this.changeOrderId = builder.changeOrderId; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return changeOrderId */ public String getChangeOrderId() { return this.changeOrderId; } public static final class Builder { private String changeOrderId; private Builder() { } private Builder(Data model) { this.changeOrderId = model.changeOrderId; } /** * <p>The HTTP status code. Valid values:</p> * <ul> * <li><strong>2xx</strong>: indicates that the request was successful.</li> * <li><strong>3xx</strong>: indicates that the request was redirected.</li> * <li><strong>4xx</strong>: indicates that the request was invalid.</li> * <li><strong>5xx</strong>: indicates that a server error occurred.</li> * </ul> * * <strong>example:</strong> * <p>01db03d3-3ee9-48b3-b3d0-dfce2d88****</p> */ public Builder changeOrderId(String changeOrderId) { this.changeOrderId = changeOrderId; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/BatchStopApplicationsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link BatchStopApplicationsRequest} extends {@link RequestModel} * * <p>BatchStopApplicationsRequest</p> */ public class BatchStopApplicationsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppIds") private String appIds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NamespaceId") @com.aliyun.core.annotation.Validation(required = true) private String namespaceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Version") private String version; private BatchStopApplicationsRequest(Builder builder) { super(builder); this.appIds = builder.appIds; this.namespaceId = builder.namespaceId; this.version = builder.version; } public static Builder builder() { return new Builder(); } public static BatchStopApplicationsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appIds */ public String getAppIds() { return this.appIds; } /** * @return namespaceId */ public String getNamespaceId() { return this.namespaceId; } /** * @return version */ public String getVersion() { return this.version; } public static final class Builder extends Request.Builder<BatchStopApplicationsRequest, Builder> { private String appIds; private String namespaceId; private String version; private Builder() { super(); } private Builder(BatchStopApplicationsRequest request) { super(request); this.appIds = request.appIds; this.namespaceId = request.namespaceId; this.version = request.version; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>ebf491f0-c1a5-45e2-b2c4-710dbe2a****</p> */ public Builder appIds(String appIds) { this.putQueryParameter("AppIds", appIds); this.appIds = appIds; return this; } /** * <p>ebf491f0-c1a5-45e2-b2c4-710dbe2a****,ebf491f0-c1a5-45e2-b2c4-71025e2a****</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-shanghai</p> */ public Builder namespaceId(String namespaceId) { this.putQueryParameter("NamespaceId", namespaceId); this.namespaceId = namespaceId; return this; } /** * <p>The application version.</p> * * <strong>example:</strong> * <p>1.0</p> */ public Builder version(String version) { this.putQueryParameter("Version", version); this.version = version; return this; } @Override public BatchStopApplicationsRequest build() { return new BatchStopApplicationsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/BatchStopApplicationsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link BatchStopApplicationsResponse} extends {@link TeaModel} * * <p>BatchStopApplicationsResponse</p> */ public class BatchStopApplicationsResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private BatchStopApplicationsResponseBody body; private BatchStopApplicationsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static BatchStopApplicationsResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public BatchStopApplicationsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<BatchStopApplicationsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(BatchStopApplicationsResponseBody body); @Override BatchStopApplicationsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<BatchStopApplicationsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private BatchStopApplicationsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(BatchStopApplicationsResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(BatchStopApplicationsResponseBody body) { this.body = body; return this; } @Override public BatchStopApplicationsResponse build() { return new BatchStopApplicationsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/BatchStopApplicationsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link BatchStopApplicationsResponseBody} extends {@link TeaModel} * * <p>BatchStopApplicationsResponseBody</p> */ public class BatchStopApplicationsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("ErrorCode") private String errorCode; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; @com.aliyun.core.annotation.NameInMap("TraceId") private String traceId; private BatchStopApplicationsResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.errorCode = builder.errorCode; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; this.traceId = builder.traceId; } public static Builder builder() { return new Builder(); } public static BatchStopApplicationsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return errorCode */ public String getErrorCode() { return this.errorCode; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } /** * @return traceId */ public String getTraceId() { return this.traceId; } public static final class Builder { private String code; private Data data; private String errorCode; private String message; private String requestId; private Boolean success; private String traceId; private Builder() { } private Builder(BatchStopApplicationsResponseBody model) { this.code = model.code; this.data = model.data; this.errorCode = model.errorCode; this.message = model.message; this.requestId = model.requestId; this.success = model.success; this.traceId = model.traceId; } /** * <p>The HTTP status code. Take note of the following rules:</p> * <ul> * <li><strong>2xx</strong>: The call was successful.</li> * <li><strong>3xx</strong>: The call was redirected.</li> * <li><strong>4xx</strong>: The call failed.</li> * <li><strong>5xx</strong>: A server error occurred.</li> * </ul> * * <strong>example:</strong> * <p>200</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The ID of the change order.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The error code returned if the request failed. Take note of the following rules:</p> * <ul> * <li>The ErrorCode parameter is not returned if the request succeeds.</li> * <li>If the call fails, the ErrorCode parameter is returned. For more information, see the &quot;Error codes&quot; section of this topic.</li> * </ul> * * <strong>example:</strong> * <p>Null</p> */ public Builder errorCode(String errorCode) { this.errorCode = errorCode; return this; } /** * <p>The ID of the trace. It can be used to query the details of a request.</p> * * <strong>example:</strong> * <p>success</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The returned message.</p> * <ul> * <li><strong>success</strong> is returned when the request succeeds.</li> * <li>An error code is returned when the request fails.</li> * </ul> * * <strong>example:</strong> * <p>7BD8F4C7-D84C-4D46-9885-8212997E****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the application is created. Valid values</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } /** * <p>The returned data.</p> * * <strong>example:</strong> * <p>0bc3b6e215637275918588187d****</p> */ public Builder traceId(String traceId) { this.traceId = traceId; return this; } public BatchStopApplicationsResponseBody build() { return new BatchStopApplicationsResponseBody(this); } } /** * * {@link BatchStopApplicationsResponseBody} extends {@link TeaModel} * * <p>BatchStopApplicationsResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("ChangeOrderId") private String changeOrderId; private Data(Builder builder) { this.changeOrderId = builder.changeOrderId; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return changeOrderId */ public String getChangeOrderId() { return this.changeOrderId; } public static final class Builder { private String changeOrderId; private Builder() { } private Builder(Data model) { this.changeOrderId = model.changeOrderId; } /** * <p>The error code.</p> * <ul> * <li>If the request is successful, this parameter is not returned.****</li> * <li>This parameter is returned only if the request failed.**** For more information, see the &quot;<strong>Error codes</strong>&quot; section in this topic.</li> * </ul> * * <strong>example:</strong> * <p>4a815998-b468-4bea-b7d8-59f52a44****</p> */ public Builder changeOrderId(String changeOrderId) { this.changeOrderId = changeOrderId; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/BindNlbRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link BindNlbRequest} extends {@link RequestModel} * * <p>BindNlbRequest</p> */ public class BindNlbRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AddressType") private String addressType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Listeners") private String listeners; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NlbId") private String nlbId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ZoneMappings") private String zoneMappings; private BindNlbRequest(Builder builder) { super(builder); this.addressType = builder.addressType; this.appId = builder.appId; this.listeners = builder.listeners; this.nlbId = builder.nlbId; this.zoneMappings = builder.zoneMappings; } public static Builder builder() { return new Builder(); } public static BindNlbRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return addressType */ public String getAddressType() { return this.addressType; } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return listeners */ public String getListeners() { return this.listeners; } /** * @return nlbId */ public String getNlbId() { return this.nlbId; } /** * @return zoneMappings */ public String getZoneMappings() { return this.zoneMappings; } public static final class Builder extends Request.Builder<BindNlbRequest, Builder> { private String addressType; private String appId; private String listeners; private String nlbId; private String zoneMappings; private Builder() { super(); } private Builder(BindNlbRequest request) { super(request); this.addressType = request.addressType; this.appId = request.appId; this.listeners = request.listeners; this.nlbId = request.nlbId; this.zoneMappings = request.zoneMappings; } /** * <p>The type of the IP addresses. Valid values:</p> * <ul> * <li>Internet: public endpoint.</li> * <li>Intranet: private endpoint.</li> * </ul> * * <strong>example:</strong> * <p>Internet</p> */ public Builder addressType(String addressType) { this.putQueryParameter("AddressType", addressType); this.addressType = addressType; return this; } /** * <p>The ID of the application to which the NLB instance is bound.</p> * * <strong>example:</strong> * <p>7171a6ca-d1cd-4928-8642-7d5cfe69****</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * <p>The listener that you want to manage. The value is a string that consists of JSON arrays. Each listener contains the following fields:</p> * <ul> * <li><strong>port</strong>: the port number of the NLB listener. This field is required. Data type: integer. Valid values: 0 to 65535.</li> * <li><strong>TargetPort</strong>: the port number of the container listener. This field is required. Data type: integer. Valid values: 0 to 65535.</li> * <li><strong>Protocol</strong>: the listener protocol. This field is required. Data type: string. Valid values: TCP, UDP, and TCPSSL.</li> * <li><strong>CertIds</strong>: the IDs of the server certificates. This field is optional. Data type: string. This field is supported only by TCPSSL listeners.</li> * </ul> */ public Builder listeners(String listeners) { this.putQueryParameter("Listeners", listeners); this.listeners = listeners; return this; } /** * <p>The ID of the NLB instance.</p> * * <strong>example:</strong> * <p>nlb-7z7jjbzz44d82c9***</p> */ public Builder nlbId(String nlbId) { this.putQueryParameter("NlbId", nlbId); this.nlbId = nlbId; return this; } /** * <p>The mappings between zones and vSwitches. The value is a JSON string. You can specify at most 10 zones. If the region supports two or more zones, specify at least two zones. A ZoneMapping contains the following fields:</p> * <ul> * <li>The ID of the vSwitch in the zone. Each zone can contain only one vSwitch and one subnet. Data type: string.</li> * <li>The zone ID of the NLB instance. Data type: string.</li> * </ul> * * <strong>example:</strong> * <p>vsw-sersdf**** * cn-hangzhou-a</p> */ public Builder zoneMappings(String zoneMappings) { this.putQueryParameter("ZoneMappings", zoneMappings); this.zoneMappings = zoneMappings; return this; } @Override public BindNlbRequest build() { return new BindNlbRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/BindNlbResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link BindNlbResponse} extends {@link TeaModel} * * <p>BindNlbResponse</p> */ public class BindNlbResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private BindNlbResponseBody body; private BindNlbResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static BindNlbResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public BindNlbResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<BindNlbResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(BindNlbResponseBody body); @Override BindNlbResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<BindNlbResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private BindNlbResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(BindNlbResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(BindNlbResponseBody body) { this.body = body; return this; } @Override public BindNlbResponse build() { return new BindNlbResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/BindNlbResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link BindNlbResponseBody} extends {@link TeaModel} * * <p>BindNlbResponseBody</p> */ public class BindNlbResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("ErrorCode") private String errorCode; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; @com.aliyun.core.annotation.NameInMap("TraceId") private String traceId; private BindNlbResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.errorCode = builder.errorCode; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; this.traceId = builder.traceId; } public static Builder builder() { return new Builder(); } public static BindNlbResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return errorCode */ public String getErrorCode() { return this.errorCode; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } /** * @return traceId */ public String getTraceId() { return this.traceId; } public static final class Builder { private String code; private Data data; private String errorCode; private String message; private String requestId; private Boolean success; private String traceId; private Builder() { } private Builder(BindNlbResponseBody model) { this.code = model.code; this.data = model.data; this.errorCode = model.errorCode; this.message = model.message; this.requestId = model.requestId; this.success = model.success; this.traceId = model.traceId; } /** * <p>The HTTP status code. Valid values:</p> * <ul> * <li><strong>2xx</strong>: The request was successful.</li> * <li><strong>3xx</strong>: The request was redirected.</li> * <li><strong>4xx</strong>: The request failed.</li> * <li><strong>5xx</strong>: A server error occurred.</li> * </ul> * * <strong>example:</strong> * <p>200</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The returned data.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The status code. Value values:</p> * <ul> * <li>If the request was successful, <strong>ErrorCode</strong> is not returned.</li> * <li>If the request failed, <strong>ErrorCode</strong> is returned. For more information, see <strong>Error codes</strong> in this topic.</li> * </ul> */ public Builder errorCode(String errorCode) { this.errorCode = errorCode; return this; } /** * <p>The message returned. Valid values:</p> * <ul> * <li>If the request was successful, <strong>success</strong> is returned.</li> * <li>If the request failed, an error code is returned.</li> * </ul> * * <strong>example:</strong> * <p>success</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>Id of the request</p> * * <strong>example:</strong> * <p>91F93257-7A4A-4BD3-9A7E-2F6EAE6D****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the applications were stopped. Valid values:</p> * <ul> * <li><strong>true</strong>: The applications were stopped.</li> * <li><strong>false</strong>: The applications failed to be stopped.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } /** * <p>The ID of the trace. The ID is used to query the details of a request.</p> * * <strong>example:</strong> * <p>0a06dfe717389800573793090e0589</p> */ public Builder traceId(String traceId) { this.traceId = traceId; return this; } public BindNlbResponseBody build() { return new BindNlbResponseBody(this); } } /** * * {@link BindNlbResponseBody} extends {@link TeaModel} * * <p>BindNlbResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("ChangeOrderId") private String changeOrderId; private Data(Builder builder) { this.changeOrderId = builder.changeOrderId; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return changeOrderId */ public String getChangeOrderId() { return this.changeOrderId; } public static final class Builder { private String changeOrderId; private Builder() { } private Builder(Data model) { this.changeOrderId = model.changeOrderId; } /** * <p>The ID of the change order. The ID can be used to query the status of the change task.</p> * * <strong>example:</strong> * <p>ba386059-69b1-4e65-b1e5-0682d9fa****</p> */ public Builder changeOrderId(String changeOrderId) { this.changeOrderId = changeOrderId; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/BindSlbRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link BindSlbRequest} extends {@link RequestModel} * * <p>BindSlbRequest</p> */ public class BindSlbRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Internet") private String internet; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InternetSlbChargeType") private String internetSlbChargeType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InternetSlbId") private String internetSlbId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Intranet") private String intranet; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("IntranetSlbChargeType") private String intranetSlbChargeType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("IntranetSlbId") private String intranetSlbId; private BindSlbRequest(Builder builder) { super(builder); this.appId = builder.appId; this.internet = builder.internet; this.internetSlbChargeType = builder.internetSlbChargeType; this.internetSlbId = builder.internetSlbId; this.intranet = builder.intranet; this.intranetSlbChargeType = builder.intranetSlbChargeType; this.intranetSlbId = builder.intranetSlbId; } public static Builder builder() { return new Builder(); } public static BindSlbRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return internet */ public String getInternet() { return this.internet; } /** * @return internetSlbChargeType */ public String getInternetSlbChargeType() { return this.internetSlbChargeType; } /** * @return internetSlbId */ public String getInternetSlbId() { return this.internetSlbId; } /** * @return intranet */ public String getIntranet() { return this.intranet; } /** * @return intranetSlbChargeType */ public String getIntranetSlbChargeType() { return this.intranetSlbChargeType; } /** * @return intranetSlbId */ public String getIntranetSlbId() { return this.intranetSlbId; } public static final class Builder extends Request.Builder<BindSlbRequest, Builder> { private String appId; private String internet; private String internetSlbChargeType; private String internetSlbId; private String intranet; private String intranetSlbChargeType; private String intranetSlbId; private Builder() { super(); } private Builder(BindSlbRequest request) { super(request); this.appId = request.appId; this.internet = request.internet; this.internetSlbChargeType = request.internetSlbChargeType; this.internetSlbId = request.internetSlbId; this.intranet = request.intranet; this.intranetSlbChargeType = request.intranetSlbChargeType; this.intranetSlbId = request.intranetSlbId; } /** * <p>0099b7be-5f5b-4512-a7fc-56049ef1****</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0099b7be-5f5b-4512-a7fc-56049ef1****</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * <p>[{&quot;port&quot;:80,&quot;targetPort&quot;:8080,&quot;protocol&quot;:&quot;TCP&quot;}]</p> * * <strong>example:</strong> * <p>[{&quot;port&quot;:80,&quot;targetPort&quot;:8080,&quot;protocol&quot;:&quot;TCP&quot;}]</p> */ public Builder internet(String internet) { this.putQueryParameter("Internet", internet); this.internet = internet; return this; } /** * InternetSlbChargeType. */ public Builder internetSlbChargeType(String internetSlbChargeType) { this.putQueryParameter("InternetSlbChargeType", internetSlbChargeType); this.internetSlbChargeType = internetSlbChargeType; return this; } /** * <p>lb-bp1tg0k6d9nqaw7l1****</p> * * <strong>example:</strong> * <p>lb-bp1tg0k6d9nqaw7l1****</p> */ public Builder internetSlbId(String internetSlbId) { this.putQueryParameter("InternetSlbId", internetSlbId); this.internetSlbId = internetSlbId; return this; } /** * <p>[{&quot;port&quot;:80,&quot;targetPort&quot;:8080,&quot;protocol&quot;:&quot;TCP&quot;}]</p> * * <strong>example:</strong> * <p>[{&quot;port&quot;:80,&quot;targetPort&quot;:8080,&quot;protocol&quot;:&quot;TCP&quot;}]</p> */ public Builder intranet(String intranet) { this.putQueryParameter("Intranet", intranet); this.intranet = intranet; return this; } /** * IntranetSlbChargeType. */ public Builder intranetSlbChargeType(String intranetSlbChargeType) { this.putQueryParameter("IntranetSlbChargeType", intranetSlbChargeType); this.intranetSlbChargeType = intranetSlbChargeType; return this; } /** * <p>lb-bp1tg0k6d9nqaw7l1****</p> * * <strong>example:</strong> * <p>lb-bp1tg0k6d9nqaw7l1****</p> */ public Builder intranetSlbId(String intranetSlbId) { this.putQueryParameter("IntranetSlbId", intranetSlbId); this.intranetSlbId = intranetSlbId; return this; } @Override public BindSlbRequest build() { return new BindSlbRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/BindSlbResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link BindSlbResponse} extends {@link TeaModel} * * <p>BindSlbResponse</p> */ public class BindSlbResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private BindSlbResponseBody body; private BindSlbResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static BindSlbResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public BindSlbResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<BindSlbResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(BindSlbResponseBody body); @Override BindSlbResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<BindSlbResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private BindSlbResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(BindSlbResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(BindSlbResponseBody body) { this.body = body; return this; } @Override public BindSlbResponse build() { return new BindSlbResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/BindSlbResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link BindSlbResponseBody} extends {@link TeaModel} * * <p>BindSlbResponseBody</p> */ public class BindSlbResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("ErrorCode") private String errorCode; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; @com.aliyun.core.annotation.NameInMap("TraceId") private String traceId; private BindSlbResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.errorCode = builder.errorCode; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; this.traceId = builder.traceId; } public static Builder builder() { return new Builder(); } public static BindSlbResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return errorCode */ public String getErrorCode() { return this.errorCode; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } /** * @return traceId */ public String getTraceId() { return this.traceId; } public static final class Builder { private String code; private Data data; private String errorCode; private String message; private String requestId; private Boolean success; private String traceId; private Builder() { } private Builder(BindSlbResponseBody model) { this.code = model.code; this.data = model.data; this.errorCode = model.errorCode; this.message = model.message; this.requestId = model.requestId; this.success = model.success; this.traceId = model.traceId; } /** * <p>The HTTP status code. Valid values:</p> * <ul> * <li><strong>2xx</strong>: indicates that the request was successful.</li> * <li><strong>3xx</strong>: indicates that the request was redirected.</li> * <li><strong>4xx</strong>: indicates that the request was invalid.</li> * <li><strong>5xx</strong>: indicates that a server error occurred.</li> * </ul> * * <strong>example:</strong> * <p>200</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The returned data.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The error code.</p> * <ul> * <li>The <strong>ErrorCode</strong> parameter is not returned when the request succeeds.</li> * <li>The <strong>ErrorCode</strong> parameter is returned when the request fails. For more information, see <strong>Error codes</strong> in this topic.</li> * </ul> */ public Builder errorCode(String errorCode) { this.errorCode = errorCode; return this; } /** * <p>The returned message.</p> * * <strong>example:</strong> * <p>success</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>91F93257-7A4A-4BD3-9A7E-2F6EAE6D****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the SLB instance was successfully associated with the application. Valid values:</p> * <ul> * <li><strong>true</strong>: The SLB instance was successfully associated with the application.</li> * <li><strong>false</strong>: The SLB instance could not be associated with the application.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } /** * <p>The ID of the trace. It can be used to query the details of a request.</p> * * <strong>example:</strong> * <p>0a98a02315955564772843261e****</p> */ public Builder traceId(String traceId) { this.traceId = traceId; return this; } public BindSlbResponseBody build() { return new BindSlbResponseBody(this); } } /** * * {@link BindSlbResponseBody} extends {@link TeaModel} * * <p>BindSlbResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("ChangeOrderId") private String changeOrderId; private Data(Builder builder) { this.changeOrderId = builder.changeOrderId; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return changeOrderId */ public String getChangeOrderId() { return this.changeOrderId; } public static final class Builder { private String changeOrderId; private Builder() { } private Builder(Data model) { this.changeOrderId = model.changeOrderId; } /** * <p>The ID of the change order. It can be used to query the task status.</p> * * <strong>example:</strong> * <p>01db03d3-3ee9-48b3-b3d0-dfce2d88****</p> */ public Builder changeOrderId(String changeOrderId) { this.changeOrderId = changeOrderId; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/BuildPipeline.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link BuildPipeline} extends {@link TeaModel} * * <p>BuildPipeline</p> */ public class BuildPipeline extends TeaModel { @com.aliyun.core.annotation.NameInMap("ApplicationId") @com.aliyun.core.annotation.Validation(required = true) private String applicationId; @com.aliyun.core.annotation.NameInMap("ApplicationName") @com.aliyun.core.annotation.Validation(required = true) private String applicationName; @com.aliyun.core.annotation.NameInMap("BuildConfig") @com.aliyun.core.annotation.Validation(required = true) private BuildConfig buildConfig; @com.aliyun.core.annotation.NameInMap("CodeConfig") @com.aliyun.core.annotation.Validation(required = true) private CodeConfig codeConfig; @com.aliyun.core.annotation.NameInMap("DeployConfig") private DeployConfig deployConfig; @com.aliyun.core.annotation.NameInMap("Enabled") private Boolean enabled; @com.aliyun.core.annotation.NameInMap("ImageConfig") private ImageConfig imageConfig; @com.aliyun.core.annotation.NameInMap("PackageConfig") private PackageConfig packageConfig; @com.aliyun.core.annotation.NameInMap("TriggerConfig") @com.aliyun.core.annotation.Validation(required = true) private TriggerConfig triggerConfig; private BuildPipeline(Builder builder) { this.applicationId = builder.applicationId; this.applicationName = builder.applicationName; this.buildConfig = builder.buildConfig; this.codeConfig = builder.codeConfig; this.deployConfig = builder.deployConfig; this.enabled = builder.enabled; this.imageConfig = builder.imageConfig; this.packageConfig = builder.packageConfig; this.triggerConfig = builder.triggerConfig; } public static Builder builder() { return new Builder(); } public static BuildPipeline create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return applicationId */ public String getApplicationId() { return this.applicationId; } /** * @return applicationName */ public String getApplicationName() { return this.applicationName; } /** * @return buildConfig */ public BuildConfig getBuildConfig() { return this.buildConfig; } /** * @return codeConfig */ public CodeConfig getCodeConfig() { return this.codeConfig; } /** * @return deployConfig */ public DeployConfig getDeployConfig() { return this.deployConfig; } /** * @return enabled */ public Boolean getEnabled() { return this.enabled; } /** * @return imageConfig */ public ImageConfig getImageConfig() { return this.imageConfig; } /** * @return packageConfig */ public PackageConfig getPackageConfig() { return this.packageConfig; } /** * @return triggerConfig */ public TriggerConfig getTriggerConfig() { return this.triggerConfig; } public static final class Builder { private String applicationId; private String applicationName; private BuildConfig buildConfig; private CodeConfig codeConfig; private DeployConfig deployConfig; private Boolean enabled; private ImageConfig imageConfig; private PackageConfig packageConfig; private TriggerConfig triggerConfig; private Builder() { } private Builder(BuildPipeline model) { this.applicationId = model.applicationId; this.applicationName = model.applicationName; this.buildConfig = model.buildConfig; this.codeConfig = model.codeConfig; this.deployConfig = model.deployConfig; this.enabled = model.enabled; this.imageConfig = model.imageConfig; this.packageConfig = model.packageConfig; this.triggerConfig = model.triggerConfig; } /** * <p>This parameter is required.</p> */ public Builder applicationId(String applicationId) { this.applicationId = applicationId; return this; } /** * <p>This parameter is required.</p> */ public Builder applicationName(String applicationName) { this.applicationName = applicationName; return this; } /** * <p>This parameter is required.</p> */ public Builder buildConfig(BuildConfig buildConfig) { this.buildConfig = buildConfig; return this; } /** * <p>This parameter is required.</p> */ public Builder codeConfig(CodeConfig codeConfig) { this.codeConfig = codeConfig; return this; } /** * DeployConfig. */ public Builder deployConfig(DeployConfig deployConfig) { this.deployConfig = deployConfig; return this; } /** * Enabled. */ public Builder enabled(Boolean enabled) { this.enabled = enabled; return this; } /** * ImageConfig. */ public Builder imageConfig(ImageConfig imageConfig) { this.imageConfig = imageConfig; return this; } /** * PackageConfig. */ public Builder packageConfig(PackageConfig packageConfig) { this.packageConfig = packageConfig; return this; } /** * <p>This parameter is required.</p> */ public Builder triggerConfig(TriggerConfig triggerConfig) { this.triggerConfig = triggerConfig; return this; } public BuildPipeline build() { return new BuildPipeline(this); } } /** * * {@link BuildPipeline} extends {@link TeaModel} * * <p>BuildPipeline</p> */ public static class BuildConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("BeforeBuildCommand") private String beforeBuildCommand; @com.aliyun.core.annotation.NameInMap("BuildType") @com.aliyun.core.annotation.Validation(required = true) private String buildType; @com.aliyun.core.annotation.NameInMap("DockerfilePath") private String dockerfilePath; @com.aliyun.core.annotation.NameInMap("RunCommand") private String runCommand; @com.aliyun.core.annotation.NameInMap("RuntimeType") private String runtimeType; @com.aliyun.core.annotation.NameInMap("RuntimeVersion") private String runtimeVersion; @com.aliyun.core.annotation.NameInMap("TomcatConfig") private TomcatConfig tomcatConfig; @com.aliyun.core.annotation.NameInMap("WorkingDir") private String workingDir; private BuildConfig(Builder builder) { this.beforeBuildCommand = builder.beforeBuildCommand; this.buildType = builder.buildType; this.dockerfilePath = builder.dockerfilePath; this.runCommand = builder.runCommand; this.runtimeType = builder.runtimeType; this.runtimeVersion = builder.runtimeVersion; this.tomcatConfig = builder.tomcatConfig; this.workingDir = builder.workingDir; } public static Builder builder() { return new Builder(); } public static BuildConfig create() { return builder().build(); } /** * @return beforeBuildCommand */ public String getBeforeBuildCommand() { return this.beforeBuildCommand; } /** * @return buildType */ public String getBuildType() { return this.buildType; } /** * @return dockerfilePath */ public String getDockerfilePath() { return this.dockerfilePath; } /** * @return runCommand */ public String getRunCommand() { return this.runCommand; } /** * @return runtimeType */ public String getRuntimeType() { return this.runtimeType; } /** * @return runtimeVersion */ public String getRuntimeVersion() { return this.runtimeVersion; } /** * @return tomcatConfig */ public TomcatConfig getTomcatConfig() { return this.tomcatConfig; } /** * @return workingDir */ public String getWorkingDir() { return this.workingDir; } public static final class Builder { private String beforeBuildCommand; private String buildType; private String dockerfilePath; private String runCommand; private String runtimeType; private String runtimeVersion; private TomcatConfig tomcatConfig; private String workingDir; private Builder() { } private Builder(BuildConfig model) { this.beforeBuildCommand = model.beforeBuildCommand; this.buildType = model.buildType; this.dockerfilePath = model.dockerfilePath; this.runCommand = model.runCommand; this.runtimeType = model.runtimeType; this.runtimeVersion = model.runtimeVersion; this.tomcatConfig = model.tomcatConfig; this.workingDir = model.workingDir; } /** * BeforeBuildCommand. */ public Builder beforeBuildCommand(String beforeBuildCommand) { this.beforeBuildCommand = beforeBuildCommand; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>buildpacks/dockerfile</p> */ public Builder buildType(String buildType) { this.buildType = buildType; return this; } /** * DockerfilePath. */ public Builder dockerfilePath(String dockerfilePath) { this.dockerfilePath = dockerfilePath; return this; } /** * RunCommand. */ public Builder runCommand(String runCommand) { this.runCommand = runCommand; return this; } /** * RuntimeType. */ public Builder runtimeType(String runtimeType) { this.runtimeType = runtimeType; return this; } /** * RuntimeVersion. */ public Builder runtimeVersion(String runtimeVersion) { this.runtimeVersion = runtimeVersion; return this; } /** * TomcatConfig. */ public Builder tomcatConfig(TomcatConfig tomcatConfig) { this.tomcatConfig = tomcatConfig; return this; } /** * WorkingDir. */ public Builder workingDir(String workingDir) { this.workingDir = workingDir; return this; } public BuildConfig build() { return new BuildConfig(this); } } } /** * * {@link BuildPipeline} extends {@link TeaModel} * * <p>BuildPipeline</p> */ public static class CodeConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("AccountId") @com.aliyun.core.annotation.Validation(required = true) private String accountId; @com.aliyun.core.annotation.NameInMap("BranchName") @com.aliyun.core.annotation.Validation(required = true) private String branchName; @com.aliyun.core.annotation.NameInMap("CommitId") private String commitId; @com.aliyun.core.annotation.NameInMap("CommitUrl") private String commitUrl; @com.aliyun.core.annotation.NameInMap("OrganizationId") private String organizationId; @com.aliyun.core.annotation.NameInMap("Provider") @com.aliyun.core.annotation.Validation(required = true) private String provider; @com.aliyun.core.annotation.NameInMap("RepoFullName") @com.aliyun.core.annotation.Validation(required = true) private String repoFullName; @com.aliyun.core.annotation.NameInMap("RepoId") @com.aliyun.core.annotation.Validation(required = true) private String repoId; private CodeConfig(Builder builder) { this.accountId = builder.accountId; this.branchName = builder.branchName; this.commitId = builder.commitId; this.commitUrl = builder.commitUrl; this.organizationId = builder.organizationId; this.provider = builder.provider; this.repoFullName = builder.repoFullName; this.repoId = builder.repoId; } public static Builder builder() { return new Builder(); } public static CodeConfig create() { return builder().build(); } /** * @return accountId */ public String getAccountId() { return this.accountId; } /** * @return branchName */ public String getBranchName() { return this.branchName; } /** * @return commitId */ public String getCommitId() { return this.commitId; } /** * @return commitUrl */ public String getCommitUrl() { return this.commitUrl; } /** * @return organizationId */ public String getOrganizationId() { return this.organizationId; } /** * @return provider */ public String getProvider() { return this.provider; } /** * @return repoFullName */ public String getRepoFullName() { return this.repoFullName; } /** * @return repoId */ public String getRepoId() { return this.repoId; } public static final class Builder { private String accountId; private String branchName; private String commitId; private String commitUrl; private String organizationId; private String provider; private String repoFullName; private String repoId; private Builder() { } private Builder(CodeConfig model) { this.accountId = model.accountId; this.branchName = model.branchName; this.commitId = model.commitId; this.commitUrl = model.commitUrl; this.organizationId = model.organizationId; this.provider = model.provider; this.repoFullName = model.repoFullName; this.repoId = model.repoId; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>10000</p> */ public Builder accountId(String accountId) { this.accountId = accountId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>master</p> */ public Builder branchName(String branchName) { this.branchName = branchName; return this; } /** * CommitId. */ public Builder commitId(String commitId) { this.commitId = commitId; return this; } /** * CommitUrl. */ public Builder commitUrl(String commitUrl) { this.commitUrl = commitUrl; return this; } /** * OrganizationId. */ public Builder organizationId(String organizationId) { this.organizationId = organizationId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>github/gitee/gitlab等</p> */ public Builder provider(String provider) { this.provider = provider; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>sae-samples/java-maven-demo</p> */ public Builder repoFullName(String repoFullName) { this.repoFullName = repoFullName; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>3001</p> */ public Builder repoId(String repoId) { this.repoId = repoId; return this; } public CodeConfig build() { return new CodeConfig(this); } } } /** * * {@link BuildPipeline} extends {@link TeaModel} * * <p>BuildPipeline</p> */ public static class DeployConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("AlwaysAllocateCPU") private Boolean alwaysAllocateCPU; @com.aliyun.core.annotation.NameInMap("MaximumInstanceCount") private Integer maximumInstanceCount; @com.aliyun.core.annotation.NameInMap("MinimumInstanceCount") private Integer minimumInstanceCount; @com.aliyun.core.annotation.NameInMap("UpdateApplicationInput") private String updateApplicationInput; @com.aliyun.core.annotation.NameInMap("UpdateTraffic") private Boolean updateTraffic; private DeployConfig(Builder builder) { this.alwaysAllocateCPU = builder.alwaysAllocateCPU; this.maximumInstanceCount = builder.maximumInstanceCount; this.minimumInstanceCount = builder.minimumInstanceCount; this.updateApplicationInput = builder.updateApplicationInput; this.updateTraffic = builder.updateTraffic; } public static Builder builder() { return new Builder(); } public static DeployConfig create() { return builder().build(); } /** * @return alwaysAllocateCPU */ public Boolean getAlwaysAllocateCPU() { return this.alwaysAllocateCPU; } /** * @return maximumInstanceCount */ public Integer getMaximumInstanceCount() { return this.maximumInstanceCount; } /** * @return minimumInstanceCount */ public Integer getMinimumInstanceCount() { return this.minimumInstanceCount; } /** * @return updateApplicationInput */ public String getUpdateApplicationInput() { return this.updateApplicationInput; } /** * @return updateTraffic */ public Boolean getUpdateTraffic() { return this.updateTraffic; } public static final class Builder { private Boolean alwaysAllocateCPU; private Integer maximumInstanceCount; private Integer minimumInstanceCount; private String updateApplicationInput; private Boolean updateTraffic; private Builder() { } private Builder(DeployConfig model) { this.alwaysAllocateCPU = model.alwaysAllocateCPU; this.maximumInstanceCount = model.maximumInstanceCount; this.minimumInstanceCount = model.minimumInstanceCount; this.updateApplicationInput = model.updateApplicationInput; this.updateTraffic = model.updateTraffic; } /** * AlwaysAllocateCPU. */ public Builder alwaysAllocateCPU(Boolean alwaysAllocateCPU) { this.alwaysAllocateCPU = alwaysAllocateCPU; return this; } /** * MaximumInstanceCount. */ public Builder maximumInstanceCount(Integer maximumInstanceCount) { this.maximumInstanceCount = maximumInstanceCount; return this; } /** * MinimumInstanceCount. */ public Builder minimumInstanceCount(Integer minimumInstanceCount) { this.minimumInstanceCount = minimumInstanceCount; return this; } /** * UpdateApplicationInput. */ public Builder updateApplicationInput(String updateApplicationInput) { this.updateApplicationInput = updateApplicationInput; return this; } /** * UpdateTraffic. */ public Builder updateTraffic(Boolean updateTraffic) { this.updateTraffic = updateTraffic; return this; } public DeployConfig build() { return new DeployConfig(this); } } } /** * * {@link BuildPipeline} extends {@link TeaModel} * * <p>BuildPipeline</p> */ public static class ImageConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("InstanceType") private String instanceType; @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; @com.aliyun.core.annotation.NameInMap("Repository") private String repository; private ImageConfig(Builder builder) { this.instanceType = builder.instanceType; this.namespace = builder.namespace; this.repository = builder.repository; } public static Builder builder() { return new Builder(); } public static ImageConfig create() { return builder().build(); } /** * @return instanceType */ public String getInstanceType() { return this.instanceType; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return repository */ public String getRepository() { return this.repository; } public static final class Builder { private String instanceType; private String namespace; private String repository; private Builder() { } private Builder(ImageConfig model) { this.instanceType = model.instanceType; this.namespace = model.namespace; this.repository = model.repository; } /** * InstanceType. */ public Builder instanceType(String instanceType) { this.instanceType = instanceType; return this; } /** * Namespace. */ public Builder namespace(String namespace) { this.namespace = namespace; return this; } /** * Repository. */ public Builder repository(String repository) { this.repository = repository; return this; } public ImageConfig build() { return new ImageConfig(this); } } } /** * * {@link BuildPipeline} extends {@link TeaModel} * * <p>BuildPipeline</p> */ public static class PackageConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("PackageName") private String packageName; @com.aliyun.core.annotation.NameInMap("PackageType") private String packageType; @com.aliyun.core.annotation.NameInMap("PackageUrl") private String packageUrl; @com.aliyun.core.annotation.NameInMap("PackageVersion") private String packageVersion; private PackageConfig(Builder builder) { this.packageName = builder.packageName; this.packageType = builder.packageType; this.packageUrl = builder.packageUrl; this.packageVersion = builder.packageVersion; } public static Builder builder() { return new Builder(); } public static PackageConfig create() { return builder().build(); } /** * @return packageName */ public String getPackageName() { return this.packageName; } /** * @return packageType */ public String getPackageType() { return this.packageType; } /** * @return packageUrl */ public String getPackageUrl() { return this.packageUrl; } /** * @return packageVersion */ public String getPackageVersion() { return this.packageVersion; } public static final class Builder { private String packageName; private String packageType; private String packageUrl; private String packageVersion; private Builder() { } private Builder(PackageConfig model) { this.packageName = model.packageName; this.packageType = model.packageType; this.packageUrl = model.packageUrl; this.packageVersion = model.packageVersion; } /** * PackageName. */ public Builder packageName(String packageName) { this.packageName = packageName; return this; } /** * PackageType. */ public Builder packageType(String packageType) { this.packageType = packageType; return this; } /** * PackageUrl. */ public Builder packageUrl(String packageUrl) { this.packageUrl = packageUrl; return this; } /** * PackageVersion. */ public Builder packageVersion(String packageVersion) { this.packageVersion = packageVersion; return this; } public PackageConfig build() { return new PackageConfig(this); } } } /** * * {@link BuildPipeline} extends {@link TeaModel} * * <p>BuildPipeline</p> */ public static class TriggerConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("BranchName") private String branchName; @com.aliyun.core.annotation.NameInMap("TagName") private String tagName; @com.aliyun.core.annotation.NameInMap("Type") @com.aliyun.core.annotation.Validation(required = true) private String type; private TriggerConfig(Builder builder) { this.branchName = builder.branchName; this.tagName = builder.tagName; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static TriggerConfig create() { return builder().build(); } /** * @return branchName */ public String getBranchName() { return this.branchName; } /** * @return tagName */ public String getTagName() { return this.tagName; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private String branchName; private String tagName; private String type; private Builder() { } private Builder(TriggerConfig model) { this.branchName = model.branchName; this.tagName = model.tagName; this.type = model.type; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>master</p> */ public Builder branchName(String branchName) { this.branchName = branchName; return this; } /** * TagName. */ public Builder tagName(String tagName) { this.tagName = tagName; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>PUSH</p> */ public Builder type(String type) { this.type = type; return this; } public TriggerConfig build() { return new TriggerConfig(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/BuildPipelineRun.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link BuildPipelineRun} extends {@link TeaModel} * * <p>BuildPipelineRun</p> */ public class BuildPipelineRun extends TeaModel { @com.aliyun.core.annotation.NameInMap("BuildConfig") private BuildConfig buildConfig; @com.aliyun.core.annotation.NameInMap("BuildDuration") private Long buildDuration; @com.aliyun.core.annotation.NameInMap("CodeConfig") private CodeConfig codeConfig; @com.aliyun.core.annotation.NameInMap("CreateTime") private Long createTime; @com.aliyun.core.annotation.NameInMap("DeployConfig") private DeployConfig deployConfig; @com.aliyun.core.annotation.NameInMap("DeployDuration") private Long deployDuration; @com.aliyun.core.annotation.NameInMap("EndTime") private Long endTime; @com.aliyun.core.annotation.NameInMap("ImageConfig") private ImageConfig imageConfig; @com.aliyun.core.annotation.NameInMap("PackageConfig") private PackageConfig packageConfig; @com.aliyun.core.annotation.NameInMap("PipelineId") private String pipelineId; @com.aliyun.core.annotation.NameInMap("PipelineRunId") private String pipelineRunId; @com.aliyun.core.annotation.NameInMap("StartTime") private Long startTime; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("Steps") private java.util.List<Steps> steps; @com.aliyun.core.annotation.NameInMap("TriggerConfig") private TriggerConfig triggerConfig; @com.aliyun.core.annotation.NameInMap("VersionId") private String versionId; @com.aliyun.core.annotation.NameInMap("WaitDuration") private Long waitDuration; private BuildPipelineRun(Builder builder) { this.buildConfig = builder.buildConfig; this.buildDuration = builder.buildDuration; this.codeConfig = builder.codeConfig; this.createTime = builder.createTime; this.deployConfig = builder.deployConfig; this.deployDuration = builder.deployDuration; this.endTime = builder.endTime; this.imageConfig = builder.imageConfig; this.packageConfig = builder.packageConfig; this.pipelineId = builder.pipelineId; this.pipelineRunId = builder.pipelineRunId; this.startTime = builder.startTime; this.status = builder.status; this.steps = builder.steps; this.triggerConfig = builder.triggerConfig; this.versionId = builder.versionId; this.waitDuration = builder.waitDuration; } public static Builder builder() { return new Builder(); } public static BuildPipelineRun create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return buildConfig */ public BuildConfig getBuildConfig() { return this.buildConfig; } /** * @return buildDuration */ public Long getBuildDuration() { return this.buildDuration; } /** * @return codeConfig */ public CodeConfig getCodeConfig() { return this.codeConfig; } /** * @return createTime */ public Long getCreateTime() { return this.createTime; } /** * @return deployConfig */ public DeployConfig getDeployConfig() { return this.deployConfig; } /** * @return deployDuration */ public Long getDeployDuration() { return this.deployDuration; } /** * @return endTime */ public Long getEndTime() { return this.endTime; } /** * @return imageConfig */ public ImageConfig getImageConfig() { return this.imageConfig; } /** * @return packageConfig */ public PackageConfig getPackageConfig() { return this.packageConfig; } /** * @return pipelineId */ public String getPipelineId() { return this.pipelineId; } /** * @return pipelineRunId */ public String getPipelineRunId() { return this.pipelineRunId; } /** * @return startTime */ public Long getStartTime() { return this.startTime; } /** * @return status */ public String getStatus() { return this.status; } /** * @return steps */ public java.util.List<Steps> getSteps() { return this.steps; } /** * @return triggerConfig */ public TriggerConfig getTriggerConfig() { return this.triggerConfig; } /** * @return versionId */ public String getVersionId() { return this.versionId; } /** * @return waitDuration */ public Long getWaitDuration() { return this.waitDuration; } public static final class Builder { private BuildConfig buildConfig; private Long buildDuration; private CodeConfig codeConfig; private Long createTime; private DeployConfig deployConfig; private Long deployDuration; private Long endTime; private ImageConfig imageConfig; private PackageConfig packageConfig; private String pipelineId; private String pipelineRunId; private Long startTime; private String status; private java.util.List<Steps> steps; private TriggerConfig triggerConfig; private String versionId; private Long waitDuration; private Builder() { } private Builder(BuildPipelineRun model) { this.buildConfig = model.buildConfig; this.buildDuration = model.buildDuration; this.codeConfig = model.codeConfig; this.createTime = model.createTime; this.deployConfig = model.deployConfig; this.deployDuration = model.deployDuration; this.endTime = model.endTime; this.imageConfig = model.imageConfig; this.packageConfig = model.packageConfig; this.pipelineId = model.pipelineId; this.pipelineRunId = model.pipelineRunId; this.startTime = model.startTime; this.status = model.status; this.steps = model.steps; this.triggerConfig = model.triggerConfig; this.versionId = model.versionId; this.waitDuration = model.waitDuration; } /** * BuildConfig. */ public Builder buildConfig(BuildConfig buildConfig) { this.buildConfig = buildConfig; return this; } /** * BuildDuration. */ public Builder buildDuration(Long buildDuration) { this.buildDuration = buildDuration; return this; } /** * CodeConfig. */ public Builder codeConfig(CodeConfig codeConfig) { this.codeConfig = codeConfig; return this; } /** * CreateTime. */ public Builder createTime(Long createTime) { this.createTime = createTime; return this; } /** * DeployConfig. */ public Builder deployConfig(DeployConfig deployConfig) { this.deployConfig = deployConfig; return this; } /** * DeployDuration. */ public Builder deployDuration(Long deployDuration) { this.deployDuration = deployDuration; return this; } /** * EndTime. */ public Builder endTime(Long endTime) { this.endTime = endTime; return this; } /** * ImageConfig. */ public Builder imageConfig(ImageConfig imageConfig) { this.imageConfig = imageConfig; return this; } /** * PackageConfig. */ public Builder packageConfig(PackageConfig packageConfig) { this.packageConfig = packageConfig; return this; } /** * PipelineId. */ public Builder pipelineId(String pipelineId) { this.pipelineId = pipelineId; return this; } /** * PipelineRunId. */ public Builder pipelineRunId(String pipelineRunId) { this.pipelineRunId = pipelineRunId; return this; } /** * StartTime. */ public Builder startTime(Long startTime) { this.startTime = startTime; return this; } /** * Status. */ public Builder status(String status) { this.status = status; return this; } /** * Steps. */ public Builder steps(java.util.List<Steps> steps) { this.steps = steps; return this; } /** * TriggerConfig. */ public Builder triggerConfig(TriggerConfig triggerConfig) { this.triggerConfig = triggerConfig; return this; } /** * VersionId. */ public Builder versionId(String versionId) { this.versionId = versionId; return this; } /** * WaitDuration. */ public Builder waitDuration(Long waitDuration) { this.waitDuration = waitDuration; return this; } public BuildPipelineRun build() { return new BuildPipelineRun(this); } } /** * * {@link BuildPipelineRun} extends {@link TeaModel} * * <p>BuildPipelineRun</p> */ public static class Trigger extends TeaModel { @com.aliyun.core.annotation.NameInMap("BranchName") private String branchName; @com.aliyun.core.annotation.NameInMap("TagName") private String tagName; @com.aliyun.core.annotation.NameInMap("Type") @com.aliyun.core.annotation.Validation(required = true) private String type; private Trigger(Builder builder) { this.branchName = builder.branchName; this.tagName = builder.tagName; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static Trigger create() { return builder().build(); } /** * @return branchName */ public String getBranchName() { return this.branchName; } /** * @return tagName */ public String getTagName() { return this.tagName; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private String branchName; private String tagName; private String type; private Builder() { } private Builder(Trigger model) { this.branchName = model.branchName; this.tagName = model.tagName; this.type = model.type; } /** * BranchName. */ public Builder branchName(String branchName) { this.branchName = branchName; return this; } /** * TagName. */ public Builder tagName(String tagName) { this.tagName = tagName; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>PUSH</p> */ public Builder type(String type) { this.type = type; return this; } public Trigger build() { return new Trigger(this); } } } /** * * {@link BuildPipelineRun} extends {@link TeaModel} * * <p>BuildPipelineRun</p> */ public static class BuildConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("BeforeBuildCommand") private String beforeBuildCommand; @com.aliyun.core.annotation.NameInMap("BuildType") @com.aliyun.core.annotation.Validation(required = true) private String buildType; @com.aliyun.core.annotation.NameInMap("DockerfilePath") private String dockerfilePath; @com.aliyun.core.annotation.NameInMap("RunCommand") private String runCommand; @com.aliyun.core.annotation.NameInMap("RuntimeType") private String runtimeType; @com.aliyun.core.annotation.NameInMap("RuntimeVersion") private String runtimeVersion; @com.aliyun.core.annotation.NameInMap("TomcatConfig") private TomcatConfig tomcatConfig; @com.aliyun.core.annotation.NameInMap("Trigger") @com.aliyun.core.annotation.Validation(required = true) private Trigger trigger; @com.aliyun.core.annotation.NameInMap("WorkingDir") private String workingDir; private BuildConfig(Builder builder) { this.beforeBuildCommand = builder.beforeBuildCommand; this.buildType = builder.buildType; this.dockerfilePath = builder.dockerfilePath; this.runCommand = builder.runCommand; this.runtimeType = builder.runtimeType; this.runtimeVersion = builder.runtimeVersion; this.tomcatConfig = builder.tomcatConfig; this.trigger = builder.trigger; this.workingDir = builder.workingDir; } public static Builder builder() { return new Builder(); } public static BuildConfig create() { return builder().build(); } /** * @return beforeBuildCommand */ public String getBeforeBuildCommand() { return this.beforeBuildCommand; } /** * @return buildType */ public String getBuildType() { return this.buildType; } /** * @return dockerfilePath */ public String getDockerfilePath() { return this.dockerfilePath; } /** * @return runCommand */ public String getRunCommand() { return this.runCommand; } /** * @return runtimeType */ public String getRuntimeType() { return this.runtimeType; } /** * @return runtimeVersion */ public String getRuntimeVersion() { return this.runtimeVersion; } /** * @return tomcatConfig */ public TomcatConfig getTomcatConfig() { return this.tomcatConfig; } /** * @return trigger */ public Trigger getTrigger() { return this.trigger; } /** * @return workingDir */ public String getWorkingDir() { return this.workingDir; } public static final class Builder { private String beforeBuildCommand; private String buildType; private String dockerfilePath; private String runCommand; private String runtimeType; private String runtimeVersion; private TomcatConfig tomcatConfig; private Trigger trigger; private String workingDir; private Builder() { } private Builder(BuildConfig model) { this.beforeBuildCommand = model.beforeBuildCommand; this.buildType = model.buildType; this.dockerfilePath = model.dockerfilePath; this.runCommand = model.runCommand; this.runtimeType = model.runtimeType; this.runtimeVersion = model.runtimeVersion; this.tomcatConfig = model.tomcatConfig; this.trigger = model.trigger; this.workingDir = model.workingDir; } /** * BeforeBuildCommand. */ public Builder beforeBuildCommand(String beforeBuildCommand) { this.beforeBuildCommand = beforeBuildCommand; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>buildpacks/dockerfile</p> */ public Builder buildType(String buildType) { this.buildType = buildType; return this; } /** * DockerfilePath. */ public Builder dockerfilePath(String dockerfilePath) { this.dockerfilePath = dockerfilePath; return this; } /** * RunCommand. */ public Builder runCommand(String runCommand) { this.runCommand = runCommand; return this; } /** * RuntimeType. */ public Builder runtimeType(String runtimeType) { this.runtimeType = runtimeType; return this; } /** * RuntimeVersion. */ public Builder runtimeVersion(String runtimeVersion) { this.runtimeVersion = runtimeVersion; return this; } /** * TomcatConfig. */ public Builder tomcatConfig(TomcatConfig tomcatConfig) { this.tomcatConfig = tomcatConfig; return this; } /** * <p>This parameter is required.</p> */ public Builder trigger(Trigger trigger) { this.trigger = trigger; return this; } /** * WorkingDir. */ public Builder workingDir(String workingDir) { this.workingDir = workingDir; return this; } public BuildConfig build() { return new BuildConfig(this); } } } /** * * {@link BuildPipelineRun} extends {@link TeaModel} * * <p>BuildPipelineRun</p> */ public static class CodeConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("AccountId") @com.aliyun.core.annotation.Validation(required = true) private String accountId; @com.aliyun.core.annotation.NameInMap("BranchName") @com.aliyun.core.annotation.Validation(required = true) private String branchName; @com.aliyun.core.annotation.NameInMap("CommitId") private String commitId; @com.aliyun.core.annotation.NameInMap("CommitUrl") private String commitUrl; @com.aliyun.core.annotation.NameInMap("OrganizationId") private String organizationId; @com.aliyun.core.annotation.NameInMap("Provider") @com.aliyun.core.annotation.Validation(required = true) private String provider; @com.aliyun.core.annotation.NameInMap("RepoFullName") @com.aliyun.core.annotation.Validation(required = true) private String repoFullName; @com.aliyun.core.annotation.NameInMap("RepoId") @com.aliyun.core.annotation.Validation(required = true) private String repoId; private CodeConfig(Builder builder) { this.accountId = builder.accountId; this.branchName = builder.branchName; this.commitId = builder.commitId; this.commitUrl = builder.commitUrl; this.organizationId = builder.organizationId; this.provider = builder.provider; this.repoFullName = builder.repoFullName; this.repoId = builder.repoId; } public static Builder builder() { return new Builder(); } public static CodeConfig create() { return builder().build(); } /** * @return accountId */ public String getAccountId() { return this.accountId; } /** * @return branchName */ public String getBranchName() { return this.branchName; } /** * @return commitId */ public String getCommitId() { return this.commitId; } /** * @return commitUrl */ public String getCommitUrl() { return this.commitUrl; } /** * @return organizationId */ public String getOrganizationId() { return this.organizationId; } /** * @return provider */ public String getProvider() { return this.provider; } /** * @return repoFullName */ public String getRepoFullName() { return this.repoFullName; } /** * @return repoId */ public String getRepoId() { return this.repoId; } public static final class Builder { private String accountId; private String branchName; private String commitId; private String commitUrl; private String organizationId; private String provider; private String repoFullName; private String repoId; private Builder() { } private Builder(CodeConfig model) { this.accountId = model.accountId; this.branchName = model.branchName; this.commitId = model.commitId; this.commitUrl = model.commitUrl; this.organizationId = model.organizationId; this.provider = model.provider; this.repoFullName = model.repoFullName; this.repoId = model.repoId; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>10000</p> */ public Builder accountId(String accountId) { this.accountId = accountId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>master</p> */ public Builder branchName(String branchName) { this.branchName = branchName; return this; } /** * CommitId. */ public Builder commitId(String commitId) { this.commitId = commitId; return this; } /** * CommitUrl. */ public Builder commitUrl(String commitUrl) { this.commitUrl = commitUrl; return this; } /** * OrganizationId. */ public Builder organizationId(String organizationId) { this.organizationId = organizationId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>github/gitee/gitlab等</p> */ public Builder provider(String provider) { this.provider = provider; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>sae-samples/java-maven-demo</p> */ public Builder repoFullName(String repoFullName) { this.repoFullName = repoFullName; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>3001</p> */ public Builder repoId(String repoId) { this.repoId = repoId; return this; } public CodeConfig build() { return new CodeConfig(this); } } } /** * * {@link BuildPipelineRun} extends {@link TeaModel} * * <p>BuildPipelineRun</p> */ public static class DeployConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("AlwaysAllocateCPU") private Boolean alwaysAllocateCPU; @com.aliyun.core.annotation.NameInMap("MaximumInstanceCount") private Integer maximumInstanceCount; @com.aliyun.core.annotation.NameInMap("MinimumInstanceCount") private Integer minimumInstanceCount; @com.aliyun.core.annotation.NameInMap("UpdateApplicationInput") private String updateApplicationInput; @com.aliyun.core.annotation.NameInMap("UpdateTraffic") private Boolean updateTraffic; private DeployConfig(Builder builder) { this.alwaysAllocateCPU = builder.alwaysAllocateCPU; this.maximumInstanceCount = builder.maximumInstanceCount; this.minimumInstanceCount = builder.minimumInstanceCount; this.updateApplicationInput = builder.updateApplicationInput; this.updateTraffic = builder.updateTraffic; } public static Builder builder() { return new Builder(); } public static DeployConfig create() { return builder().build(); } /** * @return alwaysAllocateCPU */ public Boolean getAlwaysAllocateCPU() { return this.alwaysAllocateCPU; } /** * @return maximumInstanceCount */ public Integer getMaximumInstanceCount() { return this.maximumInstanceCount; } /** * @return minimumInstanceCount */ public Integer getMinimumInstanceCount() { return this.minimumInstanceCount; } /** * @return updateApplicationInput */ public String getUpdateApplicationInput() { return this.updateApplicationInput; } /** * @return updateTraffic */ public Boolean getUpdateTraffic() { return this.updateTraffic; } public static final class Builder { private Boolean alwaysAllocateCPU; private Integer maximumInstanceCount; private Integer minimumInstanceCount; private String updateApplicationInput; private Boolean updateTraffic; private Builder() { } private Builder(DeployConfig model) { this.alwaysAllocateCPU = model.alwaysAllocateCPU; this.maximumInstanceCount = model.maximumInstanceCount; this.minimumInstanceCount = model.minimumInstanceCount; this.updateApplicationInput = model.updateApplicationInput; this.updateTraffic = model.updateTraffic; } /** * AlwaysAllocateCPU. */ public Builder alwaysAllocateCPU(Boolean alwaysAllocateCPU) { this.alwaysAllocateCPU = alwaysAllocateCPU; return this; } /** * MaximumInstanceCount. */ public Builder maximumInstanceCount(Integer maximumInstanceCount) { this.maximumInstanceCount = maximumInstanceCount; return this; } /** * MinimumInstanceCount. */ public Builder minimumInstanceCount(Integer minimumInstanceCount) { this.minimumInstanceCount = minimumInstanceCount; return this; } /** * UpdateApplicationInput. */ public Builder updateApplicationInput(String updateApplicationInput) { this.updateApplicationInput = updateApplicationInput; return this; } /** * UpdateTraffic. */ public Builder updateTraffic(Boolean updateTraffic) { this.updateTraffic = updateTraffic; return this; } public DeployConfig build() { return new DeployConfig(this); } } } /** * * {@link BuildPipelineRun} extends {@link TeaModel} * * <p>BuildPipelineRun</p> */ public static class ImageConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("InstanceType") private String instanceType; @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; @com.aliyun.core.annotation.NameInMap("Repository") private String repository; private ImageConfig(Builder builder) { this.instanceType = builder.instanceType; this.namespace = builder.namespace; this.repository = builder.repository; } public static Builder builder() { return new Builder(); } public static ImageConfig create() { return builder().build(); } /** * @return instanceType */ public String getInstanceType() { return this.instanceType; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return repository */ public String getRepository() { return this.repository; } public static final class Builder { private String instanceType; private String namespace; private String repository; private Builder() { } private Builder(ImageConfig model) { this.instanceType = model.instanceType; this.namespace = model.namespace; this.repository = model.repository; } /** * InstanceType. */ public Builder instanceType(String instanceType) { this.instanceType = instanceType; return this; } /** * Namespace. */ public Builder namespace(String namespace) { this.namespace = namespace; return this; } /** * Repository. */ public Builder repository(String repository) { this.repository = repository; return this; } public ImageConfig build() { return new ImageConfig(this); } } } /** * * {@link BuildPipelineRun} extends {@link TeaModel} * * <p>BuildPipelineRun</p> */ public static class PackageConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("PackageName") private String packageName; @com.aliyun.core.annotation.NameInMap("PackageType") private String packageType; @com.aliyun.core.annotation.NameInMap("PackageUrl") private String packageUrl; @com.aliyun.core.annotation.NameInMap("PackageVersion") private String packageVersion; private PackageConfig(Builder builder) { this.packageName = builder.packageName; this.packageType = builder.packageType; this.packageUrl = builder.packageUrl; this.packageVersion = builder.packageVersion; } public static Builder builder() { return new Builder(); } public static PackageConfig create() { return builder().build(); } /** * @return packageName */ public String getPackageName() { return this.packageName; } /** * @return packageType */ public String getPackageType() { return this.packageType; } /** * @return packageUrl */ public String getPackageUrl() { return this.packageUrl; } /** * @return packageVersion */ public String getPackageVersion() { return this.packageVersion; } public static final class Builder { private String packageName; private String packageType; private String packageUrl; private String packageVersion; private Builder() { } private Builder(PackageConfig model) { this.packageName = model.packageName; this.packageType = model.packageType; this.packageUrl = model.packageUrl; this.packageVersion = model.packageVersion; } /** * PackageName. */ public Builder packageName(String packageName) { this.packageName = packageName; return this; } /** * PackageType. */ public Builder packageType(String packageType) { this.packageType = packageType; return this; } /** * PackageUrl. */ public Builder packageUrl(String packageUrl) { this.packageUrl = packageUrl; return this; } /** * PackageVersion. */ public Builder packageVersion(String packageVersion) { this.packageVersion = packageVersion; return this; } public PackageConfig build() { return new PackageConfig(this); } } } /** * * {@link BuildPipelineRun} extends {@link TeaModel} * * <p>BuildPipelineRun</p> */ public static class Steps extends TeaModel { @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("Duration") private Long duration; @com.aliyun.core.annotation.NameInMap("EndTime") private Long endTime; @com.aliyun.core.annotation.NameInMap("Id") private String id; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("Result") private String result; @com.aliyun.core.annotation.NameInMap("StartTime") private Long startTime; @com.aliyun.core.annotation.NameInMap("Status") private String status; private Steps(Builder builder) { this.description = builder.description; this.duration = builder.duration; this.endTime = builder.endTime; this.id = builder.id; this.name = builder.name; this.result = builder.result; this.startTime = builder.startTime; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static Steps create() { return builder().build(); } /** * @return description */ public String getDescription() { return this.description; } /** * @return duration */ public Long getDuration() { return this.duration; } /** * @return endTime */ public Long getEndTime() { return this.endTime; } /** * @return id */ public String getId() { return this.id; } /** * @return name */ public String getName() { return this.name; } /** * @return result */ public String getResult() { return this.result; } /** * @return startTime */ public Long getStartTime() { return this.startTime; } /** * @return status */ public String getStatus() { return this.status; } public static final class Builder { private String description; private Long duration; private Long endTime; private String id; private String name; private String result; private Long startTime; private String status; private Builder() { } private Builder(Steps model) { this.description = model.description; this.duration = model.duration; this.endTime = model.endTime; this.id = model.id; this.name = model.name; this.result = model.result; this.startTime = model.startTime; this.status = model.status; } /** * Description. */ public Builder description(String description) { this.description = description; return this; } /** * Duration. */ public Builder duration(Long duration) { this.duration = duration; return this; } /** * EndTime. */ public Builder endTime(Long endTime) { this.endTime = endTime; return this; } /** * Id. */ public Builder id(String id) { this.id = id; return this; } /** * Name. */ public Builder name(String name) { this.name = name; return this; } /** * Result. */ public Builder result(String result) { this.result = result; return this; } /** * StartTime. */ public Builder startTime(Long startTime) { this.startTime = startTime; return this; } /** * Status. */ public Builder status(String status) { this.status = status; return this; } public Steps build() { return new Steps(this); } } } /** * * {@link BuildPipelineRun} extends {@link TeaModel} * * <p>BuildPipelineRun</p> */ public static class TriggerConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("BranchName") private String branchName; @com.aliyun.core.annotation.NameInMap("TagName") private String tagName; @com.aliyun.core.annotation.NameInMap("Type") private String type; private TriggerConfig(Builder builder) { this.branchName = builder.branchName; this.tagName = builder.tagName; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static TriggerConfig create() { return builder().build(); } /** * @return branchName */ public String getBranchName() { return this.branchName; } /** * @return tagName */ public String getTagName() { return this.tagName; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private String branchName; private String tagName; private String type; private Builder() { } private Builder(TriggerConfig model) { this.branchName = model.branchName; this.tagName = model.tagName; this.type = model.type; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>master</p> */ public Builder branchName(String branchName) { this.branchName = branchName; return this; } /** * TagName. */ public Builder tagName(String tagName) { this.tagName = tagName; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>PUSH</p> */ public Builder type(String type) { this.type = type; return this; } public TriggerConfig build() { return new TriggerConfig(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/BuildPipelineRunLogLine.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link BuildPipelineRunLogLine} extends {@link TeaModel} * * <p>BuildPipelineRunLogLine</p> */ public class BuildPipelineRunLogLine extends TeaModel { @com.aliyun.core.annotation.NameInMap("Content") private String content; @com.aliyun.core.annotation.NameInMap("Offset") private Long offset; private BuildPipelineRunLogLine(Builder builder) { this.content = builder.content; this.offset = builder.offset; } public static Builder builder() { return new Builder(); } public static BuildPipelineRunLogLine create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return content */ public String getContent() { return this.content; } /** * @return offset */ public Long getOffset() { return this.offset; } public static final class Builder { private String content; private Long offset; private Builder() { } private Builder(BuildPipelineRunLogLine model) { this.content = model.content; this.offset = model.offset; } /** * Content. */ public Builder content(String content) { this.content = content; return this; } /** * Offset. */ public Builder offset(Long offset) { this.offset = offset; return this; } public BuildPipelineRunLogLine build() { return new BuildPipelineRunLogLine(this); } } }