@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 that corresponds 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.
|
List<ECSService> |
ecsServices()
The target Amazon ECS services in the deployment group.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAutoScalingGroups()
For responses, this returns true if the service returned a value for the AutoScalingGroups property.
|
boolean |
hasEc2TagFilters()
For responses, this returns true if the service returned a value for the Ec2TagFilters property.
|
boolean |
hasEcsServices()
For responses, this returns true if the service returned a value for the EcsServices property.
|
int |
hashCode() |
boolean |
hasOnPremisesInstanceTagFilters()
For responses, this returns true if the service returned a value for the OnPremisesInstanceTagFilters property.
|
boolean |
hasTriggerConfigurations()
For responses, this returns true if the service returned a value for the TriggerConfigurations property.
|
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.
|
OutdatedInstancesStrategy |
outdatedInstancesStrategy()
Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed
application revision.
|
String |
outdatedInstancesStrategyAsString()
Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed
application revision.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateDeploymentGroupRequest.Builder> |
serializableBuilderClass() |
String |
serviceRoleArn()
A replacement ARN for the service role, if you want to change it.
|
UpdateDeploymentGroupRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<TriggerConfig> |
triggerConfigurations()
Information about triggers to change when the deployment group is updated.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String applicationName()
The application name that corresponds to the deployment group to update.
public final String currentDeploymentGroupName()
The current name of the deployment group.
public final String newDeploymentGroupName()
The new name of the deployment group, if you want to change it.
public final String deploymentConfigName()
The replacement deployment configuration name to use, if you want to change it.
public final boolean hasEc2TagFilters()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasEc2TagFilters() method.
public final boolean hasOnPremisesInstanceTagFilters()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasOnPremisesInstanceTagFilters() method.
public final boolean hasAutoScalingGroups()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final 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 or do not specify this parameter.
To remove Auto Scaling groups, specify a non-null empty list of Auto Scaling group names to detach all CodeDeploy-managed Auto Scaling lifecycle hooks. For examples, see Amazon EC2 instances in an Amazon EC2 Auto Scaling group fail to launch and receive the error "Heartbeat Timeout" in the CodeDeploy User Guide.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAutoScalingGroups() method.
To keep the Auto Scaling groups, enter their names or do not specify this parameter.
To remove Auto Scaling groups, specify a non-null empty list of Auto Scaling group names to detach all CodeDeploy-managed Auto Scaling lifecycle hooks. For examples, see Amazon EC2 instances in an Amazon EC2 Auto Scaling group fail to launch and receive the error "Heartbeat Timeout" in the CodeDeploy User Guide.
public final String serviceRoleArn()
A replacement ARN for the service role, if you want to change it.
public final boolean hasTriggerConfigurations()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<TriggerConfig> triggerConfigurations()
Information about triggers to change when the deployment group is updated. For examples, see Edit a Trigger in a CodeDeploy Deployment Group in the CodeDeploy User Guide.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTriggerConfigurations() method.
public final AlarmConfiguration alarmConfiguration()
Information to add or change about Amazon CloudWatch alarms when the deployment group is updated.
public final AutoRollbackConfiguration autoRollbackConfiguration()
Information for an automatic rollback configuration that is added or changed when a deployment group is updated.
public final OutdatedInstancesStrategy outdatedInstancesStrategy()
Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed application revision.
If this option is set to UPDATE or is unspecified, CodeDeploy initiates one or more 'auto-update
outdated instances' deployments to apply the deployed application revision to the new Amazon EC2 instances.
If this option is set to IGNORE, CodeDeploy does not initiate a deployment to update the new Amazon
EC2 instances. This may result in instances having different revisions.
If the service returns an enum value that is not available in the current SDK version,
outdatedInstancesStrategy will return OutdatedInstancesStrategy.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from outdatedInstancesStrategyAsString().
If this option is set to UPDATE or is unspecified, CodeDeploy initiates one or more
'auto-update outdated instances' deployments to apply the deployed application revision to the new Amazon
EC2 instances.
If this option is set to IGNORE, CodeDeploy does not initiate a deployment to update the new
Amazon EC2 instances. This may result in instances having different revisions.
OutdatedInstancesStrategypublic final String outdatedInstancesStrategyAsString()
Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed application revision.
If this option is set to UPDATE or is unspecified, CodeDeploy initiates one or more 'auto-update
outdated instances' deployments to apply the deployed application revision to the new Amazon EC2 instances.
If this option is set to IGNORE, CodeDeploy does not initiate a deployment to update the new Amazon
EC2 instances. This may result in instances having different revisions.
If the service returns an enum value that is not available in the current SDK version,
outdatedInstancesStrategy will return OutdatedInstancesStrategy.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from outdatedInstancesStrategyAsString().
If this option is set to UPDATE or is unspecified, CodeDeploy initiates one or more
'auto-update outdated instances' deployments to apply the deployed application revision to the new Amazon
EC2 instances.
If this option is set to IGNORE, CodeDeploy does not initiate a deployment to update the new
Amazon EC2 instances. This may result in instances having different revisions.
OutdatedInstancesStrategypublic final 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 final BlueGreenDeploymentConfiguration blueGreenDeploymentConfiguration()
Information about blue/green deployment options for a deployment group.
public final LoadBalancerInfo loadBalancerInfo()
Information about the load balancer used in a deployment.
public final EC2TagSet ec2TagSet()
Information about groups of tags applied to on-premises instances. The deployment group includes only Amazon EC2 instances identified by all the tag groups.
public final boolean hasEcsServices()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<ECSService> ecsServices()
The target Amazon ECS services in the deployment group. This applies only to deployment groups that use the
Amazon ECS compute platform. A target Amazon ECS service is specified as an Amazon ECS cluster and service name
pair using the format <clustername>:<servicename>.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasEcsServices() method.
<clustername>:<servicename>.public final OnPremisesTagSet onPremisesTagSet()
Information about an on-premises instance tag set. The deployment group includes only on-premises instances identified by all the tag groups.
public UpdateDeploymentGroupRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateDeploymentGroupRequest.Builder,UpdateDeploymentGroupRequest>toBuilder in class CodeDeployRequestpublic static UpdateDeploymentGroupRequest.Builder builder()
public static Class<? extends UpdateDeploymentGroupRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.