Class UpdateDeploymentGroupRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Represents the input of an update deployment group operation.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The application name corresponding to the deployment group to update.The replacement list of Auto Scaling groups to be included in the deployment group, if you want to change them.The current name of the deployment group.The replacement deployment configuration name to use, if you want to change it.The replacement set of Amazon EC2 tags on which to filter, if you want to change them.The new name of the deployment group, if you want to change it.The replacement set of on-premises instance tags on which to filter, if you want to change them.A replacement ARN for the service role, if you want to change it.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.toString()
Returns a string representation of this object; useful for testing and debugging.withApplicationName
(String applicationName) The application name corresponding to the deployment group to update.withAutoScalingGroups
(String... autoScalingGroups) The replacement list of Auto Scaling groups to be included in the deployment group, if you want to change them.withAutoScalingGroups
(Collection<String> autoScalingGroups) The replacement list of Auto Scaling groups to be included in the deployment group, if you want to change them.withCurrentDeploymentGroupName
(String currentDeploymentGroupName) The current name of the deployment group.withDeploymentConfigName
(String deploymentConfigName) The replacement deployment configuration name to use, if you want to change it.withEc2TagFilters
(EC2TagFilter... ec2TagFilters) The replacement set of Amazon EC2 tags on which to filter, if you want to change them.withEc2TagFilters
(Collection<EC2TagFilter> ec2TagFilters) The replacement set of Amazon EC2 tags on which to filter, if you want to change them.withNewDeploymentGroupName
(String newDeploymentGroupName) The new name of the deployment group, if you want to change it.withOnPremisesInstanceTagFilters
(TagFilter... onPremisesInstanceTagFilters) The replacement set of on-premises instance tags on which to filter, if you want to change them.withOnPremisesInstanceTagFilters
(Collection<TagFilter> onPremisesInstanceTagFilters) The replacement set of on-premises instance tags on which to filter, if you want to change them.withServiceRoleArn
(String serviceRoleArn) A replacement ARN for the service role, if you want to change it.withTriggerConfigurations
(TriggerConfig... triggerConfigurations) Information about triggers to change when the deployment group is updated.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
-
Constructor Details
-
UpdateDeploymentGroupRequest
public UpdateDeploymentGroupRequest()
-
-
Method Details
-
setApplicationName
The application name corresponding to the deployment group to update.
- Parameters:
applicationName
- The application name corresponding to the deployment group to update.
-
getApplicationName
The application name corresponding to the deployment group to update.
- Returns:
- The application name corresponding to the deployment group to update.
-
withApplicationName
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
The current name of the deployment group.
- Parameters:
currentDeploymentGroupName
- The current name of the deployment group.
-
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Information about triggers to change when the deployment group is updated.
- Returns:
- Information about triggers to change when the deployment group is updated.
-
setTriggerConfigurations
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
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:
-