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

com.aliyun.sdk.service.cloudapi20160714.models.ModifyLogConfigRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloudapi20160714.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 ModifyLogConfigRequest} extends {@link RequestModel}
 *
 * 

ModifyLogConfigRequest

*/ public class ModifyLogConfigRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("LogType") private String logType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SlsLogStore") @com.aliyun.core.annotation.Validation(required = true) private String slsLogStore; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SlsProject") @com.aliyun.core.annotation.Validation(required = true) private String slsProject; private ModifyLogConfigRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.logType = builder.logType; this.securityToken = builder.securityToken; this.slsLogStore = builder.slsLogStore; this.slsProject = builder.slsProject; } public static Builder builder() { return new Builder(); } public static ModifyLogConfigRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return logType */ public String getLogType() { return this.logType; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } /** * @return slsLogStore */ public String getSlsLogStore() { return this.slsLogStore; } /** * @return slsProject */ public String getSlsProject() { return this.slsProject; } public static final class Builder extends Request.Builder { private String regionId; private String logType; private String securityToken; private String slsLogStore; private String slsProject; private Builder() { super(); } private Builder(ModifyLogConfigRequest request) { super(request); this.regionId = request.regionId; this.logType = request.logType; this.securityToken = request.securityToken; this.slsLogStore = request.slsLogStore; this.slsProject = request.slsProject; } /** * RegionId. */ public Builder regionId(String regionId) { this.putHostParameter("RegionId", regionId); this.regionId = regionId; return this; } /** *

The log type. Valid values:

*
    *
  • log: other logs
  • *
  • survey: inspection logs
  • *
*

Enumeration value:

*
    *
  • PROVIDER
  • *
* * example: *

PROVIDER

*/ public Builder logType(String logType) { this.putQueryParameter("LogType", logType); this.logType = logType; return this; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } /** *

The name of the Logstore.

*

This parameter is required.

* * example: *

logs-gateway

*/ public Builder slsLogStore(String slsLogStore) { this.putQueryParameter("SlsLogStore", slsLogStore); this.slsLogStore = slsLogStore; return this; } /** *

The name of the Log Service project.

*

This parameter is required.

* * example: *

ford-api-gateway-log

*/ public Builder slsProject(String slsProject) { this.putQueryParameter("SlsProject", slsProject); this.slsProject = slsProject; return this; } @Override public ModifyLogConfigRequest build() { return new ModifyLogConfigRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy