Class UpdateDeploymentGroupRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.codedeploy.model.UpdateDeploymentGroupRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class UpdateDeploymentGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

Represents the input of an update deployment group operation.

See Also:
  • Constructor Details

    • UpdateDeploymentGroupRequest

      public UpdateDeploymentGroupRequest()
  • Method Details

    • setApplicationName

      public void setApplicationName(String applicationName)

      The application name corresponding to the deployment group to update.

      Parameters:
      applicationName - The application name corresponding to the deployment group to update.
    • getApplicationName

      public String getApplicationName()

      The application name corresponding to the deployment group to update.

      Returns:
      The application name corresponding to the deployment group to update.
    • withApplicationName

      public UpdateDeploymentGroupRequest withApplicationName(String applicationName)

      The application name corresponding to the deployment group to update.

      Parameters:
      applicationName - The application name corresponding to the deployment group to update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setCurrentDeploymentGroupName

      public void setCurrentDeploymentGroupName(String currentDeploymentGroupName)

      The current name of the deployment group.

      Parameters:
      currentDeploymentGroupName - The current name of the deployment group.
    • getCurrentDeploymentGroupName

      public String getCurrentDeploymentGroupName()

      The current name of the deployment group.

      Returns:
      The current name of the deployment group.
    • withCurrentDeploymentGroupName

      public UpdateDeploymentGroupRequest withCurrentDeploymentGroupName(String currentDeploymentGroupName)

      The current name of the deployment group.

      Parameters:
      currentDeploymentGroupName - The current name of the deployment group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setNewDeploymentGroupName

      public void setNewDeploymentGroupName(String newDeploymentGroupName)

      The new name of the deployment group, if you want to change it.

      Parameters:
      newDeploymentGroupName - The new name of the deployment group, if you want to change it.
    • getNewDeploymentGroupName

      public String getNewDeploymentGroupName()

      The new name of the deployment group, if you want to change it.

      Returns:
      The new name of the deployment group, if you want to change it.
    • withNewDeploymentGroupName

      public UpdateDeploymentGroupRequest withNewDeploymentGroupName(String newDeploymentGroupName)

      The new name of the deployment group, if you want to change it.

      Parameters:
      newDeploymentGroupName - The new name of the deployment group, if you want to change it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setDeploymentConfigName

      public void setDeploymentConfigName(String deploymentConfigName)

      The replacement deployment configuration name to use, if you want to change it.

      Parameters:
      deploymentConfigName - The replacement deployment configuration name to use, if you want to change it.
    • getDeploymentConfigName

      public String getDeploymentConfigName()

      The replacement deployment configuration name to use, if you want to change it.

      Returns:
      The replacement deployment configuration name to use, if you want to change it.
    • withDeploymentConfigName

      public UpdateDeploymentGroupRequest withDeploymentConfigName(String deploymentConfigName)

      The replacement deployment configuration name to use, if you want to change it.

      Parameters:
      deploymentConfigName - The replacement deployment configuration name to use, if you want to change it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getEc2TagFilters

      public List<EC2TagFilter> getEc2TagFilters()

      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.

      Returns:
      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.
    • setEc2TagFilters

      public void setEc2TagFilters(Collection<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.

      Parameters:
      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.
    • withEc2TagFilters

      public UpdateDeploymentGroupRequest withEc2TagFilters(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.

      NOTE: This method appends the values to the existing list (if any). Use setEc2TagFilters(java.util.Collection) or withEc2TagFilters(java.util.Collection) if you want to override the existing values.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withEc2TagFilters

      public UpdateDeploymentGroupRequest withEc2TagFilters(Collection<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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getOnPremisesInstanceTagFilters

      public List<TagFilter> getOnPremisesInstanceTagFilters()

      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.

      Returns:
      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.
    • setOnPremisesInstanceTagFilters

      public void setOnPremisesInstanceTagFilters(Collection<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.

      Parameters:
      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.
    • withOnPremisesInstanceTagFilters

      public UpdateDeploymentGroupRequest withOnPremisesInstanceTagFilters(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.

      NOTE: This method appends the values to the existing list (if any). Use setOnPremisesInstanceTagFilters(java.util.Collection) or withOnPremisesInstanceTagFilters(java.util.Collection) if you want to override the existing values.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withOnPremisesInstanceTagFilters

      public UpdateDeploymentGroupRequest withOnPremisesInstanceTagFilters(Collection<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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getAutoScalingGroups

      public List<String> getAutoScalingGroups()

      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.

      Returns:
      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.
    • setAutoScalingGroups

      public void setAutoScalingGroups(Collection<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.

      Parameters:
      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.
    • withAutoScalingGroups

      public UpdateDeploymentGroupRequest withAutoScalingGroups(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.

      NOTE: This method appends the values to the existing list (if any). Use setAutoScalingGroups(java.util.Collection) or withAutoScalingGroups(java.util.Collection) if you want to override the existing values.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withAutoScalingGroups

      public UpdateDeploymentGroupRequest withAutoScalingGroups(Collection<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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setServiceRoleArn

      public void setServiceRoleArn(String serviceRoleArn)

      A replacement ARN for the service role, if you want to change it.

      Parameters:
      serviceRoleArn - A replacement ARN for the service role, if you want to change it.
    • getServiceRoleArn

      public String getServiceRoleArn()

      A replacement ARN for the service role, if you want to change it.

      Returns:
      A replacement ARN for the service role, if you want to change it.
    • withServiceRoleArn

      public UpdateDeploymentGroupRequest withServiceRoleArn(String serviceRoleArn)

      A replacement ARN for the service role, if you want to change it.

      Parameters:
      serviceRoleArn - A replacement ARN for the service role, if you want to change it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getTriggerConfigurations

      public List<TriggerConfig> getTriggerConfigurations()

      Information about triggers to change when the deployment group is updated.

      Returns:
      Information about triggers to change when the deployment group is updated.
    • setTriggerConfigurations

      public void setTriggerConfigurations(Collection<TriggerConfig> triggerConfigurations)

      Information about triggers to change when the deployment group is updated.

      Parameters:
      triggerConfigurations - Information about triggers to change when the deployment group is updated.
    • withTriggerConfigurations

      public UpdateDeploymentGroupRequest withTriggerConfigurations(TriggerConfig... triggerConfigurations)

      Information about triggers to change when the deployment group is updated.

      NOTE: This method appends the values to the existing list (if any). Use setTriggerConfigurations(java.util.Collection) or withTriggerConfigurations(java.util.Collection) if you want to override the existing values.

      Parameters:
      triggerConfigurations - Information about triggers to change when the deployment group is updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withTriggerConfigurations

      public UpdateDeploymentGroupRequest withTriggerConfigurations(Collection<TriggerConfig> triggerConfigurations)

      Information about triggers to change when the deployment group is updated.

      Parameters:
      triggerConfigurations - Information about triggers to change when the deployment group is updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: