Class CacheSecurityGroup

    • Constructor Detail

      • CacheSecurityGroup

        public CacheSecurityGroup()
    • Method Detail

      • setOwnerId

        public void setOwnerId​(String ownerId)

        The AWS account ID of the cache security group owner.

        Parameters:
        ownerId - The AWS account ID of the cache security group owner.
      • getOwnerId

        public String getOwnerId()

        The AWS account ID of the cache security group owner.

        Returns:
        The AWS account ID of the cache security group owner.
      • withOwnerId

        public CacheSecurityGroup withOwnerId​(String ownerId)

        The AWS account ID of the cache security group owner.

        Parameters:
        ownerId - The AWS account ID of the cache security group owner.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCacheSecurityGroupName

        public void setCacheSecurityGroupName​(String cacheSecurityGroupName)

        The name of the cache security group.

        Parameters:
        cacheSecurityGroupName - The name of the cache security group.
      • getCacheSecurityGroupName

        public String getCacheSecurityGroupName()

        The name of the cache security group.

        Returns:
        The name of the cache security group.
      • withCacheSecurityGroupName

        public CacheSecurityGroup withCacheSecurityGroupName​(String cacheSecurityGroupName)

        The name of the cache security group.

        Parameters:
        cacheSecurityGroupName - The name of the cache security group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDescription

        public void setDescription​(String description)

        The description of the cache security group.

        Parameters:
        description - The description of the cache security group.
      • getDescription

        public String getDescription()

        The description of the cache security group.

        Returns:
        The description of the cache security group.
      • withDescription

        public CacheSecurityGroup withDescription​(String description)

        The description of the cache security group.

        Parameters:
        description - The description of the cache security group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getEC2SecurityGroups

        public List<EC2SecurityGroup> getEC2SecurityGroups()

        A list of Amazon EC2 security groups that are associated with this cache security group.

        Returns:
        A list of Amazon EC2 security groups that are associated with this cache security group.
      • setEC2SecurityGroups

        public void setEC2SecurityGroups​(Collection<EC2SecurityGroup> eC2SecurityGroups)

        A list of Amazon EC2 security groups that are associated with this cache security group.

        Parameters:
        eC2SecurityGroups - A list of Amazon EC2 security groups that are associated with this cache security group.
      • withEC2SecurityGroups

        public CacheSecurityGroup withEC2SecurityGroups​(EC2SecurityGroup... eC2SecurityGroups)

        A list of Amazon EC2 security groups that are associated with this cache security group.

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

        Parameters:
        eC2SecurityGroups - A list of Amazon EC2 security groups that are associated with this cache security group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withEC2SecurityGroups

        public CacheSecurityGroup withEC2SecurityGroups​(Collection<EC2SecurityGroup> eC2SecurityGroups)

        A list of Amazon EC2 security groups that are associated with this cache security group.

        Parameters:
        eC2SecurityGroups - A list of Amazon EC2 security groups that are associated with this cache security group.
        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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object