com.aliyun.cs20151215.models.DescribeTriggerRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cs20151215 Show documentation
Show all versions of cs20151215 Show documentation
Alibaba Cloud CS (20151215) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.cs20151215.models;
import com.aliyun.tea.*;
public class DescribeTriggerRequest extends TeaModel {
/**
* The application name.
* This parameter is required.
*
* example:
* web-server
*/
@NameInMap("Name")
public String name;
/**
* The namespace to which the application belongs.
* This parameter is required.
*
* example:
* default
*/
@NameInMap("Namespace")
public String namespace;
/**
* The type of trigger. Valid values:
*
* deployment
: performs actions on Deployments.
* application
: performs actions on applications that are deployed in Application Center.
*
* Default value: deployment
.
* If you do not set this parameter, triggers are not filtered by type.
*
* example:
* deployment
*/
@NameInMap("Type")
public String type;
/**
* The action that the trigger performs. Set the value to redeploy.
* redeploy
: redeploys the resources specified by project_id
.
* If you do not specify this parameter, triggers are not filtered by action.
*
* example:
* redeploy
*/
@NameInMap("action")
public String action;
public static DescribeTriggerRequest build(java.util.Map map) throws Exception {
DescribeTriggerRequest self = new DescribeTriggerRequest();
return TeaModel.build(map, self);
}
public DescribeTriggerRequest setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public DescribeTriggerRequest setNamespace(String namespace) {
this.namespace = namespace;
return this;
}
public String getNamespace() {
return this.namespace;
}
public DescribeTriggerRequest setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
public DescribeTriggerRequest setAction(String action) {
this.action = action;
return this;
}
public String getAction() {
return this.action;
}
}