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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description UpdateDeploymentGroupRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateDeploymentGroupRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getApplicationName()
The application name corresponding to the deployment group to update.List<String>
getAutoScalingGroups()
The replacement list of Auto Scaling groups to be included in the deployment group, if you want to change them.String
getCurrentDeploymentGroupName()
The current name of the deployment group.String
getDeploymentConfigName()
The replacement deployment configuration name to use, if you want to change it.List<EC2TagFilter>
getEc2TagFilters()
The replacement set of Amazon EC2 tags on which to filter, if you want to change them.String
getNewDeploymentGroupName()
The new name of the deployment group, if you want to change it.List<TagFilter>
getOnPremisesInstanceTagFilters()
The replacement set of on-premises instance tags on which to filter, if you want to change them.String
getServiceRoleArn()
A replacement ARN for the service role, if you want to change it.List<TriggerConfig>
getTriggerConfigurations()
Information about triggers to change when the deployment group is updated.int
hashCode()
void
setApplicationName(String applicationName)
The application name corresponding to the deployment group to update.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.void
setCurrentDeploymentGroupName(String currentDeploymentGroupName)
The current name of the deployment group.void
setDeploymentConfigName(String deploymentConfigName)
The replacement deployment configuration name to use, if you want to change it.void
setEc2TagFilters(Collection<EC2TagFilter> ec2TagFilters)
The replacement set of Amazon EC2 tags on which to filter, if you want to change them.void
setNewDeploymentGroupName(String newDeploymentGroupName)
The new name of the deployment group, if you want to change it.void
setOnPremisesInstanceTagFilters(Collection<TagFilter> onPremisesInstanceTagFilters)
The replacement set of on-premises instance tags on which to filter, if you want to change them.void
setServiceRoleArn(String serviceRoleArn)
A replacement ARN for the service role, if you want to change it.void
setTriggerConfigurations(Collection<TriggerConfig> triggerConfigurations)
Information about triggers to change when the deployment group is updated.String
toString()
Returns a string representation of this object; useful for testing and debugging.UpdateDeploymentGroupRequest
withApplicationName(String applicationName)
The application name corresponding to the deployment group to update.UpdateDeploymentGroupRequest
withAutoScalingGroups(String... autoScalingGroups)
The replacement list of Auto Scaling groups to be included in the deployment group, if you want to change them.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.UpdateDeploymentGroupRequest
withCurrentDeploymentGroupName(String currentDeploymentGroupName)
The current name of the deployment group.UpdateDeploymentGroupRequest
withDeploymentConfigName(String deploymentConfigName)
The replacement deployment configuration name to use, if you want to change it.UpdateDeploymentGroupRequest
withEc2TagFilters(EC2TagFilter... ec2TagFilters)
The replacement set of Amazon EC2 tags on which to filter, if you want to change them.UpdateDeploymentGroupRequest
withEc2TagFilters(Collection<EC2TagFilter> ec2TagFilters)
The replacement set of Amazon EC2 tags on which to filter, if you want to change them.UpdateDeploymentGroupRequest
withNewDeploymentGroupName(String newDeploymentGroupName)
The new name of the deployment group, if you want to change it.UpdateDeploymentGroupRequest
withOnPremisesInstanceTagFilters(TagFilter... onPremisesInstanceTagFilters)
The replacement set of on-premises instance tags on which to filter, if you want to change them.UpdateDeploymentGroupRequest
withOnPremisesInstanceTagFilters(Collection<TagFilter> onPremisesInstanceTagFilters)
The replacement set of on-premises instance tags on which to filter, if you want to change them.UpdateDeploymentGroupRequest
withServiceRoleArn(String serviceRoleArn)
A replacement ARN for the service role, if you want to change it.UpdateDeploymentGroupRequest
withTriggerConfigurations(TriggerConfig... triggerConfigurations)
Information about triggers to change when the deployment group is updated.UpdateDeploymentGroupRequest
withTriggerConfigurations(Collection<TriggerConfig> triggerConfigurations)
Information about triggers to change when the deployment group is updated.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
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)
orwithEc2TagFilters(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)
orwithOnPremisesInstanceTagFilters(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)
orwithAutoScalingGroups(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)
orwithTriggerConfigurations(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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UpdateDeploymentGroupRequest 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 classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-