JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.codedeploy.model

Class TargetInstances

    • Constructor Detail

      • TargetInstances

        public TargetInstances()
    • Method Detail

      • getTagFilters

        public List<EC2TagFilter> getTagFilters()

        The tag filter key, type, and value used to identify Amazon EC2 instances in a replacement environment for a blue/green deployment. Cannot be used in the same call as ec2TagSet.

        Returns:
        The tag filter key, type, and value used to identify Amazon EC2 instances in a replacement environment for a blue/green deployment. Cannot be used in the same call as ec2TagSet.
      • setTagFilters

        public void setTagFilters(Collection<EC2TagFilter> tagFilters)

        The tag filter key, type, and value used to identify Amazon EC2 instances in a replacement environment for a blue/green deployment. Cannot be used in the same call as ec2TagSet.

        Parameters:
        tagFilters - The tag filter key, type, and value used to identify Amazon EC2 instances in a replacement environment for a blue/green deployment. Cannot be used in the same call as ec2TagSet.
      • withTagFilters

        public TargetInstances withTagFilters(EC2TagFilter... tagFilters)

        The tag filter key, type, and value used to identify Amazon EC2 instances in a replacement environment for a blue/green deployment. Cannot be used in the same call as ec2TagSet.

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

        Parameters:
        tagFilters - The tag filter key, type, and value used to identify Amazon EC2 instances in a replacement environment for a blue/green deployment. Cannot be used in the same call as ec2TagSet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withTagFilters

        public TargetInstances withTagFilters(Collection<EC2TagFilter> tagFilters)

        The tag filter key, type, and value used to identify Amazon EC2 instances in a replacement environment for a blue/green deployment. Cannot be used in the same call as ec2TagSet.

        Parameters:
        tagFilters - The tag filter key, type, and value used to identify Amazon EC2 instances in a replacement environment for a blue/green deployment. Cannot be used in the same call as ec2TagSet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getAutoScalingGroups

        public List<String> getAutoScalingGroups()

        The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.

        Returns:
        The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.
      • setAutoScalingGroups

        public void setAutoScalingGroups(Collection<String> autoScalingGroups)

        The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.

        Parameters:
        autoScalingGroups - The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.
      • withAutoScalingGroups

        public TargetInstances withAutoScalingGroups(String... autoScalingGroups)

        The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.

        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 names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withAutoScalingGroups

        public TargetInstances withAutoScalingGroups(Collection<String> autoScalingGroups)

        The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.

        Parameters:
        autoScalingGroups - The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEc2TagSet

        public void setEc2TagSet(EC2TagSet ec2TagSet)

        Information about the groups of Amazon EC2 instance tags that an instance must be identified by in order for it to be included in the replacement environment for a blue/green deployment. Cannot be used in the same call as tagFilters.

        Parameters:
        ec2TagSet - Information about the groups of Amazon EC2 instance tags that an instance must be identified by in order for it to be included in the replacement environment for a blue/green deployment. Cannot be used in the same call as tagFilters.
      • getEc2TagSet

        public EC2TagSet getEc2TagSet()

        Information about the groups of Amazon EC2 instance tags that an instance must be identified by in order for it to be included in the replacement environment for a blue/green deployment. Cannot be used in the same call as tagFilters.

        Returns:
        Information about the groups of Amazon EC2 instance tags that an instance must be identified by in order for it to be included in the replacement environment for a blue/green deployment. Cannot be used in the same call as tagFilters.
      • withEc2TagSet

        public TargetInstances withEc2TagSet(EC2TagSet ec2TagSet)

        Information about the groups of Amazon EC2 instance tags that an instance must be identified by in order for it to be included in the replacement environment for a blue/green deployment. Cannot be used in the same call as tagFilters.

        Parameters:
        ec2TagSet - Information about the groups of Amazon EC2 instance tags that an instance must be identified by in order for it to be included in the replacement environment for a blue/green deployment. Cannot be used in the same call as tagFilters.
        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. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /