@Generated(value="software.amazon.awssdk:codegen") public class CreateDeploymentGroupRequest extends CodeDeployRequest implements ToCopyableBuilder<CreateDeploymentGroupRequest.Builder,CreateDeploymentGroupRequest>
Represents the input of a CreateDeploymentGroup operation.
Modifier and Type | Class and Description |
---|---|
static interface |
CreateDeploymentGroupRequest.Builder |
Modifier and Type | Method and Description |
---|---|
AlarmConfiguration |
alarmConfiguration()
Information to add about Amazon CloudWatch alarms when the deployment group is created.
|
String |
applicationName()
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
|
AutoRollbackConfiguration |
autoRollbackConfiguration()
Configuration information for an automatic rollback that is added when a deployment group is created.
|
List<String> |
autoScalingGroups()
A list of associated Auto Scaling groups.
|
BlueGreenDeploymentConfiguration |
blueGreenDeploymentConfiguration()
Information about blue/green deployment options for a deployment group.
|
static CreateDeploymentGroupRequest.Builder |
builder() |
String |
deploymentConfigName()
If specified, the deployment configuration name can be either one of the predefined configurations provided with
AWS CodeDeploy or a custom deployment configuration that you create by calling the create deployment
configuration operation.
|
String |
deploymentGroupName()
The name of a new deployment group for the specified application.
|
DeploymentStyle |
deploymentStyle()
Information about the type of deployment, in-place or blue/green, that you want to run and whether to route
deployment traffic behind a load balancer.
|
List<EC2TagFilter> |
ec2TagFilters()
The Amazon EC2 tags on which to filter.
|
EC2TagSet |
ec2TagSet()
Information about groups of tags applied to EC2 instances.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
LoadBalancerInfo |
loadBalancerInfo()
Information about the load balancer used in a deployment.
|
List<TagFilter> |
onPremisesInstanceTagFilters()
The on-premises instance tags on which to filter.
|
OnPremisesTagSet |
onPremisesTagSet()
Information about groups of tags applied to on-premises instances.
|
static Class<? extends CreateDeploymentGroupRequest.Builder> |
serializableBuilderClass() |
String |
serviceRoleArn()
A service role ARN that allows AWS CodeDeploy to act on the user's behalf when interacting with AWS services.
|
CreateDeploymentGroupRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
List<TriggerConfig> |
triggerConfigurations()
Information about triggers to create when the deployment group is created.
|
requestOverrideConfig
copy
public String applicationName()
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
public String deploymentGroupName()
The name of a new deployment group for the specified application.
public String deploymentConfigName()
If specified, the deployment configuration name can be either one of the predefined configurations provided with AWS CodeDeploy or a custom deployment configuration that you create by calling the create deployment configuration operation.
CodeDeployDefault.OneAtATime is the default deployment configuration. It is used if a configuration isn't specified for the deployment or the deployment group.
For more information about the predefined deployment configurations in AWS CodeDeploy, see Working with Deployment Groups in AWS CodeDeploy in the AWS CodeDeploy User Guide.
CodeDeployDefault.OneAtATime is the default deployment configuration. It is used if a configuration isn't specified for the deployment or the deployment group.
For more information about the predefined deployment configurations in AWS CodeDeploy, see Working with Deployment Groups in AWS CodeDeploy in the AWS CodeDeploy User Guide.
public List<EC2TagFilter> ec2TagFilters()
The Amazon EC2 tags on which to filter. The deployment group will include EC2 instances with any of the specified tags. Cannot be used in the same call as ec2TagSet.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<TagFilter> onPremisesInstanceTagFilters()
The on-premises instance tags on which to filter. The deployment group will include on-premises instances with any of the specified tags. Cannot be used in the same call as OnPremisesTagSet.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> autoScalingGroups()
A list of associated Auto Scaling groups.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String serviceRoleArn()
A service role ARN that allows AWS CodeDeploy to act on the user's behalf when interacting with AWS services.
public List<TriggerConfig> triggerConfigurations()
Information about triggers to create when the deployment group is created. For examples, see Create a Trigger for an AWS CodeDeploy Event in the AWS CodeDeploy User Guide.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public AlarmConfiguration alarmConfiguration()
Information to add about Amazon CloudWatch alarms when the deployment group is created.
public AutoRollbackConfiguration autoRollbackConfiguration()
Configuration information for an automatic rollback that is added when a deployment group is created.
public DeploymentStyle deploymentStyle()
Information about the type of deployment, in-place or blue/green, that you want to run and whether to route deployment traffic behind a load balancer.
public BlueGreenDeploymentConfiguration blueGreenDeploymentConfiguration()
Information about blue/green deployment options for a deployment group.
public LoadBalancerInfo loadBalancerInfo()
Information about the load balancer used in a deployment.
public EC2TagSet ec2TagSet()
Information about groups of tags applied to EC2 instances. The deployment group will include only EC2 instances identified by all the tag groups. Cannot be used in the same call as ec2TagFilters.
public OnPremisesTagSet onPremisesTagSet()
Information about groups of tags applied to on-premises instances. The deployment group will include only on-premises instances identified by all the tag groups. Cannot be used in the same call as onPremisesInstanceTagFilters.
public CreateDeploymentGroupRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateDeploymentGroupRequest.Builder,CreateDeploymentGroupRequest>
toBuilder
in class CodeDeployRequest
public static CreateDeploymentGroupRequest.Builder builder()
public static Class<? extends CreateDeploymentGroupRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.