public function addConfiguration(NodeDefinition $builder)
    {
        $builder
            ->children()
                ->scalarNode('key')->isRequired()->cannotBeEmpty()->end()
                ->scalarNode('secret_key')->isRequired()->cannotBeEmpty()->end()
                ->scalarNode('bucket_name')->isRequired()->cannotBeEmpty()->end()
            ->end()
        ;
    }
public function addConfiguration(NodeDefinition $builder)
    {
        $builder
            ->children()
                ->scalarNode('key')->isRequired()->cannotBeEmpty()->end()
                ->scalarNode('secret_key')->isRequired()->cannotBeEmpty()->end()
                ->scalarNode('bucket_name')->isRequired()->cannotBeEmpty()->end()
            ->end()
        ;
    }
public function addConfiguration ( NodeDefinition $ builder ) { $ builder -> children ( ) -> scalarNode ( 'key' ) -> isRequired ( ) -> cannotBeEmpty ( ) -> end ( ) -> scalarNode ( 'secret_key' ) -> isRequired ( ) -> cannotBeEmpty ( ) -> end ( ) -> scalarNode ( 'bucket_name' ) -> isRequired ( ) -> cannotBeEmpty ( ) -> end ( ) -> end ( ) ; }
Adds configuration nodes for the factory

@param  NodeBuilder $builder
Adds configuration nodes for the factory