@Generated(value="software.amazon.awssdk:codegen") public final class UpdateDeploymentGroupRequest extends CodeDeployRequest implements ToCopyableBuilder<UpdateDeploymentGroupRequest.Builder,UpdateDeploymentGroupRequest>
Represents the input of an UpdateDeploymentGroup operation.
Modifier and Type | Class and Description |
---|---|
static interface |
UpdateDeploymentGroupRequest.Builder |
Modifier and Type | Method and Description |
---|---|
AlarmConfiguration |
alarmConfiguration()
Information to add or change about Amazon CloudWatch alarms when the deployment group is updated.
|
String |
applicationName()
The application name corresponding to the deployment group to update.
|
AutoRollbackConfiguration |
autoRollbackConfiguration()
Information for an automatic rollback configuration that is added or changed when a deployment group is updated.
|
List<String> |
autoScalingGroups()
The replacement list of Auto Scaling groups to be included in the deployment group, if you want to change them.
|
BlueGreenDeploymentConfiguration |
blueGreenDeploymentConfiguration()
Information about blue/green deployment options for a deployment group.
|
static UpdateDeploymentGroupRequest.Builder |
builder() |
String |
currentDeploymentGroupName()
The current name of the deployment group.
|
String |
deploymentConfigName()
The replacement deployment configuration name to use, if you want to change it.
|
DeploymentStyle |
deploymentStyle()
Information about the type of deployment, either in-place or blue/green, you want to run and whether to route
deployment traffic behind a load balancer.
|
List<EC2TagFilter> |
ec2TagFilters()
The replacement set of Amazon EC2 tags on which to filter, if you want to change them.
|
EC2TagSet |
ec2TagSet()
Information about groups of tags applied to on-premises 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.
|
String |
newDeploymentGroupName()
The new name of the deployment group, if you want to change it.
|
List<TagFilter> |
onPremisesInstanceTagFilters()
The replacement set of on-premises instance tags on which to filter, if you want to change them.
|
OnPremisesTagSet |
onPremisesTagSet()
Information about an on-premises instance tag set.
|
static Class<? extends UpdateDeploymentGroupRequest.Builder> |
serializableBuilderClass() |
String |
serviceRoleArn()
A replacement ARN for the service role, if you want to change it.
|
UpdateDeploymentGroupRequest.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 change when the deployment group is updated.
|
overrideConfiguration
copy
public String applicationName()
The application name corresponding to the deployment group to update.
public String currentDeploymentGroupName()
The current name of the deployment group.
public String newDeploymentGroupName()
The new name of the deployment group, if you want to change it.
public String deploymentConfigName()
The replacement deployment configuration name to use, if you want to change it.
public List<EC2TagFilter> ec2TagFilters()
The replacement set of Amazon EC2 tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<TagFilter> onPremisesInstanceTagFilters()
The replacement set of on-premises instance tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> autoScalingGroups()
The replacement list of Auto Scaling groups to be included in the deployment group, if you want to change them. To keep the Auto Scaling groups, enter their names. To remove Auto Scaling groups, do not enter any Auto Scaling group names.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String serviceRoleArn()
A replacement ARN for the service role, if you want to change it.
public List<TriggerConfig> triggerConfigurations()
Information about triggers to change when the deployment group is updated. For examples, see Modify Triggers in an AWS CodeDeploy Deployment Group 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 or change about Amazon CloudWatch alarms when the deployment group is updated.
public AutoRollbackConfiguration autoRollbackConfiguration()
Information for an automatic rollback configuration that is added or changed when a deployment group is updated.
public DeploymentStyle deploymentStyle()
Information about the type of deployment, either in-place or blue/green, 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 on-premises instances. The deployment group will include only EC2 instances identified by all the tag groups.
public OnPremisesTagSet onPremisesTagSet()
Information about an on-premises instance tag set. The deployment group will include only on-premises instances identified by all the tag groups.
public UpdateDeploymentGroupRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UpdateDeploymentGroupRequest.Builder,UpdateDeploymentGroupRequest>
toBuilder
in class CodeDeployRequest
public static UpdateDeploymentGroupRequest.Builder builder()
public static Class<? extends UpdateDeploymentGroupRequest.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.