com.aliyun.cs20151215.models.GetKubernetesTriggerRequest 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 GetKubernetesTriggerRequest extends TeaModel {
/**
* The application name.
* This parameter is required.
*
* example:
* web-server
*/
@NameInMap("Name")
public String name;
/**
* The namespace name.
* 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 GetKubernetesTriggerRequest build(java.util.Map map) throws Exception {
GetKubernetesTriggerRequest self = new GetKubernetesTriggerRequest();
return TeaModel.build(map, self);
}
public GetKubernetesTriggerRequest setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public GetKubernetesTriggerRequest setNamespace(String namespace) {
this.namespace = namespace;
return this;
}
public String getNamespace() {
return this.namespace;
}
public GetKubernetesTriggerRequest setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
public GetKubernetesTriggerRequest setAction(String action) {
this.action = action;
return this;
}
public String getAction() {
return this.action;
}
}