Interface CacheSecurityGroup.Builder

    • Method Detail

      • ownerId

        CacheSecurityGroup.Builder ownerId​(String ownerId)

        The Amazon account ID of the cache security group owner.

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

        CacheSecurityGroup.Builder cacheSecurityGroupName​(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.
      • description

        CacheSecurityGroup.Builder description​(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.
      • ec2SecurityGroups

        CacheSecurityGroup.Builder ec2SecurityGroups​(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.
      • ec2SecurityGroups

        CacheSecurityGroup.Builder ec2SecurityGroups​(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.
      • arn

        CacheSecurityGroup.Builder arn​(String arn)

        The ARN of the cache security group,

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